packages/foam-core/README.md
Platform-agnostic core library for Foam. Contains the business logic, data models, and services that power Foam, with no dependency on VS Code or any specific runtime environment.
FoamWorkspace and FoamGraph manage resources and their connectionsMarkdownResourceProvider and AttachmentResourceProvider for pluggable file type supportimport { bootstrap, FoamWorkspace, FoamGraph } from '@foam/core';
This package is consumed by foam-vscode and is designed to be reusable in other environments (CLI, web, mobile).
From the repo root:
yarn workspace @foam/core test:unit # run unit tests
yarn workspace @foam/core build # compile TypeScript
yarn workspace @foam/core lint # lint