Immutable JS data structures which are backwards-compatible with normal Arrays and Objects. Use them in for loops, pass them to functions expecting vanilla JavaScript data structures, etc. Whenever you deeply clone large nested objects, it should typically go much faster with Immutable data structures. This is because the library reuses the existing nested objects rather than instantiating new ones. In the development build, objects are frozen. The development build also overrides unsupported methods (methods that ordinarily mutate the underlying data structure) to throw helpful exceptions. We generally recommend to use the "development" build that enforces immutability (and this is the default in Node.js). Only switch to the production build when you encounter performance problems. By popular demand, functions, errors, dates, and React components are treated as immutable even though technically they can be mutated.

Features

  • Immutable returns a backwards-compatible immutable representation of whatever you pass it
  • Seamless-immutable supports both static and instance syntaxes
  • Multiple keys can be provided, either in an Array or as extra arguments
  • Immutable data structures for JavaScript which are backwards-compatible with normal JS Arrays and Objects
  • Use them in for loops, pass them to functions expecting vanilla JavaScript data structures, etc.
  • Whenever you deeply clone large nested objects, it should typically go much faster with Immutable data structures

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

BSD License

Follow seamless-immutable

seamless-immutable Web Site

Other Useful Business Software
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of seamless-immutable!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2021-10-08