@zineapp/rescript-toolkit

1.2.6 • Public • Published

About 💡

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 📦

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

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.62latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.62
1.2.50
1.2.40
1.2.30
1.2.20
1.2.10
1.2.01
1.1.10
1.1.00
1.0.00

Package Sidebar

Install

npm i @zineapp/rescript-toolkit

Weekly Downloads

1

Version

1.2.6

License

MIT

Unpacked Size

18.9 kB

Total Files

21

Last publish

Collaborators

  • vmarcosp