3.0.0 • Published 7 years ago

aureooms-js-collections-chainmap v3.0.0

Weekly downloads
2
License
AGPL-3.0
Repository
github
Last release
7 years ago

js-collections-chainmap

Python's chainmap data structure for JavaScript. Parent is 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"

NPM license NPM version Build Status Coverage Status Dependencies Status devDependencies Status Code Climate NPM downloads per month GitHub issues Documentation