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

immutable-collections

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

immutable-collections

Persistent collections for Javascript

  • 0.0.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

immutable-collections

Persistent collections for Javascript

immutable-collections is a library which provides immutable, persistent data structures for Javascript. Why is this important? Immutable data structures are the bread and butter of functional programming. Consider this quote from "Programming in Scala" (adapted for Javascript):

Prefer [const], immutable objects, and [functions] without side effects. Reach for them first. Use [var], mutable objects, and [functions] with side effects when you have a specific need and justification for them.

Immutable values make it easier to develop correct software. They do away with race conditions and overreach. They make it possible to create functions without side effects. Functional programming is the future of Javascript. As web applications get larger and larger, the difficulty of scaling mutability is becoming more apparent and we need sharper tools for building big things. immutable-collections is one more tool for your functional toolbox.

Keywords

FAQs

Package last updated on 15 Oct 2013

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