This package has been deprecated

Author message:

reason-js is deprecated and now lives at https://www.npmjs.com/package/bs-webapi. Though it's likely that the features you're looking for now reside in http://bloomberg.github.io/bucklescript/api/

reason-js

0.3.0 • Public • Published

Reason bindings to JavaScript, through BuckleScript Build Status

What Does This Even Mean?

Reason is a syntax on top of OCaml, a great language. BuckleScript compiles OCaml to clean JavaScript. This library provides common JavaScript functions, e.g. console and setInterval, through Reason (all type checked!); See the usage below!

npm install reason-js

Usage

/* Looks almost identical to JavaScript, but fully typed! */
let myInterval = ReasonJs.setInterval (fun () => Js.log "hello!") 1000;

Readme

Keywords

none

Package Sidebar

Install

npm i reason-js

Weekly Downloads

0

Version

0.3.0

License

MIT

Last publish

Collaborators

  • chenglou