Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/make-github-pseudonymous-again/js-collections

:school_satchel: Python's collections library in JavaScript
https://github.com/make-github-pseudonymous-again/js-collections

agpl collections computer-science data-structures javascript

Last synced: 3 months ago
JSON representation

:school_satchel: Python's collections library in JavaScript

Awesome Lists containing this project

README

        

:school_satchel: [@aureooms/js-collections](https://make-github-pseudonymous-again.github.io/js-collections)
==

Python's collections library for JavaScript.
See [docs](https://make-github-pseudonymous-again.github.io/js-collections).
Parent is [@aureooms/js-data-structures](https://github.com/make-github-pseudonymous-again/js-data-structures).

JavaScript version of
[Python's collections library](https://docs.python.org/3.6/library/collections.html)
together with
[some of Python's built-in data structures](https://docs.python.org/3/library/stdtypes.html).

```js
import {
set , dict ,
namedtuple ,
deque ,
defaultdict ,
ordereddict ,
counter ,
chainmap
} from '@aureooms/js-collections' ;
```

[![License](https://img.shields.io/github/license/make-github-pseudonymous-again/js-collections.svg)](https://raw.githubusercontent.com/make-github-pseudonymous-again/js-collections/main/LICENSE)
[![Version](https://img.shields.io/npm/v/@aureooms/js-collections.svg)](https://www.npmjs.org/package/@aureooms/js-collections)
[![Build](https://img.shields.io/travis/make-github-pseudonymous-again/js-collections/main.svg)](https://travis-ci.org/make-github-pseudonymous-again/js-collections/branches)
[![Dependencies](https://img.shields.io/david/make-github-pseudonymous-again/js-collections.svg)](https://david-dm.org/make-github-pseudonymous-again/js-collections)
[![Dev dependencies](https://img.shields.io/david/dev/make-github-pseudonymous-again/js-collections.svg)](https://david-dm.org/make-github-pseudonymous-again/js-collections?type=dev)
[![GitHub issues](https://img.shields.io/github/issues/make-github-pseudonymous-again/js-collections.svg)](https://github.com/make-github-pseudonymous-again/js-collections/issues)
[![Downloads](https://img.shields.io/npm/dm/@aureooms/js-collections.svg)](https://www.npmjs.org/package/@aureooms/js-collections)

[![Code issues](https://img.shields.io/codeclimate/issues/make-github-pseudonymous-again/js-collections.svg)](https://codeclimate.com/github/make-github-pseudonymous-again/js-collections/issues)
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/make-github-pseudonymous-again/js-collections.svg)](https://codeclimate.com/github/make-github-pseudonymous-again/js-collections/trends/churn)
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/make-github-pseudonymous-again/js-collections/main.svg)](https://codecov.io/gh/make-github-pseudonymous-again/js-collections)
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/make-github-pseudonymous-again/js-collections.svg)](https://codeclimate.com/github/make-github-pseudonymous-again/js-collections/trends/technical_debt)
[![Documentation](https://make-github-pseudonymous-again.github.io/js-collections//badge.svg)](https://make-github-pseudonymous-again.github.io/js-collections//source.html)
[![Package size](https://img.shields.io/bundlephobia/minzip/@aureooms/js-collections)](https://bundlephobia.com/result?p=@aureooms/js-collections)

## :baby: Children

The implementation of this package is split over several children packages:

- [@aureooms/js-collections-chainmap](https://github.com/make-github-pseudonymous-again/js-collections-chainmap)
- [@aureooms/js-collections-counter](https://github.com/make-github-pseudonymous-again/js-collections-counter)
- [@aureooms/js-collections-defaultdict](https://github.com/make-github-pseudonymous-again/js-collections-defaultdict)
- [@aureooms/js-collections-deque](https://github.com/make-github-pseudonymous-again/js-collections-deque)
- [@aureooms/js-collections-dict](https://github.com/make-github-pseudonymous-again/js-collections-dict)
- [@aureooms/js-collections-namedtuple](https://github.com/make-github-pseudonymous-again/js-collections-namedtuple)
- [@aureooms/js-collections-ordereddict](https://github.com/make-github-pseudonymous-again/js-collections-ordereddict)
- [@aureooms/js-collections-set](https://github.com/make-github-pseudonymous-again/js-collections-set)