Licence
MIT
Version
0.38.0
Deps
1
Size
58 kB
Vulns
0
Weekly
58
Basic utilities for JavaScript
Collection of basic utilities for JavaScript. Can be used in both node and web projects.
Installation
npm i @jawis/jab
Usage
Documentation: Everything is developed in TypeScript, so type declarations are the best place to find information about the individual functions and classes.
Here are some highlights:
- getProtoChain: Returns the prototype chain of an object as an array of 'class' names.
Build
All imports are side effect free. So this library is ideal for tree-shaking.
Known issues
- capture
- Handles binary data superficially.
- Sparsity in arrays is not preserved.
- Non-enumerable properties is not preserved.
Related work
- Capture: Several
License
MIT