Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rescript/tools

Package Overview
Dependencies
Maintainers
6
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rescript/tools

ReScript Tools

  • 0.6.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
231
decreased by-49.89%
Maintainers
6
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 24 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc