DocsAPIPlaygroundBlogCommunity
  • Playground
  • Blog
  • Twitter
  • Github
  • Forum
Language Manual
Overview
  • Introduction
  • Installation
  • Editor Plugins
  • Migrate to ReScript Syntax
  • Try
Language Features
  • Overview
  • Let Binding
  • Type
  • Primitive Types
  • Tuple
  • Record
  • Object
  • Variant
  • Polymorphic Variant
  • Null, Undefined and Option
  • Array & List
  • Function
  • Control Flow
  • Pipe
  • Pattern Matching / Destructuring
  • Mutation
  • JSX
  • Exception
  • Lazy Value
  • Async & Promise
  • Module
  • Import & Export
  • Attribute (Decorator)
  • Unboxed
  • Reserved Keyword
JavaScript Interop
  • Embed Raw JavaScript
  • Shared Data Types
  • External (Bind to Any JS Library)
  • Bind to JS Object
  • Bind to JS Function
  • Import from / Export to JS
  • Bind to Global JS Values
  • JSON
  • Inlining Constants
  • Use Illegal Identifier Names
  • Generate Converters & Helpers
  • Browser Support & Polyfills
  • Interop Cheatsheet
Build System
  • Overview
  • Configuration
  • Configuration Schema
  • Interop with JS Build Systems
  • Performance
Guides
  • Converting from JS
  • Libraries
Extra
  • Newcomer Examples
  • Project Structure
  • FAQ
Docs / Language Manual / Libraries
Edit

Libraries

ReScript libraries are just like JavaScript libraries: hosted on NPM.

If you can't find what you're looking for: sometimes you don't need a wrapper to use a JS library:

  • Most JS data types, such as array and objects, map over cleanly to ReScript and vice-versa.

  • You also have access to the familiar JS API.

  • You can use a JavaScript library without needing to bind to them first. Check the external page.

© 2020 The ReScript Project

Software distribution powered by KeyCDN.

Legal
  • Team
  • Reason Association
Find us on