Auto-generate REST API documentation from test coverage, clients (Axios, Supertest), or Express middleware. Version 2.7.0, actively maintained, supports Node >=10. Differentiators: works with existing test suites (Mocha, Ava), multiple output formats (Swagger, ApiBlueprint, RAML), and minimal configuration. No automatic inference, requires manual recording via clients.
npm install rest-chronicleNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: create an Axios client that records all HTTP requests, then save the documentation to a JSON file.
Use the default import and avoid creating new Chronicle instances.
Migrate to default import chronicle and use clients (Axios, Supertest) instead of Chronicle constructor.
Update imports to use ESM syntax as shown in the quickstart.
Run `npm install --save rest-chronicle` and ensure Node >=10.
Use `import chronicle from 'rest-chronicle'` (ESM only).
Install axios with `npm install axios` and import `{ Axios }` from the package.