1.0.4 • Published 5 years ago

@mrvicadai/babel-preset-prettify-bucklescript v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

bs-prettify

Why?

This tool is built so the javascript output from Bucklescript could be more human-readable.

Ugly syntax such as:

var task = /* record */ [/* data */ data, /* callback */ callback];

will be converted to:

let task = {
  data: data,
  callback: callback
};

Checklist

  • Convert record creation code to object.
  • Remove /* () */0 filler
  • Convert record access code to object access code.
  • Convert Curry related code into uncurried code.
  • Remove dll.length = (dll.length - 1) | 0; cast
  • Remove String() constructor.
  • Convert Belt.Option related code to plain undefined.
  • Create Option.map API in utils.
1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago