Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

reasonml-community/bs-transit-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transit-js Bucklescript bindings

BuckleScript/Reason are now called ReScript. Please create a new rescript-transit-js binding instead.

Make client-server communication great again.

This repo provides rudimentary bindings to transit-js with Bucklescript, prototyped in under 15min. thanks to Bucklescript compiling at the speed of light.

Json is nice, but I want to send records and variants (among other things) straight over the wire. Feels like a shame to lose all that information & type everything as js objects. Since transit provides a way to encode/decode custom data, it seemed like a good fit for encoding ml types. If this thing works out, I'll look into automating everything with ppx.

Head over to src/example.re to get up & running ASAP.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages