@aureooms/js-collections-chainmap

4.0.0 • Public • Published

@aureooms/js-collections-chainmap

Python's chainmap data structure for JavaScript. Parent is @aureooms/js-collections.

let A = dict( [ [ "x" , "A" ] ] ) ;
let B = dict( [ [ "x" , "B" ] , [ "y" , "B" ] ] ) ;
let C = dict( [ [ "x" , "C" ] , [ "y" , "C" ] , [ "z" , "C" ] ] ) ;

let M = chainmap( A , B , C ) ;

M.get( "x" ) ; // "A"
M.get( "y" ) ; // "B"
M.get( "z" ) ; // "C"

License Version Build Dependencies Dev dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size

Package Sidebar

Install

npm i @aureooms/js-collections-chainmap

Weekly Downloads

1

Version

4.0.0

License

AGPL-3.0

Unpacked Size

338 kB

Total Files

9

Last publish

Collaborators

  • aureooms