Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

typed-collections

Package Overview
Dependencies
0
Maintainers
2
Versions
2
Issues
File Explorer

Advanced tools

typed-collections

A collection utility module for TypeScript

    0.0.2latest

Version published
Maintainers
2
Yearly downloads
2,585

Weekly downloads

Readme

Source

typed-collections

A collection utility module for TypeScript

Usage

npm install typed-collections import { List } from "typed-collections"; const list = List.fromArray([ { id: "1", data: 1000 }, { id: "2", data: 2000 } ]); const idMap = list.toIDMap(); console.log(idMap.getOrFail("1"));

Classes

  • StrictMap
  • List

Interfaces

  • ListItem
  • ConnectionLike
  • PageInfoLike

Functions

  • createEmptyConnectionLike

Contribution

  1. Fork it ( http://github.com/argano/typed-collections )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

MIT

FAQs

What is typed-collections?

A collection utility module for TypeScript

Is typed-collections popular?

The npm package typed-collections receives a total of 72 weekly downloads. As such, typed-collections popularity was classified as not popular.

Is typed-collections well maintained?

We found that typed-collections demonstrated a healthy version release cadence and project activity. It has 2 open source maintainers collaborating on the project.

Last updated on 21 Jul 2021
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc