Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

High-performance immutable data structures for modern JavaScript and TypeScript applications. Functional interfaces, deep/composite operations API, mixed mutability API, TypeScript definitions, ES2015 module exports.

License

NotificationsYou must be signed in to change notification settings

frptools/collectable

Repository files navigation

Collectable.js: Immutable Data Structures

An all-you-can-eat buffet of high-performance,persistent,immutable,functional data structures. Collect them all!

Build StatusNPM versionGitter

Note: This library is an ongoingwork in progress. The data structures mentioned below are all working nicely, but will probably have additional methods introduced as time goes on, and there may be some breaking changes in future versions when work commences to iron out API inconsistencies between data structures. Documentation is also somewhat lacking and out of date, but take a look at thefunctions folder for each data structure package, which is almost as good as actual documentation, due to the one-operation-per-file policy, and the comprehensive TypeScript annotations.

Features

  • A robust suite ofhigh-performance data structures for most use cases
  • FullES2015 module support so that your application bundle only need grow in size according to what you actually use
  • Functional API, prioritising an order of parameters best suited for currying and composition
  • 🚧 API fordeep operations onnested structures
  • Deep and shallowconversion to and from native types, including arrays, objects, iterables, Maps and Sets
  • Complete set ofTypeScript definitions
  • Extensivedocumentation andexamples
  • One package import to access everything,or isolated npm packages for each individual data structure
  • Comprehensive unit test suite, consisting of hundreds of tests for every data structure
  • Strong focus on a code style thatemphasises high performance internally

Data Structures

See theroad map for information on further development and plans for additional features and data structures.

Installation

# via NPMnpm install collectable# or Yarnyarn add collectable

TypeScript type definitions are built in.

Usage

API Reference:[General|List|Map|Sorted Map|Set|Sorted Set|Red Black Tree|Others... ]

Contributor Credits (Deliberate or Unwitting)

Want to help out? Seethe guide for contributors.

About

High-performance immutable data structures for modern JavaScript and TypeScript applications. Functional interfaces, deep/composite operations API, mixed mutability API, TypeScript definitions, ES2015 module exports.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp