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

@portolab/rescript-toolkit

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@portolab/rescript-toolkit

About // Goals // What's inside // Installation //

  • 0.0.9
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
6
Maintainers
2
Weekly downloads
 
Created
Source



About // Goals // What's inside // Installation // Portolab

About :bulb:

This package is a toolkit that contains bindings and utility modules for ReScript and React.

Goals 🎯

  • Aliases to the most common JS modules: Js.Array2 exposed as Array, Js.String2 exposed as String, Js.Console exposed as Console and more.
  • Focus on DX, if you do open ReScriptToolkit you should feel at home 🖤.
  • Simple bindings to libraries like emotion, react-use, etc.

What's inside :package:

Bindings
Modules
  • Media: A module to deal with media queries.
  • Render: A module helper to improve the code readability when converting values to JSX..
Aliases
  • Js.NullableNullable
  • Js.DateDate
  • Js.Array2Array
  • Js.String2String
  • Js.IntInt
  • Js.FloatFloat
  • Js.ObjObject
  • Js.ReRegex
  • Js.ConsoleConsole
  • Js.JsonJson

Installation :zap:

Install the package using yarn/npm:

  • Yarn
yarn add @portolab/rescript-toolkit
  • npm
npm i @portolab/rescript-toolkit

Then, add it to bs-dependenciesin your bsconfig.json:

{
  "bs-dependencies": [
    // ....
    "@portolab/rescript-toolkit" 
  ]
}

License

MIT

FAQs

Package last updated on 25 Feb 2022

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