@rescript/tools

0.6.6 • Public • Published

ReScript Tools

Install

npm install --save-dev @rescript/tools

CLI Usage

rescript-tools --help

Generate documentation

Print JSON:

rescript-tools doc src/EntryPointLibFile.res

Write JSON:

rescript-tools doc src/EntryPointLibFile.res > doc.json

Reanalyze

rescript-tools reanalyze --help

Decode JSON

Add to bs-dev-dependencies:

"bs-dev-dependencies": ["@rescript/tools"]
// Read JSON file and parse with `Js.Json.parseExn`
json->RescriptTools.Docgen.decodeFromJson

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.6.675latest

Version History

VersionDownloads (Last 7 Days)Published
0.6.675
0.6.50
0.6.467
0.6.30
0.6.20
0.6.10
0.6.02
0.5.08
0.4.00
0.3.00
0.1.34
0.1.21
0.1.118

Package Sidebar

Install

npm i @rescript/tools

Weekly Downloads

175

Version

0.6.6

License

MIT

Unpacked Size

41 MB

Total Files

14

Last publish

Collaborators

  • _zth
  • cristianoc
  • cknittel
  • ryyppy
  • chenglou
  • hongbo_zhang