JavaScript* for dust2
*TypeScript
Run tests: npm run test.
Run tests with coverage: npm run coverage
Run formatting check without making changes: npm run format-check.
Run formatting with automatic corrections applied: npm run format-write.
Formatting uses prettier, and is configured in the prettier section of package.json.
Code linting is done separately from format checks, with npm run lint.
Lint config is in eslint.config.js.
Build for distribution with npm run build.
Docs are built with Typedoc with the copy-doc plugin. Pushes to the main branch update a Github Pages site at https://reside-ic.github.io/dust2-js with the latest docs. New code which is exported should be documented with TSDoc comments.