An open API service indexing awesome lists of open source software.

https://github.com/fpapado/elmlike

Functional utilities for types and data, inspired by Elm.
https://github.com/fpapado/elmlike

Last synced: about 1 month ago
JSON representation

Functional utilities for types and data, inspired by Elm.

Awesome Lists containing this project

README

          

# Elmlike

> Functional utilities for types and data, inspired by Elm.

[![npm](https://badgen.net/npm/v/elmlike)](https://www.npmjs.com/package/elmlike)
[![minified + gzip size](https://badgen.net/bundlephobia/minzip/elmlike)](https://bundlephobia.com/result?p=elmlike)
[![npm downloads](https://badgen.net/npm/dm/elmlike)](https://www.npmjs.com/package/elmlike)
[![dependencies](https://badgen.net/david/dep/fpapado/elmlike)](https://david-dm.org/fpapado/elmlike)

## Table of Contents

- [Features](#features)
- [Install](#install)
- [Motivation](#motivation)
- [Usage](#usage)
- [Examples](#examples)
- [API Reference](#api-reference)
- [Roadmap](#roadmap)
- [Contributing](#contributing)
- [Thanks](#thanks-and-inspiration)
- [License](#license)

## Features

## Install

This package is distributed via [npm](https://www.npmjs.com/get-npm).

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

Then import according to your modules model and bundler, such as [Rollup](https://rollupjs.org/guide/en) and [Webpack](https://webpack.js.org/):

```js
// 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](https://github.com/umdjs/umd) version is also available on [unpkg](https://unpkg.com/):

```html

```

## 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:

```js
// TODO :)
```

## Examples

TODO: Write about common patterns, imports and so on

## API Reference

## Roadmap

## Contributing

## Thanks and Inspiration

## License

MIT License © Fotis Papadogeorgopoulos