@reside-ic/dust2
v1.0.0
Published
JavaScript* for [dust2](https://github.com/mrc-ide/dust2)
Keywords
Readme
dust2-js
JavaScript* for dust2
*TypeScript
Testing
Run tests: npm run test.
Run tests with coverage: npm run coverage
Formatting
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.
Lint
Code linting is done separately from format checks, with npm run lint.
Lint config is in eslint.config.js.
Build
Build for distribution with npm run build.
Documentation
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.
