@rescript/tools
v0.6.6
Published
ReScript Tools
Readme
ReScript Tools
Install
npm install --save-dev @rescript/toolsCLI Usage
rescript-tools --helpGenerate documentation
Print JSON:
rescript-tools doc src/EntryPointLibFile.resWrite JSON:
rescript-tools doc src/EntryPointLibFile.res > doc.jsonReanalyze
rescript-tools reanalyze --helpDecode JSON
Add to bs-dev-dependencies:
"bs-dev-dependencies": ["@rescript/tools"]// Read JSON file and parse with `Js.Json.parseExn`
json->RescriptTools.Docgen.decodeFromJson