@swerr/converter
v1.1.0
Published
Bundle of converters to transform Swerr source files into different documentation formats.
Downloads
47
Maintainers
Readme
Swerr Converter
This library contains multiple useful converters to transform error definitions into various formats such as Markdown, HTML, and more. Swerr is designed to be easily extendable, allowing developers to add custom converters as needed.
Installation
To install Swerr Converter, use npm:
npm install @swerr/converterUsage
First, ensure the Swerr cli is installed and you have a swerr.config.js file in your project root. You can create one manually or run:
npm install -g @swerr/cli
swerr initOnce you have your configuration file set up, you can run the swerr configuration with:
swerr runThis command will generate the error documentation based on your JSDoc comments and the settings in your swerr.config.js file.
Documentation
https://swerr.apidocumentation.com
