Functional utilities for types and data, inspired by Elm.
Table of Contents
This package is distributed via npm.
$ npm install --save elmlike# or$ yarn add elmlike
// ES Modules// For all possible functions to import look at the documentation;/// CommonJS modulesconst Maybe = ;
I love Elm's types and their API. I like that they are concrete, and easy to grasp, with a minimal API surface. I often write similar ad-hoc types when working in JS, and wanted a common point for them.
If you want to just dive in, do this:
// TODO :)
TODO: Write about common patterns, imports and so on
Thanks and Inspiration
MIT License © Fotis Papadogeorgopoulos