Installation
Requirements
Roadmarks needs Node.js 18.3 or later.
Install for one project
To keep the version fixed for everyone who works on the project, add Roadmarks as a development dependency:
npm install --save-dev roadmarks
Then add a script to package.json:
{
"scripts": {
"docs": "roadmarks"
}
}
Run it with npm run docs.
Install globally
To use the roadmarks command in any folder, install it globally:
npm install --global roadmarks
Run without installing
To try Roadmarks once, run it with npx:
npx roadmarks