Socket
Book a DemoInstallSign in
Socket

elmlike

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elmlike

Functional utilities for types and data, inspired by Elm.

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Elmlike

Functional utilities for types and data, inspired by Elm.

npm minified + gzip size npm downloads dependencies

Table of Contents

Features

Install

This package is distributed via npm.

$ npm install --save elmlike
# or
$ yarn add elmlike

Then import according to your modules model and bundler, such as Rollup and Webpack:

// ES Modules
// For all possible functions to import look at the documentation
import * as Maybe from "elmlike/maybe";

/// CommonJS modules
const Maybe = require("elmlike/maybe");

A UMD version is also available on unpkg:

<script src="https://unpkg.com/elmlike/dist/elmlike.umd.js"></script>

Motivation

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.

Usage

Quick Start

If you want to just dive in, do this:

// TODO :)

Examples

TODO: Write about common patterns, imports and so on

API Reference

Roadmap

Contributing

Thanks and Inspiration

License

MIT License © Fotis Papadogeorgopoulos

Keywords

elm

FAQs

Package last updated on 30 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.