Showing 1-16 of 16 packages
This is a port of [python's defaultdict](https://docs.python.org/2/library/collections.html#defaultdict-objects) to JavaScript. It uses proxies to create objects that return values other than ```undefined``` for attributes that haven't yet been set.
defaultdict -----------
A JavaScript implementation of Pythons `defaultdict`.
Python's defaultdict data structure for JavaScript
A memorization tool that strips code down to first letters and punctuation only.
Dictionary-like object with a handler for missing keys
TypeScript port of the Java library PinIn for Chinese text match using Pinyin - 用于各类汉语拼音匹配问题的库
Modify the internal behaviour of your JavaScript classes
Python's collections library for JavaScript
A Map subclass that automatically adds missing values
a Util Library for any TypeScript Project
word frequency
Python standard library for TypeScript - itertools, functools, collections, datetime, re, and more. Zero dependencies. Full TypeScript support.
Simple solution to this problem: "TypeError: Cannot set property 'x' of undefined"
Helpful collections shamelessly copied from Python and ported to JS: orhttps://docs.python.org/2/library/collections.html#module-collections
An extension of Map that auto-initializes new values with empty collections and auto-removes empty collections being set