Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

imm

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imm

Immutable collections built on top of immutable.js

  • 0.6.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
25
increased by525%
Maintainers
1
Weekly downloads
 
Created
Source

IMM.js

Codeship Status for sporto/imm

Immutable data collections built on top of seamless-immutable

Seemless-immutable.js is great, but it doesn't have an API that feels right for CRUD applications. Imm wraps it to provide a convenient API. For example:

collection.add(record);
collection.get(id);
collection.update(record);
...

Install

Using NPM

npm install imm

Browser global

Download dist/imm.js or dist/imm.min.js

This library requires seamless-immutable to be loaded.

API

Things to note

  • Methods that return collections (e.g. filter) return an instance of Imm
  • Methods that return one record (e.g. get, find), return a plain JS object

Development

To generate documentation verb needs to be installed:

npm i -g verb-cli

Testing

npm install
npm test

Build

This will lint, test, minify and create documentation

gulp

FAQs

Package last updated on 03 May 2015

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc