@jimmyhmiller/zaphod

0.2.1 • Public • Published

Zaphod

Travis Coveralls npm Gitter API Docs

Clojure's immutable data API for JavaScript's own data structures, using the function bind operator.

import { inc, update } from 'zaphod';

const state = { count: 0 };

state::update('count', inc)
// => { count: 1 }

However, you don't need to know Clojure to make the most of Zaphod. This library is just a set of JavaScript functions that make working with immutable data more fun!

Find the docs, cheatsheet and rationale at the website.

npm install --save zaphod
# or
https://unpkg.com/zaphod@0.2.0

Check out the getting started guide for an in-depth explanation on configuring Babel to work with the function-bind operator.

Dependencies (0)

    Dev Dependencies (20)

    Package Sidebar

    Install

    npm i @jimmyhmiller/zaphod

    Weekly Downloads

    0

    Version

    0.2.1

    License

    MIT

    Last publish

    Collaborators

    • jimmyhmiller