{"_id":"tiered-map","_rev":"63-cb3e6713610e5d9b7205dfe41e9cef20","name":"tiered-map","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","dist-tags":{"latest":"2.13.0","next":"2.13.0-next.1603622449.95f8a2407e249d7e685f311fcef81e13f3d03a3f"},"versions":{"1.0.0":{"title":"Tiered Map","name":"tiered-map","version":"1.0.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":{"type":"MIT"},"keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"travis":true,"npm":true,"npmdownloads":true,"david":true,"daviddev":true,"gratipay":"bevry","flattr":"344188/balupton-on-Flattr","paypal":"QB8GQPZAH84N6","bitcoin":"https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a","wishlist":"http://amzn.com/w/2F8TXKSNAFG4V"},"author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"http://github.com/bevry/tiered-map.git"},"browsers":true,"engines":{"node":">=0.8"},"dependencies":{},"devDependencies":{"assert-helpers":"^1.0.2","babel":"^4.7.16","babel-eslint":"^2.0.2","babelify":"^5.0.4","browserify":"^9.0.3","coffee-script":"^1.9.1","eslint":"^0.17.1","joe":"^1.6.0","joe-reporter-console":"^1.2.1","projectz":"^0.5.0"},"main":"./es6guardian.js","scripts":{"test":"node --harmony ./es5/test/tiered-map-test.js","browserify":"browserify ./web/index.js -t babelify --outfile ./web/out.js"},"cakeConfiguration":{"BABEL_SRC_PATH":"es6","ESLINT_SRC_PATH":"es6"},"gitHead":"b5fe31389c7cfb681378db4df540300040abba5b","_id":"tiered-map@1.0.0","_shasum":"2420611ef5cb39db45654f697a7d2e5ff77b5a3e","_from":".","_npmVersion":"2.7.4","_nodeVersion":"1.6.3","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"dist":{"shasum":"2420611ef5cb39db45654f697a7d2e5ff77b5a3e","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.0.0.tgz","integrity":"sha512-fv5/+v4w12dzSEboqGXQoW8s374v/zXQJMI+ZPeg6MybCQVyIotv1RXoGAucjAa4DS3I0nDAj2YpKgp8ehVqgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDteHkqZCPFd5+mo9ANVpiGUp0ZCBM7Gr8y7dBQM7Ro0AiAYQjGmLIQdfw/nRPlo27UqI2y+Vs+9LR9J0IsnLgzIZQ=="}]},"directories":{}},"1.0.1":{"title":"Tiered Map","name":"tiered-map","version":"1.0.1","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":{"type":"MIT"},"keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"travis":true,"npm":true,"npmdownloads":true,"david":true,"daviddev":true,"gratipay":"bevry","flattr":"344188/balupton-on-Flattr","paypal":"QB8GQPZAH84N6","bitcoin":"https://coinbase.com/checkouts/9ef59f5479eec1d97d63382c9ebcb93a","wishlist":"http://amzn.com/w/2F8TXKSNAFG4V"},"author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"http://github.com/bevry/tiered-map.git"},"browsers":true,"engines":{"node":">=0.8"},"dependencies":{},"devDependencies":{"assert-helpers":"^1.0.2","babel":"^4.7.16","babel-eslint":"^2.0.2","babelify":"^5.0.4","browserify":"^9.0.3","coffee-script":"^1.9.1","eslint":"^0.17.1","joe":"^1.6.0","joe-reporter-console":"^1.2.1","projectz":"^0.5.0"},"main":"./es6guardian.js","scripts":{"test":"node --harmony ./es5/test/tiered-map-test.js","browserify":"browserify ./web/index.js -t babelify --outfile ./web/out.js"},"cakeConfiguration":{"BABEL_SRC_PATH":"es6","ESLINT_SRC_PATH":"es6"},"gitHead":"a1aaaa3833f9a57e1ddce369723cfd502ca4b5ec","_id":"tiered-map@1.0.1","_shasum":"9eb7807dd27da64498792f7f0fbbcac34e2f5904","_from":".","_npmVersion":"2.7.4","_nodeVersion":"1.6.3","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"dist":{"shasum":"9eb7807dd27da64498792f7f0fbbcac34e2f5904","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.0.1.tgz","integrity":"sha512-SLZZTBcz3xh55XaA/FWqlgKIyUOufQrCfsF7kYU+KX4QW7clGMgRT0aO9jh1oF+llTjOSAfAe9mCLHJundUUwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1QKShHclVaBQseQlPs21nfocdd8A5tT2cdZfDn/XrJwIhAJ1ki8d0qo2C968qCnyM7JeDpvF9w5B5XUX4rWfzeFZe"}]},"directories":{}},"1.0.2":{"title":"Tiered Map","name":"tiered-map","version":"1.0.2","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","slackin","patreon","gratipay","flattr","paypal","bitcoin","wishlist"],"config":{"patreonUsername":"bevry","gratipayUsername":"bevry","flattrCode":"344188/balupton-on-Flattr","paypalButtonID":"QB8GQPZAH84N6","bitcoinURL":"https://bevry.me/bitcoin","wishlistURL":"https://bevry.me/wishlist","slackinURL":"https://slack.bevry.me"}},"author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/bevry/tiered-map.git"},"engines":{"node":">=0.12"},"browsers":true,"dependencies":{"esnextguardian":"^1.2.0"},"devDependencies":{"assert-helpers":"^4.1.0","babel-cli":"^6.3.15","babel-preset-es2015":"^6.3.13","eslint":"^1.10.3","joe":"^1.6.0","joe-reporter-console":"^1.2.1","projectz":"^1.0.9"},"main":"./esnextguardian.js","browser":"./es5/lib/index.js","jspm":{"main":"./es5/lib/index.js"},"scripts":{"clean":"node --harmony nakefile.js clean","setup":"node --harmony nakefile.js setup","compile":"node --harmony nakefile.js compile","watch":"node --harmony nakefile.js watch","verify":"node --harmony nakefile.js verify","meta":"node --harmony nakefile.js meta","prepare":"node --harmony nakefile.js prepare","release":"node --harmony nakefile.js release","test":"node --harmony ./es5/test/index-test.js","browserify":"browserify ./web/index.js -t babelify --outfile ./web/out.js"},"cakeConfiguration":{"BABEL_SRC_PATH":"esnext","ESLINT_SRC_PATH":"esnext"},"gitHead":"51c9314239c0fb9b071c9176dbf61c12a591c0b7","_id":"tiered-map@1.0.2","_shasum":"cd1c62ed4fed962cf492f4e2a8d0279cf52933b6","_from":".","_npmVersion":"3.5.1","_nodeVersion":"5.2.0","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"dist":{"shasum":"cd1c62ed4fed962cf492f4e2a8d0279cf52933b6","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.0.2.tgz","integrity":"sha512-OcKa30EMdc/4L3Uc1Rncb+erFSDi8pEUrZ1dKd3CSTQGwjjuoO3oheJPF5NTBV9KZOjCilvs8zc0Nx8o2OXJAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjc41z50XZFky6J84oDec01wvNW7L7/jMXr9gepcFlBwIhAPLW8bCORrjRE+OJppFkWd1YHSpxU6t1QrhJTfNEz9kx"}]},"directories":{}},"1.1.0":{"title":"Tiered Map","name":"tiered-map","version":"1.1.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","slackin","patreon","gratipay","flattr","paypal","bitcoin","wishlist"],"config":{"patreonUsername":"bevry","gratipayUsername":"bevry","flattrUsername":"balupton","paypalURL":"https://bevry.me/paypal","bitcoinURL":"https://bevry.me/bitcoin","wishlistURL":"https://bevry.me/wishlist","slackinURL":"https://slack.bevry.me"}},"author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Benjamin Lupton","url":"https://balupton.com"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/bevry/tiered-map.git"},"engines":{"node":">=0.12"},"editions":[{"description":"Source + ESNext + Require","entry":"source/index.js","directory":"source","syntaxes":["javascript","esnext","require","const","classes","defaults"]},{"description":"Babel Compiled + ES2015 + Require","entry":"es2015/index.js","directory":"es2015","syntaxes":["javascript","es2015","require"]}],"main":"index.js","browser":"es2015/index.js","dependencies":{"editions":"^1.1.1"},"devDependencies":{"assert-helpers":"^4.2.0","babel-cli":"^6.9.0","babel-preset-es2015":"^6.9.0","eslint":"^2.10.2","eslint-plugin-babel":"^3.2.0","joe":"^1.6.0","joe-reporter-console":"^1.2.1","projectz":"^1.1.5"},"scripts":{"setup":"npm install","clean":"rm -Rf ./docs ./es2015","compile":"npm run compile:es2015","compile:es2015":"babel ./source --out-dir ./es2015 --presets es2015","meta":"npm run meta:projectz","meta:projectz":"projectz compile","prepare":"npm run compile && npm run test && npm run meta","release":"npm run prepare && npm run release:publish && npm run release:tag && npm run release:push","release:publish":"npm publish","release:tag":"git tag v$npm_package_version -a","release:push":"git push origin master && git push origin --tags","pretest":"npm run test:eslint","test:eslint":"eslint ./source","test":"node --harmony -e \"require('editions').requirePackage(process.cwd(), require, 'test.js')\""},"gitHead":"9e02373e10e8efaf243be91327f752e7098a2a27","_id":"tiered-map@1.1.0","_shasum":"564218a2f07ec62273227ce4db72dbbdcd860642","_from":".","_npmVersion":"3.8.7","_nodeVersion":"6.0.0","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"dist":{"shasum":"564218a2f07ec62273227ce4db72dbbdcd860642","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.1.0.tgz","integrity":"sha512-gbeJEPMHd7xqNMvOoeRXlCw/K9ARklGpW2eoJCXHA8L/MgcKyN4dtbEVUuh+ak65LBnIkAJwB6rxox6oeuAO8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGAbr1qCUROlhfhhtIdiZ83C6R9O1dIQgJO41NML82JMAiEAoD0zCojUPCpXpmQnBCMuoM985RkUAkM7nf5B/k8KrRE="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/tiered-map-1.1.0.tgz_1464367459257_0.7107290823478252"},"directories":{}},"1.2.0":{"title":"Tiered Map","name":"tiered-map","version":"1.2.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","thanksapp","boostlab","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist"}},"author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 11 || 12","browsers":false}},{"description":"esnext compiled for browsers with require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.6.0","@babel/core":"^7.6.0","@babel/plugin-proposal-object-rest-spread":"^7.5.5","@babel/preset-env":"^7.6.0","assert-helpers":"^4.9.6","eslint":"^6.3.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.2.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.0","kava":"^3.1.0","prettier":"^1.18.2","projectz":"^1.7.4","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":"defaults","modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"d8aedd7b738e9dcf84cbcb2d1691404a1898a752","_id":"tiered-map@1.2.0","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-GcWiJ4t4giQMNBHZrmXdEqMChI2gg5lah77JotP3oImGBp7YQdFtiJvks22LazbPuT4sNQkxLcXX0QgGo9SvYg==","shasum":"6bf3108499e8230706fb825cf8089e2e0510202d","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.2.0.tgz","fileCount":6,"unpackedSize":22549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdd62wCRA9TVsSAnZWagAAgqoP/0Zn5Af42vQa+f2c5CCj\n7ZCAWq6maSgURDVXnUnq60f7E75tQ4gbTHBPoq2v0aY5O+0AIm/bhXWRydTZ\nVKDTyNBpabViJggcrWXGkJ3jdKZHaiNTWoqUW2QFi6MLNws0GeFrBTWWy0Qs\n7GiKQVL5CyJuBQly7mvKijq+GMkAM8r1XUvTg4OJuN5meJ/JFLQgO3WC4sxd\nljsItaJ8bqT7Ncp7Bb7nXayTL4ZOOy6vyftw5FHSAH7UwR4qbvkuVEWJSfU3\nCATnyp4y/A1qQ22RczTd2laZCD15B1plHC+IMs0lTzMJaMvwENrMGDtEHaRM\nF2Zz64wAc/t1XZRfzp8XliOjHP+1uTaVbxS46AWQxMKkFxqN/tKj8XpVo7nu\n+Y2RILG605Zsz9wYFVcloSr70o9BXNLCjkapATe+hTGRXIzDlw8iQuQZcccS\nWAqScUlnPTT4HmcO4nto6OvVwJkL3QhiqG6orMhcZSAEm6i4tJnd01vj9mV9\nujyr+6ExqG4ypoAbRzwfLQPI5dKf+bkvr78jMzE39n0Xx0LlQPUgNn3e25Gi\n5Q57cvvrpKciS1y6QybLENLTRDvmP20/6D8c5/ekOljdU3C19RQtvouCv+EC\nyyPrnnezI9URAf6aCZ9QQy79CKldMGsAGqmYlKJkWL+hsyuOQqzNIHHxmXIP\n/p8i\r\n=Kta3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgrxnaTeuNQPB6wsSADgpXcXproRTwe6/ZBvhAgyy4/QIhAO+jjcf3a2+TiO9a6bXcT4RK8OV2vFrqJZhlh10boO/s"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_1.2.0_1568124336206_0.6288683394620758"},"_hasShrinkwrap":false},"1.3.0":{"title":"Tiered Map","name":"tiered-map","version":"1.3.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}},{"description":"esnext compiled for browsers with require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","assert-helpers":"^5.2.1","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.2.0","prettier":"^1.19.1","projectz":"^1.10.0","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":"defaults","modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"6eb6849fa54eeb98fe91e90238f9192983098204","_id":"tiered-map@1.3.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-rYQ8TjzE1aH1+VGP146MrLES/UXo59ioD7G39C4I91hCZoGctpj0nvqrJBfV8rz2vGXU4W/QZCY1BOP/RpiZwQ==","shasum":"32a2691a19f965c96d86a72738f5c2e4af9467e4","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.3.0.tgz","fileCount":8,"unpackedSize":22169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy4cyCRA9TVsSAnZWagAAEH0P/2k7Nww2XJG4858CnT01\ncbGsjM5LGSBrhQjUpCiQkDF78QKt78+SmcO4EnB10DLkzhUwggYgrO7agtsw\nYrimp4MMngUzjfFcyG6TJNMijBQ9vRujBh+rrspHTov7FSJRWR8Tsz2CY6Yf\nuKst+USySNDT3B6B2teLYuBXz8bBhIdWZ91B/wVUcNstv9GffTSQvBKus7I8\nwH6sSfkEU9XMlVxRhYjELeR0+/rE7ZuXZcFeBhDgTZf89/CFKLeLmiHxzYFK\ndswR6t9UGL8cUTQrHsTAY37iICAiBm0/FSuTVqdACD+kJcoepoU6766qIGSu\nBTrt/bF73gPgKOm4D8TpEEhjSfT4oHela1YP6A/mJLkjytKOW4NLZ8JOxDVZ\nWBpbzptVU7X5i7n4q4vg8TnMUaj3ZWUuI+H8C3dYHh60I/gpG+FdoH7d+foP\niyNVB+geOW3buspQ9hZxDKehRUeA3zQpNosa9i63mKfUpbAUzMVVnJdSArjN\nwkPeYsKNpiphml8mWMBO20KZTJNhK1L4EgAUUP6dVcvDdSdauQq1ld+6Oq8h\n27Z/oNRPAbBOaHYOyCL2vfEvw/QV7sf0LwR1JsX4ytGh9OhfP23FeBfOSvjY\nV4xZTR+qoqeCbNyXBfSE4I2I/n4OMPFjGWF51I1qW174QrZmnwaeRbOCjNMa\nbqnn\r\n=Zpfl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCN38GELiMy/Wz1fbhXmWgE4l3PfPWcQEoHu/rrXLkCMQIgUKtOCCC5EEKiwNj9yfE1tWjsc0eWnhrafQYt9pGax7U="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_1.3.0_1573619506321_0.8734630536905073"},"_hasShrinkwrap":false},"1.3.0-next.1573619540.6eb6849fa54eeb98fe91e90238f9192983098204":{"title":"Tiered Map","name":"tiered-map","version":"1.3.0-next.1573619540.6eb6849fa54eeb98fe91e90238f9192983098204","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}},{"description":"esnext compiled for browsers with require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","assert-helpers":"^5.2.1","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.2.0","prettier":"^1.19.1","projectz":"^1.10.0","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":"defaults","modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"6eb6849fa54eeb98fe91e90238f9192983098204","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Require: <code>require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n``` html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is esnext source code with require for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is esnext compiled for browsers with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@1.3.0-next.1573619540.6eb6849fa54eeb98fe91e90238f9192983098204","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-GkC6Sn2EtF895cAYRXDx/1QMxjKI5ll2N54CMmAgX8PDX9MaOvyEaT13yofkpse4RXm0/5j+ZV3Hc3/D5oSSVg==","shasum":"152e4bf1c8f742e5fb60a9681403bd45a7c09c75","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.3.0-next.1573619540.6eb6849fa54eeb98fe91e90238f9192983098204.tgz","fileCount":8,"unpackedSize":22226,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdy4dXCRA9TVsSAnZWagAAnKQP+gO2vgScOPXw5GoDquhP\nhW2xmRGOjEHuHXI3RRLn0mc0BIdKU8NA1rPhUJfVNm0bi4s0ib4GtaCgc3/j\ncPvIe04q6Et9dGFasp3J30aQh9rXdWB9DPE1RfKx1jeJm67csbQAjmNIKTde\nk9JrSYSqBDIBb1qxmhTCRXAodvOLYvDwXoP+cYmeAmG7UUxjmy6PihwBFGPe\nmDZLr53cFUSSCs7wihHNJQ88SYf89v6MdgQcfV+fy38MjKph+Iy1jWYv/oK9\nI9QMJlBZGtKjfB1KDq74kpYd0QrXs8yrF3AWh9kJpdIVdswB/1Pcgd9jzXju\nZt0cWNMcv3l4QeaZx3sy3Z9N5sA6JAQD++YXxJrD/k9ostrRLqlAaR/BrMM1\nESTeKxt+2KLxXtkaQ9AXHTJSESOt4nJh5OS+vnTM5TKO5Pan0EIJVJ4wVy5q\nUnsM4CO+qIzGLhFKQz+bqgaqJu8yoJoKqD7RXdgis+Y1kMm5enLxUp2JhZIZ\nSXSPKUaUUkj36upEfhUZoRaiI4MFsus3HLQ4RKjFT385mZ7XyFrQLSc2jIAJ\nWYsirHVlYCbE01MPQyp/e2ecsNqXKXGeVJHfCaXG/6tllD+LSjGAouKCgQZD\nZ3+ZGCB4pUXNI/GakhMfv9PGI+Es9ZyPKl63HbRhq3a6CwaGxFToLZSkANcm\nYlmV\r\n=v5FH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUurDa2anoPPhaEyagvGexHW3I4tV0kRbDS5L0aQUHqgIhAPbfxBq4/jACheQwaKkIDqJLMr0XWLTs7uMG2rN38/K1"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_1.3.0-next.1573619540.6eb6849fa54eeb98fe91e90238f9192983098204_1573619542483_0.5674175017493877"},"_hasShrinkwrap":false},"1.3.0-next.1573686687.a1436f37973afb9d352676969fdf59ffcb943256":{"title":"Tiered Map","name":"tiered-map","version":"1.3.0-next.1573686687.a1436f37973afb9d352676969fdf59ffcb943256","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}},{"description":"esnext compiled for browsers with require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","assert-helpers":"^5.2.1","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.2.0","prettier":"^1.19.1","projectz":"^1.10.0","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":"defaults","modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"a1436f37973afb9d352676969fdf59ffcb943256","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Require: <code>require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n``` html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is esnext source code with require for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is esnext compiled for browsers with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@1.3.0-next.1573686687.a1436f37973afb9d352676969fdf59ffcb943256","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-99weqwmdp97em0WzfUVzADfWAfcYUFs1hC1/U9WmW7YgPAFSJV56PDPr7iTdbP2s4ttl6PJ0H1yjEEnjH+Yuhw==","shasum":"e132c1af911330dbf7c45ba8c55030d9c702efb5","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.3.0-next.1573686687.a1436f37973afb9d352676969fdf59ffcb943256.tgz","fileCount":8,"unpackedSize":22226,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzI2hCRA9TVsSAnZWagAAwrsP/1pTj0d3yk6IH7BktcJ4\n8qFsjbChtMqj8Tw1ZQYJgKXZ1xTFtMYiFr/tKGZ8TWhYLa4RUj0Ol1IXyraX\n++R60TnYa+s+JNylCA7am5x2DUzDzAMcMffGWLOhjX46mRGomQw/rU/lLkNQ\nD6o6wBoOfObjjbpVvyzCPjimPzTAko8JI8W5XBxMdHzh2L/+5yHPTp3brhR3\ncUjn70Bbh+cvcDcPznfWMGp5DTCuJzBtpjqe8WdHSni6VUeNCgq/JDIDY+Jd\nJ3c2exgou6eZ6IwaDCTd05nGLbz8HzmncqQzKly5SCqIyMHbAsSDN/MbRayL\nC8GUPf999MZY+sWEplR2vhTKgO4r33VD1Y73AgLRQuW0lsiQ1cKG3byrqUrL\nIoLb7/W4wpz++CLDw6U8EzQ5CVrZu5/S/2fW6Hkc5FD27SpQidglWpkcc5+1\nGe/2NxwE7R0s41uf0JVB8AN50tsNOKlHSO7jMoJTNfrBy14VLNKfv3HyB9Hi\n2G55puYjlu0rCYskUehLieIdmQCnMoYrA0A1iaUpxgd0DWtpNVDAIIA0JreV\n5edtEq//7wO/dAKlb/DSz6NHdP2ZO9ZMxwcvsQoCnblzPKedCeIQ4lK9zLa2\ngUqhPfSzhhPv0+u7rYJU3Oj6d3kxyrJShzAerGeIfXvTACosnnNcCGQi5dfZ\n7+CM\r\n=YlJF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/jA2GF440OrH79qi9Hmqvdn5lxO3ZDA1MhvndQWS8xwIhAIann28/EXve5EMT6XCLOQknHJITnoO/H4dflVvOTmzJ"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_1.3.0-next.1573686687.a1436f37973afb9d352676969fdf59ffcb943256_1573686689472_0.32162272102423994"},"_hasShrinkwrap":false},"1.3.0-next.1573738752.ebfce0118e36485ea4dbfc4ad0c48f854220c328":{"title":"Tiered Map","name":"tiered-map","version":"1.3.0-next.1573738752.ebfce0118e36485ea4dbfc4ad0c48f854220c328","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12 || 13","browsers":false}},{"description":"esnext compiled for browsers with require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","assert-helpers":"^5.2.1","eslint":"^6.6.0","eslint-config-bevry":"^1.2.1","eslint-config-prettier":"^6.5.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.1","kava":"^3.2.0","prettier":"^1.19.1","projectz":"^1.10.0","valid-directory":"^1.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":"defaults","modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"ebfce0118e36485ea4dbfc4ad0c48f854220c328","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Require: <code>require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n``` html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is esnext source code with require for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is esnext compiled for browsers with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@1.3.0-next.1573738752.ebfce0118e36485ea4dbfc4ad0c48f854220c328","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-67ZR9ea/UnwrXKTLW4L94/8djEfvqO9qxiLyam6il66+0dExaK1Jz3J73KK4g+hfU9DjuJc13nBCKLivS4rBNw==","shasum":"32b3649ca646b50220833fcccc6e88e05b7ace41","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.3.0-next.1573738752.ebfce0118e36485ea4dbfc4ad0c48f854220c328.tgz","fileCount":8,"unpackedSize":22226,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzVkCCRA9TVsSAnZWagAAwZsP/0midNWZjcPYRb9laQHF\nIERtzKN7c+YMDQfMrcMQU+6BA/5l/hFG7uif8yk9gJlm9/vL/csg3K9AWEA7\naQ57OaFJwThUBv9DfXrGcJuF7rAAD6orjsBzM/xEpmFTEkxK/v23MizYn6v5\nDcVAs/s1rr1hA0+jDdBcgJYRifMVW3rIQzFff4lWs5l6MMyeP5VompqvsbNn\nLSiSNStcjj8HjfPssr38zFQYwn66r/Wae8kOSbj3+3y1uqa4pOw8NB2mzYpC\n23Ir0ndA6cHQl2JZP7ai5CmmPz5czdp5Zp5oVqMK682RTdG+ZXQ3UIdzYujq\nXvm/hxMFMmqijScF0j3AHlaTyWnTB46ZJEgj6gLpvj5aM/5pob9+4qOwCjTn\n3EHn9lfvJ28KJnf6qCF7Jx5WkJqszJubuUSEtcEi10s1oAJiHyPCA3hDlPKm\nuWXy81y2L8hLFTpFWLdZJt9ghghSpYRDwO3jW1mMbW3G9W8ilf4A/r0rO1UR\ncAqgX2iiNqeo+oSO9mUONPrT34yBOo/q1pr7xHT+IALci8URPWi02OG8CHoe\nOPAJbPQGS+L3lo8dcAGsL8UFPIQFtkSX1CEr/T7ClvYsoJRMjYxfh0YwoELx\nzzUkr2y/eYOo2FXYy7gY3ODjQCZw9KFDVdS3Bmm+7fyC0XNtQOH8HQMBQ67F\nvCes\r\n=oXJx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTCXsWjMEA84sBGkJLPcNGWeCQoFn1z0pbdN2AdxlIYwIgfkenlSCWFhk/Usxge+2a5KzkKunCkXFwO6Wgb/XKB2Q="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_1.3.0-next.1573738752.ebfce0118e36485ea4dbfc4ad0c48f854220c328_1573738754108_0.26316712335049974"},"_hasShrinkwrap":false},"1.4.0-next.1574061539.e6f7483f54399050cb059a993efc1169ae01a61b":{"title":"Tiered Map","name":"tiered-map","version":"1.4.0-next.1574061539.e6f7483f54399050cb059a993efc1169ae01a61b","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}},{"description":"esnext compiled for browsers with require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","assert-helpers":"5.4.0","eslint":"^6.6.0","eslint-config-bevry":"^1.3.0","eslint-config-prettier":"^6.6.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.1","kava":"4.1.0","prettier":"^1.19.1","projectz":"^1.11.0","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":"defaults","modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"e6f7483f54399050cb059a993efc1169ae01a61b","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Require: <code>require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n``` html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is esnext source code with require for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is esnext compiled for browsers with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@1.4.0-next.1574061539.e6f7483f54399050cb059a993efc1169ae01a61b","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-9pwxMO4oPEZXIp3rl4mIsPixtS9Wm2aavoSvz4NRyJR+WHgm7UQr3r3fV6PNHDa6X6CfNBp42VSi9Fbnvjcedw==","shasum":"83ba7eb431a387175c2f7562b699368663522df2","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.4.0-next.1574061539.e6f7483f54399050cb059a993efc1169ae01a61b.tgz","fileCount":8,"unpackedSize":22789,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0kXkCRA9TVsSAnZWagAAQZ4P/1rsKIGZfqbUc/s4jhpp\nn8PRkyKs1SGkRXHsvy2ivSBBCb2u3TrJ8DSIGwkyVxZndYgjYCRdAkoIcuZs\n9NvVJiQqb85K9i190U5zQiO6RbTSgr4aRkjuwXfhdO/RGd43tMqB0c0BFBz4\nuf2tbHfvO9dvQW2HTbmVaqNqu+xVQiuEDfko+FiZmIl2z4Ty1x47H19HKKdC\nDMqInlSjQmiNX6bUhoygzEIk08zEUI3r8i9EtXDwhkMoc/swxU+296gVqQUR\nKnWSL4rc7dz2nLSLjcY7iNdBKD13aZYOnJjlJf5HqlI610YOsVyeiqMa4eeO\njM9uMRymFqqqs1QqhFqIjeEjlyQ4gKSSITYCn/SN8AuJp65brRKLDgHBGa41\nnIh5j+dKrxeyvkSyfDHBseFE2n1q6oLI5KYlXzVSfcE9OEte1I1s2kPwjc8u\n6FykwLwbQnhKeYNYv9E5hUBs/kW26W4qri24nPt/84+SV1E+QMLV0YY159oL\ng/N1/JfphkxAZABRH8Fvy+cZ0whaXurVsVUHSXrqwO1BI6s7wFEnqwuJeZNx\nef7pP5mJHdqEgBU4t7+VWGBDJN/YGLMFxdLSO/1y666Eq/ebOgxxReIWTPKc\n3R1Bfzwk8f6fmNb7yvemsN+zPDZxqUxYn/2crQI1qNFzPeTfQxdCtMRJBxV2\nkT7+\r\n=n/c5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHl6JJ5zSv121eCIivzRcI/6MwQiL8DA9Vd19sFPa31lAiAVKBGWG2LG2Y9WNOta0hFVwu1pTPRhagA+b2uLrkXeBg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_1.4.0-next.1574061539.e6f7483f54399050cb059a993efc1169ae01a61b_1574061540426_0.3621688286106588"},"_hasShrinkwrap":false},"1.4.0":{"title":"Tiered Map","name":"tiered-map","version":"1.4.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}},{"description":"esnext compiled for browsers with require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","assert-helpers":"5.4.0","eslint":"^6.6.0","eslint-config-bevry":"^1.3.0","eslint-config-prettier":"^6.6.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.1","kava":"4.1.0","prettier":"^1.19.1","projectz":"^1.11.0","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":"defaults","modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"e6f7483f54399050cb059a993efc1169ae01a61b","_id":"tiered-map@1.4.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-GACl+g0J15O5VLVRRsUMzk/nmKImKFG31Qj1RWk1nqUgaS0z7Yko9r8d9Fg8FqxxH3IwhHeZnHom92OEKalnfA==","shasum":"a79558e06f8f47d984747e423fec0040f01d9513","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.4.0.tgz","fileCount":8,"unpackedSize":22732,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0kYkCRA9TVsSAnZWagAAg4QQAJj9+3f6aFC3nOxif5Q6\nQEbEQM2h8Ekt7sbW8qB7JHe+SW50x4vHBVCfiUq1G/ElIfIlXuUMmrGKAneZ\nZYvZechbJIj6GPfvszXC+E8v1eFXU1qVN12j+ah3I2MaVEN/4JMTlH7V5YbH\nCXJvF46nHv9SH0larU2hOpzso+I7duxLRI1ymEqMBOAw6oz0+pID+2p9TBCY\n+hOrs3UhiRPdCROhsC8Ho7Ml2O+Y6X2PpEw5Gr+9DqIf7xb8Isbxshix5u4x\nLBQNtX4LvVIRkMaosi1rJA+aGuw69fNXqxYDjAozUzspKS4hm5kWr6trkwQT\n1OALhxDA/7SDY15O+ctiUwYDkBKLiatWyxn2rpkewi2xqExHB0AieCsssC1V\npBtjsDZAGfwalr3J7ulEjF0qQ/V2V6PLM5UEFDEZaiVXoXCvGUvbKdeamp9Z\nfahc4SMmcrbdVj996Y/xYvS7HaaopGHqSQm1mHTn35JIWKxzuMrpeoL3jJrd\nr363uw50FUQ8Sh+lOx/PV+PhVxSPFcxLxw1fxGcu8gqZTMEg28j+WR0CMiqZ\nDCoVa7hrWYbfxtrBRvvc+Rvg39P9cRqHw+GA76LlZ+I3CAauuXEim9mxTF6A\n5uIoXmD/u8Mc073jQyfVdXMR5ESVjdxJZIF4cdMx6RtXn7ron7RBoipLMNda\n/OyM\r\n=tK8m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE9SPUhADp4u9IhlMVu07d976wLU3Wwryl2d4WuNuqYUAiBJr2v3F+/Rod576vX79iNsTmCmZwwijljHV9P92I9yTg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_1.4.0_1574061603662_0.4222019283015952"},"_hasShrinkwrap":false},"1.4.0-next.1574657599.e82dd443b54460ae7a5cad4ace6fb264020b1f5e":{"title":"Tiered Map","name":"tiered-map","version":"1.4.0-next.1574657599.e82dd443b54460ae7a5cad4ace6fb264020b1f5e","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}},{"description":"esnext compiled for browsers with require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.7.0","@babel/core":"^7.7.2","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/preset-env":"^7.7.1","assert-helpers":"5.4.0","eslint":"^6.6.0","eslint-config-bevry":"^1.3.0","eslint-config-prettier":"^6.6.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.1","kava":"4.1.0","prettier":"^1.19.1","projectz":"^1.11.0","valid-directory":"^1.1.1"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":"defaults","modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"e82dd443b54460ae7a5cad4ace6fb264020b1f5e","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Require: <code>require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n``` html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is esnext source code with require for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is esnext compiled for browsers with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@1.4.0-next.1574657599.e82dd443b54460ae7a5cad4ace6fb264020b1f5e","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-/P/nzrz96w5zcJvN7VqXfajwSRuHIJHn1CoAzAxLDen2bQ7ViJgvdzJpAw9sWSAB0n4G3U+KlIFxNAkXQ4l8UQ==","shasum":"145d8df2b64c4b58707fe3e1459b659fc6a91914","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.4.0-next.1574657599.e82dd443b54460ae7a5cad4ace6fb264020b1f5e.tgz","fileCount":8,"unpackedSize":22789,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd215BCRA9TVsSAnZWagAAtCYP/A/xqmkQMNQkbsSBhjao\nwbg6prKDyYLS1igVH/lohfbj75rCa3po5hTAtJY+mitYrW1X+U8a4e5En+sQ\n3YLSVVvBm+262+vIi8/RFL8jHuage4U6xHdKOPltORr99QBuyjOfWZlgB/sP\nndagW3Jt8X5AGj0DVgHEZjK5h8Sd/WeeCxy6WG7DueV7ZmEgubHj7tpzCJe0\nBtGOvSHkZOm781ibcMfHFLI8zCk++0ZlafgazHVKbvm3m4anWo2SKQ7wOUER\nP7HLMHamZ3R3CZM/ak1dxrbVfqXv/tmZCJVDJdeZ+sxFJj1YQzT8H1Z9Uuup\n0gsOeks/gRpl4aBiOuOPy53f/hYiMVla3K6PXKy5tjMZ7HxPiXnm5vUJni3C\nCmZY56OF+7eepJXshIL2xUYvsFa5vJiUyL1hZm56B8tYL11UCkiwxrAKBJ9f\nE4zd4rTHvsxgJmHZT9EMS3eYdJOVF4V0LIvuI9CEr9dnM7+tEJQHZTnQRjTX\nBTppyUd1oKnyUenItIuV26XvFxSY89eNR+24k6vY8kiJgmb2bqlJU0BCCLmK\nO3iHDPis3YIWLy0q2cMJK253JE4ezRmVKSPXCXSfnjknCiRiXbHUOEImixWz\nVf9glszmYY3kS+LWxc7BggOxRHzSqtBPVmrmU129aT3Gkj4eR1BKad8Uy6Cb\nYfvy\r\n=7JH9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6I2grJdZLt/vY44BryI9Rrie4JLAirtkMCG1TL4a2CgIgf6RtrfO0BiYBHotbgplQOqytGICK8HlQjeTM9pvyrlI="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_1.4.0-next.1574657599.e82dd443b54460ae7a5cad4ace6fb264020b1f5e_1574657601362_0.6960841656878334"},"_hasShrinkwrap":false},"1.5.0-next.1575156045.8367ee72161ed5c00bdb09dc6eddaf818c1b3574":{"title":"Tiered Map","name":"tiered-map","version":"1.5.0-next.1575156045.8367ee72161ed5c00bdb09dc6eddaf818c1b3574","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}},{"description":"esnext compiled for browsers with require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.7.4","@babel/core":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.7.4","@babel/preset-env":"^7.7.4","assert-helpers":"^5.6.0","eslint":"^6.7.2","eslint-config-bevry":"^2.1.0","eslint-config-prettier":"^6.7.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.1","kava":"^4.2.0","prettier":"^1.19.1","projectz":"^1.13.0","valid-directory":"^1.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":"defaults","modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"8367ee72161ed5c00bdb09dc6eddaf818c1b3574","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Require: <code>require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n``` html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is esnext source code with require for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is esnext compiled for browsers with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@1.5.0-next.1575156045.8367ee72161ed5c00bdb09dc6eddaf818c1b3574","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-m63BtMnw/ufX39nyjcegQCySEn52tlesB2v+1jQQVS1F1sraWSx1v4lClbjERb/ANcXlH02dg5QFBOFSMEf73A==","shasum":"9078f0c47d7f7c379ce462d7e8a23bb771c4fae6","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.5.0-next.1575156045.8367ee72161ed5c00bdb09dc6eddaf818c1b3574.tgz","fileCount":8,"unpackedSize":22993,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4vlPCRA9TVsSAnZWagAAKC0P/0/6ZewxM4ydxetDO1Du\nc8AmJ/WGqM0ZixMF1R8wY4Dhd12zsXNkjAiO4CPti3rUSzT9ZMj2uUaNcIeq\n8dSPkzGkBAFUXDK84HKV8ZeQWiVaEewWD1Nscfm/hB+gkGTEgYrEvXrcmjaz\nixN+A1AxrpaJorIt9Vq9FgivBajYdfPQQNBYvRv8nHCQg5M0+HWmaDZmpp1Z\ni0QkAIhDJ5wrd6SCvHbFWzXJa53V2zMI8bZdeONvt6o/RRYLmtf1CdFf5doh\nqI0u88waRuwDtOXER17UUytssVDNNJK8YyQcdvJRku+3ohkRLdffsXCRBZKF\nptMLN7Kil+8/gU7kZjBtpHo6f+NbjOEJNUhtlle6g5iTXGei3E8h2JYs+Vu+\n8r3su2o6l9v4K7gmnNs/cl7P/LIhRYg7ZykdivulBGSe+U/HnOd8SJ+ke45Y\n8xBm16/msLXE+hH1Zt3W0leNYuryv6ne8+bP0EqZZ3lcetzp08BABnU1y7UW\nVmo3F5LhgtAvrQsV6jep2s099Fe+7Q7pXaSWZlAi+R9LeyyIpggwsaU2x7s3\nG98N4V7G51sJYJd1tEpD2j8s1NLHVR3gLndM8Dyw/28sXp0nytA21vNIHNAc\nDtP3MCw+Duui3p/bIB+naEypy0Mw/1NW2aaQxGq5Ohpjrbl1CNCC9khLC1dI\n9nUX\r\n=LM3o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHzHQXqcHr9dFHmV6Uj020W1vozbC6J1+rt4Thd8GcgwAiEA9QRcFA5R32DJod+q/4A3zSeSY3rij5SId/0BhtOmY1o="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_1.5.0-next.1575156045.8367ee72161ed5c00bdb09dc6eddaf818c1b3574_1575156046728_0.9064679277316139"},"_hasShrinkwrap":false},"1.5.0":{"title":"Tiered Map","name":"tiered-map","version":"1.5.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}},{"description":"esnext compiled for browsers with require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.7.4","@babel/core":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.7.4","@babel/preset-env":"^7.7.4","assert-helpers":"^5.6.0","eslint":"^6.7.2","eslint-config-bevry":"^2.1.0","eslint-config-prettier":"^6.7.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.1","kava":"^4.2.0","prettier":"^1.19.1","projectz":"^1.13.0","valid-directory":"^1.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":"defaults","modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"8367ee72161ed5c00bdb09dc6eddaf818c1b3574","_id":"tiered-map@1.5.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-GuYn1BCiU3PpOHLpZkzZuOywyyul9mCU2A2Ff4XEmuOjQxI192ISiabo48/rcO+tUGndJNZiCbcfu9wwj72D2A==","shasum":"a6b21737d07a0e2ed34c2c292860df11529b98e5","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.5.0.tgz","fileCount":8,"unpackedSize":22936,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4vmOCRA9TVsSAnZWagAAniwP/iB+I+QuT88O9TKJ/SyI\nyyyHjNNqEIF5vpIjXi/UIbnaj/ujYp3PJiYRJZcYt8kFYuQlcoGO/ga7xR3e\nRqyNJQOiiW/Wrk+0L2D6W0ENjDgmpGHwNTgJF9KuHZbtYu3h8fsO0HznwMfH\ndLJWKR20Nyxxa1WVWaXb0gG8n7u446OQQo9QRmy4IfcF4L0mCxgtLf4Sbk9J\np/Az4vVy93ueaUGf5hNTuVouD75tkgg2DnJQOS97FBNfgzfe8KQNBvTMxqj1\n6EBO3tOh83V3BgJIQS2d7BUQ9niTKvZfiqCjtBSZr/gfvuCRyPzUFncSpw7i\nmfb2MyCNrMj8kPYvmOp4kV8J0OU+3LdJRsy1FlOL/mvn8TJ/K150bkcbuUsU\nQEnyr6weMktNHGnC02YeDchD3XMgABNhU0PNk5Ov0qpQOmrTn/11GojVhgDh\nc/dnxZQGJKPhzkkNnDdOhqVNvnMVoN3bv8bmwedQIVnL5cHNcoR5cy3drOLo\nzfdbVoGOX4KtDqrBwjvcePRFedW9fqZrd+mrIxKPlpoHfkD/zBGE9lYLvtAY\nqn3/CKw/mV3IAWBB4s6rhm33Qi2yI7nvZ6+fsFSGjFtzZV1aeZiiuptjM38Y\nux0ThVQf5G39N/OCn2AdE1CixddBssfG6DAt8Ke2th8VCAqs67Uo6yA+B9NI\nsew/\r\n=ilSb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCA4lMGBk0gMYiCE0rlWohHWv3BDa+P3NCE0zZfLBm0tAIgaDc7zdtXH9QLK+gFs+vjUlldsahMXlNbdfJbL10pDc4="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_1.5.0_1575156110256_0.7796355503777197"},"_hasShrinkwrap":false},"1.6.0-next.1575219669.d0c5dd22670ea21310358566c067bb182124eb61":{"title":"Tiered Map","name":"tiered-map","version":"1.6.0-next.1575219669.d0c5dd22670ea21310358566c067bb182124eb61","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}},{"description":"esnext compiled for browsers with require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.7.4","@babel/core":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.7.4","@babel/preset-env":"^7.7.4","assert-helpers":"^5.7.0","eslint":"^6.7.2","eslint-config-bevry":"^2.2.0","eslint-config-prettier":"^6.7.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.1","kava":"^4.2.0","prettier":"^1.19.1","projectz":"^1.13.0","valid-directory":"^1.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":"defaults","modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"d0c5dd22670ea21310358566c067bb182124eb61","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Require: <code>require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n``` html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is esnext source code with require for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is esnext compiled for browsers with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@1.6.0-next.1575219669.d0c5dd22670ea21310358566c067bb182124eb61","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-6aVWUCFC1AniLOLIfWd7JfV5OmVT30BSxTlNbaioFYQWoPYxRaaqOyJ1BZDdVRWJa9nCi6OxIx88iUC8uVm3xw==","shasum":"6122942276c3043efb5271dbc04b44db869ee66c","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.6.0-next.1575219669.d0c5dd22670ea21310358566c067bb182124eb61.tgz","fileCount":8,"unpackedSize":23198,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4/HXCRA9TVsSAnZWagAAF98P/0ITtMbXtZCPG+wKhs0U\nKroc4Cuz9HPLQCNYsOQSZEaDYFSuU6qfhiXsI12n0WtoJ+Ce5FYpt+bGHlXE\n6qpXT6k20GGpBp8e0NqbsFusSXnE+mykB9Wk2V86jLoHjPqPxUE/6gKlwFYD\n81YPtNm4S06OHiN5xx8rI29o3DrUje28CX4yaCAsQTaHJ5nkwNF0K8iJLoDs\nlMKEPv5UHI70ppY//C+MimW48HFaYqKhg19Vl9PjwOZCfemNkSZBESKKLt9W\nD3E8no69mtiVieovmIvxxYeMbglLQlRKETrnk3jeOU73qTrBsWrIngr8yN/m\nG3ulNsrL/RrlGHdUfkyYtGZLPMuuIXiALiQteQNuUuDbLQPqUqCwEiX+HdgX\nGQMEcRNAKh+Hl0j+1BUHczKXnNdrV6I1Dvth3io4UJAYWTxoU2vNNuFBEfvF\nty7yk8W93resVitcBrWSsBj9H+M2Hi0foukbwqaZWC1EZUfEyh2yQzeV6nNr\nnYfc4NGYGqPW6M1/wFDkvZL/QAJ0qLgE02522jDN2x9snnZ0UZdKUAd6ZykT\nBMPAFOvC9cpcoJo6tbVcqUhv4qNPnjw1s7ddv9Fi3Iz9wUmhvuH+g/a26PdO\nMlVRse2H6HeL+NtUXDBG7aWv5w9uhysnhQi1TYibQoT+hIYUUjYwy8GpDvWb\n9/v8\r\n=Nwqs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBvZLqMbhaI+HdD0N17V8Pg2flsHjM7O6zo0TomrHLmIAiEA/IGiRJKx+4HDDR5wWCxzcE/BINLvoBLPzNMo1DuD2iE="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_1.6.0-next.1575219669.d0c5dd22670ea21310358566c067bb182124eb61_1575219670950_0.3326618200537912"},"_hasShrinkwrap":false},"1.6.0":{"title":"Tiered Map","name":"tiered-map","version":"1.6.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}},{"description":"esnext compiled for browsers with require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.7.4","@babel/core":"^7.7.4","@babel/plugin-proposal-object-rest-spread":"^7.7.4","@babel/preset-env":"^7.7.4","assert-helpers":"^5.7.0","eslint":"^6.7.2","eslint-config-bevry":"^2.2.0","eslint-config-prettier":"^6.7.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.1","kava":"^4.2.0","prettier":"^1.19.1","projectz":"^1.13.0","valid-directory":"^1.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":"defaults","modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"d0c5dd22670ea21310358566c067bb182124eb61","_id":"tiered-map@1.6.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-w+KvDUMHQhaz9hgt/8yexEWib0qRX5Wn68xYRRIFqTkOgwCL688fsJdogmoOKafuZXUjzpHUAaQoJH0YkxLHdQ==","shasum":"3506bacd61651d3c90555f1a38f81797b7c516dc","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.6.0.tgz","fileCount":8,"unpackedSize":23141,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4/HxCRA9TVsSAnZWagAAg5IQAKEksHeb4yaZr9Jmbuhq\nQ1hSQ0MRGbTKWsyMeBV2A0styMzqInkpvCLqe8WdODub/+GbjnC3Bdn4V2G9\nz/uMHaOcTl0VYADNyJYurRxh4P9mlBQeRW7Vl9ljhvjiu1IcukPRTzxLxwfk\ngmUyTmFPZNPqvUZLp4DVs6ARsjJmxnxzNfbU0Lm/5bavDGJONAVD8EkxhZ0Q\nCjzcdn6dh2VEYKAu5pgKDySFrupO+goLcPN9M0UYUjhQ5RVV+VT7VxMxlgGF\nmzWGEr2gzOuLKLBi27DrfvS63TReycTWxgWOBjlJaTVgifqOEi43au2C0i4U\nxPpbozbRMYdFUhDUwBHghapnUxGjwpKecNpuTDgoZfZA1OTct8f+RHJ9kQgV\nSyfEd9yFmLU4QaM6Syu4BGzutcDQdj3TybF4rFkb/3/+lAVxOSz31Jitl9YA\nUvlO6z0qt5+UnH8CIb6AyhZrRF+qb7lMUmPWeIltT+wox+i8JoqsHJdrbJLO\nBhTctfb7syVbZTBQREbDHGw82Ismj8WvruwzI3BmUfR+l3fFSdmyNgkx+GKM\nWk0Sg4T/iB1ttgjl0O9hbKzL1G4Nf+iXpB0krGwQ0UPieH0qBzlQjeNT7n/H\nN1elJBLauN85a4VEdNXkZOKY/jCHPiSikaGRew5Rt2nTZGQ8vGC14dcYpDvA\nspAC\r\n=f5lW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAhVmOhOinE8StvxSRcFH0RTImdZMuI//aOmSATTxYloAiEA8JQ7hDDwddZGcx4DJsodvS9f/Bhr0kTjsDZNjJd2LGo="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_1.6.0_1575219697375_0.47003582327671634"},"_hasShrinkwrap":false},"1.7.0-next.1575922073.3bb8911b278aba02fa3b445ca28b51464678cd8c":{"title":"Tiered Map","name":"tiered-map","version":"1.7.0-next.1575922073.3bb8911b278aba02fa3b445ca28b51464678cd8c","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}},{"description":"esnext compiled for browsers with require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/plugin-proposal-object-rest-spread":"^7.7.4","@babel/preset-env":"^7.7.6","assert-helpers":"^5.8.0","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.1","kava":"^4.4.0","prettier":"^1.19.1","projectz":"^1.16.0","valid-directory":"^1.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":"defaults","modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"3bb8911b278aba02fa3b445ca28b51464678cd8c","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Require: <code>require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n``` html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is esnext source code with require for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is esnext compiled for browsers with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@1.7.0-next.1575922073.3bb8911b278aba02fa3b445ca28b51464678cd8c","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-n11tPqMJkVPVSsfSLEV7DwI/0pWzGI4BziTlPVo8yefNQJO9WJE0d9PH7AD+ZVlE3GRNkHafLW9a3S7utmnGkA==","shasum":"63ba00945853a615204af8d005b6d5982f5978e2","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.7.0-next.1575922073.3bb8911b278aba02fa3b445ca28b51464678cd8c.tgz","fileCount":8,"unpackedSize":24036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7qmbCRA9TVsSAnZWagAAtvIP/jYLriv3pqRSTxvgOo8/\nf3C9qSFhF3UG2pi0EF82P5p90E64bjeTHz+2WmQ9wgDhBXJNHDROQDZwUjhL\nLuY5jj2VGH1wK4WOzT3PSU5OLhqPPlxP9lpEGwus48JdBSvo/XLfx7VWBBOD\nkKFS0D3XW16Bios8b37IHSXY173XqpbAHQr//qjPtbDCRgcdAhHpWChSlxKN\n8OQNn519Tines1kmjfAQjH5hoqdKd13w9iGgABoLVeFtDALjL1UGKBCbaHJF\nrim8cj/7/tF+uB1H5QMGrzL+9+CIXa6FiN2aFMWgZCUJZ0WfODnmdJsmfU7Y\n8ZAETokrCcLBKmMacntEvjXMgy3vFbQFOBerVdxbbphxiFtNJwiKJF21OqPa\ngkKFlpXZOCM6sah9RVu3lOFQLlCZe8ItVLe5qAhLqJCBIYqFrLhsqCLICmdm\nmppVwrgoozZf0273SjNy8vcoqidRvQm87hDjLmRBflUNa6/EHyg26aqKtkja\n7kWTPkkQaGkABdV2m7afg6MkfH9QZJp1WPW5cBClhRdy7XVAXw+xnUQTcUcF\nPQAlsxyablXJ7FeLiS5bUxwWoJha8L7THkzd7Kz67wffPRo0XOX5aKdo5iU+\nRhbv++8XQzG5vQZT1WDci7k4HA5WPRQeqYlwScPjsLcPV6TiKJ4dY1raEf+e\nxAiU\r\n=Qxs1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEucRfkM5G3KhvqO1W2NRjZQxN6FwaGCq+cgjh9ddJyEAiA9AxlI5o7EiQHw0iG+aPr54HS0veB9FTLS9cXAJ2ATOg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_1.7.0-next.1575922073.3bb8911b278aba02fa3b445ca28b51464678cd8c_1575922074605_0.07188576052177775"},"_hasShrinkwrap":false},"1.7.0":{"title":"Tiered Map","name":"tiered-map","version":"1.7.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}},{"description":"esnext compiled for browsers with require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/plugin-proposal-object-rest-spread":"^7.7.4","@babel/preset-env":"^7.7.6","assert-helpers":"^5.8.0","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.1","kava":"^4.4.0","prettier":"^1.19.1","projectz":"^1.16.0","valid-directory":"^1.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":"defaults","modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"3bb8911b278aba02fa3b445ca28b51464678cd8c","_id":"tiered-map@1.7.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"integrity":"sha512-3G9BgS+fRwNdOzijvRytbpQp8xqNnjDzbCc9m88WMS6t/xMQoGnyEqOi7zAOlPckZkxbs9e3h45pHMLHisIwBw==","shasum":"ba2f6a8142897ce76c0f26f11257d4b0c0fae201","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.7.0.tgz","fileCount":8,"unpackedSize":23979,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7qnqCRA9TVsSAnZWagAAhSUP/RX2PuiPTvFNUJsMlkFe\nN+mN3sraFKfW2w7/xvn/kbPTvspR6z3a4zvRCQBNwaSvrVcLiRqMIUfQdYak\n+uNT9GwzZZBcOvnyEMuW0mIi6Jl1EOkDW2bkNmfnrP6M4E+viwvO4h50SR2t\n23lzaR9JEmA8+j1/mYjHVhU/6+MSP7U6l9YgVI33Q9aIr0HUNVhfyQC2APIi\nT5V0Vk9hJGJkLGqLH5rJTWdoYncHNYv0eZJAPhlpBS2Zkyv/v5HESJPoGQL4\n/fyTb1AYGiR4TY1MH8RZjSDN+Bbi6yYN1JdQVALn39DVd531dsccyYFtbs4q\njYUt247uVq1uNvFlje6ogIC4hmdtA7mg+XXqoQmKr7AlTuqGVAxRz0apOF4u\nX3izvXxLMpCyMEHu6jDHAYMykO/CHUx4ueFEtdPvHKo3t4UL2BaHGereIVKU\n7Xv2LA209JXkiqQnFFYRxs06YzXZ6spqVfQXvOZUWJCyFvUkcOwsnsic9pai\naKV5YCTtPCfmJcsRfIHcgp92rn5ScGgsqyOkE9nyMMMeDk9viwSmG292X641\nHCyD6DJMF3RFzyTnUhwOaDnZZpxWqMHYbe1lLeGdqXEOomnkMcKiu5QshK8d\nAuJp1yTQ+ee0QhOoL/MuvZFld8PmeZ/65vqVzl1VpOH4xq01wx8cRJx/bIlM\nx2Iu\r\n=nEEX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUCpO9UlO+LmAndoQiREMjF/HOZNiAHcicbhOjlsDe6gIgWLywdltRQhEhCo6LIk+S7lWPY+GkeAwtFijMpVDv8cY="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_1.7.0_1575922154250_0.5258125635881303"},"_hasShrinkwrap":false},"1.7.0-next.1584137913.51b96b09df456f86661d47e361cbdda780381e79":{"title":"Tiered Map","name":"tiered-map","version":"1.7.0-next.1584137913.51b96b09df456f86661d47e361cbdda780381e79","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","model","map","tier","tiers","tiered"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"dependabot-preview[bot]","url":"http://github.com/apps/dependabot-preview"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=8"},"editions":[{"description":"esnext source code with require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"8 || 10 || 12","browsers":false}},{"description":"esnext compiled for browsers with require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/plugin-proposal-object-rest-spread":"^7.7.4","@babel/preset-env":"^7.7.6","assert-helpers":"^5.8.0","eslint":"^6.7.2","eslint-config-bevry":"^2.3.0","eslint-config-prettier":"^6.7.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.1","kava":"^4.4.0","prettier":"^1.19.1","projectz":"^1.16.0","valid-directory":"^1.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:projectz","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write ./source/**","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":"defaults","modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"51b96b09df456f86661d47e361cbdda780381e79","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Require: <code>require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n``` html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is esnext source code with require for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is esnext compiled for browsers with require for modules</li></ul>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"http://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li>\n<li><a href=\"http://github.com/apps/dependabot-preview\">dependabot-preview[bot]</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=dependabot-preview[bot]\" title=\"View the GitHub contributions of dependabot-preview[bot] on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@1.7.0-next.1584137913.51b96b09df456f86661d47e361cbdda780381e79","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-+7JeXnHlkM1o17dx98cJjjZm1VqEOo94+RFa1zXQuZXuA4bruk/Wy62SlImjBr9HsftECJHdF781EEXvOBbcqA==","shasum":"a75cea8789f70dad22210fbadcad482f86868ce9","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-1.7.0-next.1584137913.51b96b09df456f86661d47e361cbdda780381e79.tgz","fileCount":8,"unpackedSize":24036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJebAa9CRA9TVsSAnZWagAAGcMP/33YS+NTKAhw2z9Ijgwi\nkegXjN7ugE5Oqv6DYhAzjrJrPlYDbZ1Ob1ICnfY8+pbyMF4QidDAuWthl8X4\nkWpkwWR1LFUvgevC100FKeEsq6hFxUCHAEtgR5DbdqrWT+RkUTrT7kbamCKq\naoZKPXbZ0RhdTYLE39YMbN/jTfG89WihTAzXMpgqIUvFjMkOHNYAtClxtJYk\ndLdOwo/1cpUyosh3wO10nOAomGnZ4HzuDsUy31LyrIq/AwjTwJuWHk0Y0UAF\ngNtw+0pqIujKBF6vRvNde96eAibSzq3qBLpy0kKs3stx1PEBk4COpsUlgIOg\n5x8ckX3vG+gJXV7GsN+e7uDOSzjFpA+Ey7xOWNwrXwz+2/M7l9F/zKElWVY5\nlq9oGAhOxGynQ8fBUqh1VKZ6D6Qp+2ZNn67YqgayOK6bzJgvqB5tpw9gPw/Z\nAzXZiB4XxErdGqWpD/sSixlt5DxV+0m19zTzH5obo+xWRoAs+zqwQpZwnFYm\nwyTb5YDmqoNF6Npco0jEs7KGYG5ETJxe0R2IXkAKriUuSxHFKXHfpPJfimHH\n7UPJYsdEdOMcBbi3zpyPUh5ZRewKMxAfS6I6zPI9rMbMnyP2BtkxKXYNSSZF\nJliEQilfWdK/ZkaYLwBcMYagz0Jd0A0r+yZyV+45A1sZ72cl5G7gm5r4Vj3C\nM99z\r\n=pa4G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAmlNFcGDIBC3WTvtDGlsk6tbtg1AEEbca6euDVqXy6aAiBc3gq9GtEF1rAS6njKp2I0vddybw1KGURSp2x+u1C/4Q=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_1.7.0-next.1584137913.51b96b09df456f86661d47e361cbdda780381e79_1584137917436_0.156604173775865"},"_hasShrinkwrap":false},"2.0.0-next.1589196213.32f61d67dd799ab249378dc44ec43521a95d3974":{"title":"Tiered Map","name":"tiered-map","version":"2.0.0-next.1589196213.32f61d67dd799ab249378dc44ec43521a95d3974","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"index.js","browser":"edition-browsers/index.js","dependencies":{"editions":"^2.3.0"},"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.6","@babel/plugin-proposal-object-rest-spread":"^7.9.6","@babel/preset-env":"^7.9.6","@bevry/update-contributors":"^1.4.0","assert-helpers":"^6.2.0","eslint":"^7.0.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.0.0","prettier":"^2.0.5","projectz":"^2.1.0","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"npx prettier --write .","test":"node ./test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"32f61d67dd799ab249378dc44ec43521a95d3974","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.0.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/index.js</code> which uses the <a href=\"https://github.com/bevry/editions\" title=\"You can use the Editions Autoloader to autoload the appropriate edition for your consumers environment\">Editions Autoloader</a> to automatically select the correct edition for the consumer's environment</li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.0.0-next.1589196213.32f61d67dd799ab249378dc44ec43521a95d3974","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-7e/GV4+om2a9g4VI2v+Fth3sMKQF37Eh4UbSD+lllCIoRySvzsfuCJXM1nMVH2obBzEdFBy4U2xjhYogyQnNKQ==","shasum":"4c08257c1628090b1c79723d62910ba1188ee3d5","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.0.0-next.1589196213.32f61d67dd799ab249378dc44ec43521a95d3974.tgz","fileCount":8,"unpackedSize":25214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuTW3CRA9TVsSAnZWagAAeioP/01KkJaui2sJEvl6Cb5k\nKtQksmPz6buWGzhlK+KiXPw298Vw5MXqN5UPFBMutgRb0qLDcTbN/oyYZMh3\nbihnCq5bENa+3ah3FS/675SXCuOWxHDVak0UVozNyyscVnLsHKqqXqxjg3NZ\n7IqH8+5tD5zDu3DcSUBpf0yR5icwMp1SybQUDjT3FbJtQdnRoGQ3+COcDh84\nLlLfRwFP+zQ/xRhVTf2tiX9U6mnIAogvOMxts2ip8wexPTzIubmor7SdHbq6\ntZFv3P077cQj2ONF8uD2rrgpmOVugfxlcBhSn99La73ItOoFFcyHtOzkBO8+\nClXFbXdIPRC3wL0HWrh07v3QIx2EEaHpDgCJWvlvpYnRWhyTsF0sL51jlElC\nQpuCZHUKe/jHa8S9zPhrZqnsaf92eBjXa5i3qWzSyDRhV9bTwb2W2Nkk8zgq\nnj1gUKzyCf/FcWvk1dAYum1es9vySLVmthg3/ng+CO0gx29ORgF7fRx3xA1D\nhHEVVw8FXdonj/oezqcRkSYCj8NLZ0E6pbkPzIPzkD2tz7RDBi7OZ9F5G8/g\nWRlqhcv5XRC5K4/eUYJF9feQlpBL5K+s0W9njnBHfH5DAyGXD/YGuYTV9pZq\nTGMOJQoP+Wi7JFhy/d2G2Ky6s+dcoI2r1PCPKksKeUqzzaaTXFLNi3phPnis\nsCtj\r\n=0hHS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfZfaeOHuTtaaKMLefexgdw6iyergC3OMCJeZGOf9Z6gIhAKHqjodSdmLEgERM3TZjNOSvKX237VSwU8vyqjyx11Py"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.0.0-next.1589196213.32f61d67dd799ab249378dc44ec43521a95d3974_1589196214577_0.578407341892528"},"_hasShrinkwrap":false},"2.0.0":{"title":"Tiered Map","name":"tiered-map","version":"2.0.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"index.js","browser":"edition-browsers/index.js","dependencies":{"editions":"^2.3.0"},"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.6","@babel/plugin-proposal-object-rest-spread":"^7.9.6","@babel/preset-env":"^7.9.6","@bevry/update-contributors":"^1.4.0","assert-helpers":"^6.2.0","eslint":"^7.0.0","eslint-config-bevry":"^3.4.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.0.0","prettier":"^2.0.5","projectz":"^2.1.0","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"npx @bevry/update-contributors","our:meta:projectz":"npx projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"npx valid-directory","our:verify:eslint":"npx eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"npx prettier --write .","test":"node ./test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"32f61d67dd799ab249378dc44ec43521a95d3974","_id":"tiered-map@2.0.0","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-xq/kZIl6OqoBZBiw1Sv+Cz8y3Ld+Mw3SEIoVFp0rkgj6HB++gxhHjiyJ/ylK1UTfpqNoBIlW+RmMxbIPrgqApA==","shasum":"78ccd301639aa30a833b43ac0ceb4885f20ada4f","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.0.0.tgz","fileCount":8,"unpackedSize":25157,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuTXwCRA9TVsSAnZWagAARuQP/RneYHbsT3eDBAvd32O7\nQKF0ziphL4/oQD+fO8UXBj44RAyyMxYIA1E5aoxzs/Nf49GSgwuPY5ekhNvk\n/pz6f9tzFCsCTik4K14F0Bt2d+wyQnOykvj+TpbKmeZ7Dicn5f/IrfIXRfGR\n7alSoECQn2r2/FX7SX9Xbd4y+kZGmnoNfKrGGHyspb/1m4Dwh+ec5WiPygBZ\nmFHfqSg3MEJW3lTP7e1GbNeHLcDDdQ5LsUfsPmxml5lTT2k/11i5Q+VCkdYO\n95B5HJ71t5Ba3+c7LmePsAi1n2FquiNqXHyL61WlPVaAnf5XnumCmet4GxBO\nG+t0tZ1sBTAdeRTxbsoY3z04AsRyVYOCPpOc2X5BiCYkkHeDbtwee2hQFjAW\nJ1e+HMORREnM4NDuUVyzLxdPHXGN/q1G6fzmHIvIeE6dl6NIaezQM4NEOcC+\nHXmE436HuGD9Kcgeibk5nN6Q7eZHT8dPAQZM4TPn7W7wvFYOV3fPgO+ez6HQ\nJvzz6zhoQG6XoQHeVMjpqpRz5JGd0KlHvoRCVa4GCPqCX0V8Uqcsnt5QEQzn\n8NzjRn3wUksGiGWJYkYIeEjAhIV6SlERd3HnjJJx6821kJAmZMz1bB1z1eli\n/8DRcBR0sS9DLO3h6+Dm2d1RAMFq8p4JvpQm4xOtpZA1Ra5H3dSvvZd3Jvi7\n7ssZ\r\n=9O3a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHzl4/5wHoF5lQFCZ1CLv3oIH6hHH+AKYv538+FRVnZPAiBbwll2oQ+1JQVKGt4wgwWd6VX3iOPLJyo4zo1b7Hc5fQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.0.0_1589196272400_0.8620345421514701"},"_hasShrinkwrap":false},"2.1.0-next.1590010738.3c263a277b2d2ff724afbc010938b9fb7261685b":{"title":"Tiered Map","name":"tiered-map","version":"2.1.0-next.1590010738.3c263a277b2d2ff724afbc010938b9fb7261685b","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.6","@babel/plugin-proposal-object-rest-spread":"^7.9.6","@babel/preset-env":"^7.9.6","@bevry/update-contributors":"^1.5.0","assert-helpers":"^6.4.0","eslint":"^7.0.0","eslint-config-bevry":"^3.5.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.1.0","prettier":"^2.0.5","projectz":"^2.2.0","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"3c263a277b2d2ff724afbc010938b9fb7261685b","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.1.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.1.0-next.1590010738.3c263a277b2d2ff724afbc010938b9fb7261685b","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-ZQKGU/IV1JZTh+lqehzrsNC2pAky+Q9GEK0u++qd44b7TQCnDJzRe6L7qzEsiGwYpa13dEe1kJciF11AcR/Lww==","shasum":"25bae432bb8440b05aca011861403fb1ae6528ca","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.1.0-next.1590010738.3c263a277b2d2ff724afbc010938b9fb7261685b.tgz","fileCount":7,"unpackedSize":24945,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexaN0CRA9TVsSAnZWagAAjHUQAIS3ZaIRPNcjGxpxwMhR\nWhyBpk1fpkIQqhkQiVi8WtgltrG1Hxz5wGA2adyPwtoE9qEN0mwXT5eZ64e7\nztmk5cn0G/TACwX5ZvOD51zWMiDN9thMrl925Q0ZDTGHW6HHkASDptHIhk1H\nZVgs1BheNhCCc56/GrhSHSFydhWrqxGMvhEO8/QtKgKVwbubq0Ex317VBvrZ\nGHuMWsPqvMcy4MyXWQi9iGDZxqZOZlklZOKj3MVYykQ2FPypzmiGMWbVCP//\n9T9cu0YiUIL0vWA3AdINPf1fuM69Rt7z0VUSEx+gqzLcGKli5Uj/1ZGaaFGL\nA0r0rVo1PsrFmmwYjwJUO9iQLA8zT+ix270Y9Mg2ev8PvC6y9S2/3Lk0KJ1h\nr/3m0NtnaJxyDPWMARjDYTcuDvohXRpqKDm/KsCtWeWn0sXuXrPw+7hE3bgC\nqAEVRnEEkgbHEVhAVFzPjGXO0Ql4HLrQhczb2nNUpW1yjfcq36sg6P3vC5XK\n5w7n3sR9x64uFO2xKxl1hg771LqeVNvYHpOTtu2czqgmy11U3NeoRC+cryva\nBM7SCIgfOnmwFgeHaC+Y9HXApmILm2WMzLyM/hge1cZij1Qon01VmULP/Hny\niIS/vs4iCaqHsh/0D8Q8tlKv5lgKMNuYt4AT7Dx0lzTHnGFiw93hhd2c7k8h\n5u+5\r\n=90Mk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDV3djSSSOL1RQ7lXB+MGVNWvcwhaux6PReT6FEzkN4WAIhAItjkQ5bD5LmSf/ebaunetIp4+O6pScgtUElh1zy47XK"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.1.0-next.1590010738.3c263a277b2d2ff724afbc010938b9fb7261685b_1590010739909_0.7199414111941638"},"_hasShrinkwrap":false},"2.1.0":{"title":"Tiered Map","name":"tiered-map","version":"2.1.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.6","@babel/plugin-proposal-object-rest-spread":"^7.9.6","@babel/preset-env":"^7.9.6","@bevry/update-contributors":"^1.5.0","assert-helpers":"^6.4.0","eslint":"^7.0.0","eslint-config-bevry":"^3.5.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.1.0","prettier":"^2.0.5","projectz":"^2.2.0","valid-directory":"^1.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"3c263a277b2d2ff724afbc010938b9fb7261685b","_id":"tiered-map@2.1.0","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-q5gdh8mdibKWCJZiOqMBE/ifTID2yBltn+TY17idaIZpFPZPGmkBtRI05xZvlWMQo2EyvVRWi1aaV+7zfkKh7g==","shasum":"755681dda8638c159f247b647f50a90f797a5a2a","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.1.0.tgz","fileCount":7,"unpackedSize":24888,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexaOvCRA9TVsSAnZWagAAM1AQAJI74FrDHB0zyd1Gip2W\nNcr7HOpGHWu4PFYGeJlfnzwWoSL9GNwwjlXVaq0ZhFyNJ6AaUGHIvzbw5adL\nXCFslyoethqF2IaCC81/tEx3ltWxuNr9bN6TiK4ufOP3+3J/apUGmWobZKnO\ng2nHw+nnyNuCRVsgkCzwZ5b8BFHQu2f0lKIYB6VHEwDLbkv6harJPmoOwix8\nptaabsqHu+fpS7O1tzt1mufEc+KkO7I0dcnLct+eFMnuIrcPE93g3WqcwcVM\nnhO559FiCb02EU59MvTPe5Vy/7G844dGU7F3VnhS0hfes4TBxNsci8Gu1JIX\nbNi70J24xlIFey6Kl45N3hlZR6dy9QMDwQ8CCKvnER2QPhjEOtcQBVSORMtJ\nY/f4m0rl/mjh0ir0h0znz8DE+N1KShV8ymNMdmN/ji5x3/NRvnfe4l5JJiQC\nx1JsxGPp5OLO0EQ0iDK1BBIsvERb+4pMDVYu8mCp8KeTVs+aiws24u5DWo8a\nPsrNtl+YfnXEVQ21s1u5gkzH88bMVIqE4zgIPKCO8cgn6t42GnGz1unKRNrU\nJAAnGdeHQqPGJCT5ReZJddbG1AEEYqAZEJSUKBPIRyXkhoL7SNPWDOeR5fVe\nvb2DUEO+M8nbpHwrVBtcgiUY5k18WVWWDH6AwoV/DbljAe7Uqpf3MegE/9hO\ns6/V\r\n=uCt6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLlpnZKVFAgzOzoZsgO+wks5R/O1ZsWr4247whNE56BAIgaXNadqI922Ac7Fq4QCDowBIzkhoXcsy/WlJ6CN81epQ="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.1.0_1590010798612_0.613997093622958"},"_hasShrinkwrap":false},"2.2.0-next.1590065536.75fec03cb90b18884b82f7ee0ac51a77f9770d61":{"title":"Tiered Map","name":"tiered-map","version":"2.2.0-next.1590065536.75fec03cb90b18884b82f7ee0ac51a77f9770d61","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.6","@babel/plugin-proposal-object-rest-spread":"^7.9.6","@babel/preset-env":"^7.9.6","@bevry/update-contributors":"^1.6.0","assert-helpers":"^6.5.0","eslint":"^7.0.0","eslint-config-bevry":"^3.6.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.2.0","prettier":"^2.0.5","projectz":"^2.3.0","valid-directory":"^2.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"75fec03cb90b18884b82f7ee0ac51a77f9770d61","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.2.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.2.0-next.1590065536.75fec03cb90b18884b82f7ee0ac51a77f9770d61","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Dz7QHlck1cv7jOw8991FFbBwaubwQM06Xc8QrluzrspeiL5PqAemej9HCvKOSk2IUshhJZ2RTWJaPQ+ijYIl9A==","shasum":"dda461032e3362721abac69f68d31770396ebcfc","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.2.0-next.1590065536.75fec03cb90b18884b82f7ee0ac51a77f9770d61.tgz","fileCount":7,"unpackedSize":25138,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexnmCCRA9TVsSAnZWagAAcd0P/0mx9WuWjw6hwxeJulW2\nwpEBNsVnS7kWLAz6AMiTqZy2YkpoOntHMOyatRbFxCf0+8AOS88+CF9JmxqG\nnFIiNTyLys6lr/XYvlnZjYRDMW7ybuJyVnRXikLsZunoyrg/p7rGM/D1UMTt\n0WXu0rOQra0FgZ7gzTi17chWCGeTbbz32Mt+X8LEZzeZLqEgGodA4cbzQPiD\nagRR8gA84mm226WlItQd+VN9325L8ecdvLuyUIcDDU2h3Kc7GaqkRhMsokhI\nhdiTvAnIvLZLn0+nnnKVYC/nw4ULnAmTmwKD/gijSi+HTiU05dK5KtW6Nsfa\nvZpWf8SPgLr6Btrt+7imP5CRwT6C0cSh7Lc67A7ZqxBawSyjk4/njrG5jF/G\nz6b+QUP18CyKDdz6UHCtaottFAafcutcLUOXfWjnpJbXuAC5N5UBOL14HTo1\nAxTeSSkMM1+YEUhawTbgCuvgY7TnM5LYFUwVw0r/AIUWB/4z5jPwfEyIlizI\nok9kFIkNYDlj6Tq9pCQ33hOWkp0IwviWV3cHi9ni6+dEqYeFpsOCfCfo+JzN\nG/qwvIaTkN+J2rIa64Qmxja8OqwRGtgalpwhwFMSRzcUZyM5cJ+IkI2ocF+Z\nZjNZ9etRQGNuYGsjhssZbXdEdnsVe2M6QtIQtBozC6VmOarygnZgZ84WuvlW\nEav8\r\n=6CeW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdnzoBWDbv6jC2P4dPLZxKoSxBMS+bvUoDPOuLdQqU2QIgbY51FKwzByMdTp9M6gWykiSCVUFuxsSaeGIQcZuugj0="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.2.0-next.1590065536.75fec03cb90b18884b82f7ee0ac51a77f9770d61_1590065537668_0.015035316435971335"},"_hasShrinkwrap":false},"2.2.0":{"title":"Tiered Map","name":"tiered-map","version":"2.2.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.6","@babel/plugin-proposal-object-rest-spread":"^7.9.6","@babel/preset-env":"^7.9.6","@bevry/update-contributors":"^1.6.0","assert-helpers":"^6.5.0","eslint":"^7.0.0","eslint-config-bevry":"^3.6.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.2.0","prettier":"^2.0.5","projectz":"^2.3.0","valid-directory":"^2.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"75fec03cb90b18884b82f7ee0ac51a77f9770d61","_id":"tiered-map@2.2.0","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-2K5CNECOy2DUCxBwn9IXb/7/3U4htuu2zy8g7fcjAU89IcDB1aoMEvA/KttoubZiWjib2dRrKtRuRFce40PWLw==","shasum":"4754486f8ba524c84a7b6bd63d38e04353f9af68","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.2.0.tgz","fileCount":7,"unpackedSize":25081,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexnm0CRA9TVsSAnZWagAAHS0P/14W65ZBlkiEEKrkwMZt\njrvXhSsQ+aaVVa9t3OsbuD6iZczrecdgDCJSJwwoDMeTlT103w5/GEhe13WJ\nUDSIKFxagz3eUunKLLXJTifG6OK7qeaGu4OuYOKpClolGNd6yNq8Dxg48V2Q\nfywR6X3uh74hD1pPs+ytefBcj8taP1N2TSfOO+x1EjHPr+vOQXd/T2+WVJRR\nmbwzBlZMZGGlfqjPHz1i4qhB/FZCU70wHJBAgaV0qoAAw6P6cjTpu+bjAaD1\n3fq+s5R6TZ5dL+wKKsiSHP5mT/v6O/+4L4XSftHsYY88ZR/7XleFFAFmmNdl\n5Wl5fsAIVMSszp920Xrx/MAIduiOTsNqnm9S3x7Cbh9bSXw1EO3cZqSEu/A5\nLV7gjw/11+H/tyTYg1L/aS/m6RSxQ1KSve67ORV1remVphNbOWZkZ/CSRhJG\nBI6ulwTRolOYkzQsEIsRbVASeC2zfmnFkd62Myao9NpcoyoSEYf+HKbEhfQL\nniAnwzRmOOPYc5DQGUKRM4glIGixFWqXn4n0+Q0rrVrNVGOI8FjuXvJpq9UA\n8eD4YZoP6wo8nWmXtlT5OJFKN0+sYKvPo2XXPpQ7F4Wt0AG4twpYm7l5dCJr\nPU4KEN608NcqgqrOsmj3KXYftU2yboWaS5glDjO7SVwZXKrfDlTZtC1aGql+\n88fD\r\n=3da6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHZmYXYZ2/2FDjDkKnzHq3B+2D88Bc8Dqeu5xuTVfuFzAiEA5X8Pe98/VQ67zczcNNSDp+OoMYamLjHgKsD7a0HxAPo="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.2.0_1590065587766_0.7406786707993971"},"_hasShrinkwrap":false},"2.3.0-next.1590082786.2a1f1ae698a1e43b5327acffe120d7d4d3699997":{"title":"Tiered Map","name":"tiered-map","version":"2.3.0-next.1590082786.2a1f1ae698a1e43b5327acffe120d7d4d3699997","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.6","@babel/plugin-proposal-object-rest-spread":"^7.9.6","@babel/preset-env":"^7.9.6","@bevry/update-contributors":"^1.7.0","assert-helpers":"^6.6.0","eslint":"^7.0.0","eslint-config-bevry":"^3.7.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.3.0","prettier":"^2.0.5","projectz":"^2.4.0","valid-directory":"^2.1.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"2a1f1ae698a1e43b5327acffe120d7d4d3699997","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.3.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.3.0-next.1590082786.2a1f1ae698a1e43b5327acffe120d7d4d3699997","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-3vnmpS22s2UEcRLXjfMJ4xX/tvrKc00MqfC7IOrJeth6ANHSmAG/lfXhDmM2e988A/dQJy8Jw/XzpoEAkIaZJA==","shasum":"4646f7304e51206e2476e257bd5e5f97ccaf7496","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.3.0-next.1590082786.2a1f1ae698a1e43b5327acffe120d7d4d3699997.tgz","fileCount":7,"unpackedSize":25331,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexrzkCRA9TVsSAnZWagAA/cMQAJeU+q7i8971qEsom8UU\nfSap7QyVVU1BZ+bjs22/UlGt+gfoGJiKxjB8C3KHY6zx4P6Ei4NL0usQApVv\nYpF7bjhladNQXQgP2lhuejf3TX1uVVtS+M4PwnIp8rpSrtYnV/a8FcZNR+BU\nhENh7j3D7N5Ysz9aTpYrobXjBnUaGKQqjztyeaE3nodH9V7Doa67Kd/M8ojn\nQSnxFELQf41196YYM3Pne4QWQTgunTyZdt/HXaius/VVqadlM+LwuUj0B2s1\nfHWLIh6MB5Klg001WOXZUj58jXd+MgMn++43clzALZ/0regXUSLmR7elFvSC\naFJ1ZDK9c5dz6ns842LpG5p918Fp1OZAehdrwJcNH9WJXYC0Tn9NW5rZUqf7\nJJHZdoYstGgacWKUt4yHZhwOJURSwVHtO38hJRfRogZnKeNFjdmKc2a95w21\nWosX+IhKK4gJxopt1tsK7zxe+AVcO1yZI0FgmkB+9YJScNCXL9XCs4PtILqd\n/9FCd0KPvFhGryWafi4/aSV8fVs9CXdysJrr3pJ7zSYC2lV+e3zJA++eI3XE\nn2aeDHoEgQZkb62wNbeTCAyphbiJBsh9VqOFe0aDoRVDr1ivOScN402M8izN\nXS5V6JOd+mjyG5yglkCvSfzHrmlut7aC/XCK+kCX3ri8imX/f9nETfoVOXfc\n2sdK\r\n=MRhr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsRsqbrHNWQn4GBL+tkSwlrZ9A4n/J5yJaAJmmGY2ctAIhAOSorNMf/l1Wf8WrcdCbCFJU+hnAHZBRWL3x7w7xJZwD"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.3.0-next.1590082786.2a1f1ae698a1e43b5327acffe120d7d4d3699997_1590082788245_0.6662714417527091"},"_hasShrinkwrap":false},"2.3.0":{"title":"Tiered Map","name":"tiered-map","version":"2.3.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.6","@babel/plugin-proposal-object-rest-spread":"^7.9.6","@babel/preset-env":"^7.9.6","@bevry/update-contributors":"^1.7.0","assert-helpers":"^6.6.0","eslint":"^7.0.0","eslint-config-bevry":"^3.7.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.3.0","prettier":"^2.0.5","projectz":"^2.4.0","valid-directory":"^2.1.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"2a1f1ae698a1e43b5327acffe120d7d4d3699997","_id":"tiered-map@2.3.0","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-6vGmidAkGd57j3W5AOf4J5cGvco4SfArkP7dYMZoDfg7GvIWuVkq4OVuyy6DqU218C6Y5ulP7vuVQUXRD5lAzQ==","shasum":"5953cc7894bc9adbb84edc65e1d1963fae7a626b","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.3.0.tgz","fileCount":7,"unpackedSize":25274,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexrz6CRA9TVsSAnZWagAAOlsP/2yOr1t22HqHUKmFE7gL\nEYuElQ8454T4mWtXrCVVUKyToCf1KcqA7SYQrkAZwDMWpXzpnJWJ+6VPODAs\nh0isf7rsFauGccaaBoWk3ilJTHBym5yGY4myA+Mgkj/ODiyzSAap5bYmWd12\n0GiHF6Ag2FZbsnt962GdX80/dMLaRFhmHP+2EZ8AdcxZqiNWh286F8fRI1E4\nsDuWOd75RmRfgpXj/r4vI9ElRZvIPmarLRwhvTsoQJ3zSKWWbeyWJ6/N9qnM\nwEH6b1MOS8PrLsUc95qfKDkwWkx1VYNirzwmWLQ5fsuOzmQrBN2W6vgunJeo\nwpuOQTk9C1xI3prodOp+w9avWmg3By6gT+XETzK2M5DkotG/W4zrCDp8IMBS\nDgA+Xh9ihsxyN28YdR95g4dPURNbREvAIJ7MALNo60Rj5e+YlJKz+K3DdokO\n+9OcmFMXiHIbUgBU95RunG0bAO/NJ2Pjf4/mokqiGXZ+Xv3uMem49EPyUtKC\nhf1sMxBZTS81FC8SHLqjjZHoFB1dEOaTCj6BX8VEYBx/2zaybC1lqoJkPGji\nFiRjsZ+7xZvgq3erfSS3PzLJAPoU9ZsvVXbO3b4T6FwVUFMorQLI35g3Yaiz\nfaOLuyF5vkORI4EKPM2uNRFwllo+alwMp10MUfj1GI786xZAXbXjNZhxWOBa\nJCRI\r\n=QOV3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2tH4BIwSBsoLaQWx+v4/hsX2iDKXQEXvE/intWTkR7QIhALNpeDNpoyMxtnJSQUACnQ69XJKjTbd4baLzZsSQoIjK"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.3.0_1590082810284_0.8784896824860142"},"_hasShrinkwrap":false},"2.4.0-next.1591787232.b8d3612230fc959a3ce763cb6f7d38ffa362538c":{"title":"Tiered Map","name":"tiered-map","version":"2.4.0-next.1591787232.b8d3612230fc959a3ce763cb6f7d38ffa362538c","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.1","@babel/core":"^7.10.2","@babel/plugin-proposal-object-rest-spread":"^7.10.1","@babel/preset-env":"^7.10.2","@bevry/update-contributors":"^1.8.0","assert-helpers":"^6.7.0","eslint":"^7.2.0","eslint-config-bevry":"^3.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.4.0","prettier":"^2.0.5","projectz":"^2.6.0","valid-directory":"^2.2.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"b8d3612230fc959a3ce763cb6f7d38ffa362538c","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.4.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.4.0-next.1591787232.b8d3612230fc959a3ce763cb6f7d38ffa362538c","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-FgC5Rm/5tQCl+NAel/ve1sArvauWtaQjWyoOPhzHcBFg7ap+kUA4A5cUOqxlGqVf0+Fv2VlFxjhrcaGI5x0v4A==","shasum":"89b47aa572aebfe71433ff296d17357ffca5f1c1","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.4.0-next.1591787232.b8d3612230fc959a3ce763cb6f7d38ffa362538c.tgz","fileCount":7,"unpackedSize":25529,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4L7iCRA9TVsSAnZWagAArkoP/0tx5i2T89IOHLA/FX8N\nTtu41v9N9e46p/groWf2qIzfIsokWqqm0/Mp9t5itnhcFKV0OzklB+Sggq1A\nthaID5P1fWM7LqSAUaKfKmqBsDFL20BPqpAJ7Fsx9vsOMyuTC2oR/rPUsFDc\n/OKIHARrezkrDkm31PR4MixRtEG03KHI2rO/qhFMkz9ni1rRfXY9YXKZEVZD\netVk9mR5GkLyizcAGIeqrwEPUyNu+y2CeUnmCJd2rffqkcsPtx5+cnr+Mcuy\nbgu6e78+m9B/vpgsHwS+FP6q+H2U3poCqt7D8aIDbZ5RJijS1jnw+6J2mQ1s\n6AUfJWMp7spvyBMEYlVBvtKJXQLl0R7QIA0p52S/noNt1FEpkOyOTF7udvw8\nG9j14pYr0AnyOi2xbvj5pxgG1YbNmnIcV2uOfM6niW+qZuVV1FmGmzC1DAFG\nJbT5g9JCyt8HynLH6EsCsu4LwedGJWr0b9q1jNh/GDMUUda4XIHWkloBbBe8\nQHCUly0tnbD49rFXUL6I33nVqUKH8rEcgacFit7tVj6OC01PXkrh92KrESLs\nKZ7QPqgTY7snvcG1m1L5wus5EW3UCRaTSOFiXIhIsKbCUx6pFFQB70PCeWF2\nPyROJgoJ2mkzXTzPEodw/oeyL09Ebg/o9mKfdPLvkQrGwDWBkWwYT3hT0TfR\nBF7q\r\n=Hy9H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDK+R1tMUZlWntWot/DuQVUrDUG+fs0bqzDdUTh/0tUdgIhAMciqIL2RkRYzQKkTOAzpkegxhZR7Mh+zTp0gIKoNry/"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.4.0-next.1591787232.b8d3612230fc959a3ce763cb6f7d38ffa362538c_1591787233601_0.04477230201727811"},"_hasShrinkwrap":false},"2.4.0":{"title":"Tiered Map","name":"tiered-map","version":"2.4.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.1","@babel/core":"^7.10.2","@babel/plugin-proposal-object-rest-spread":"^7.10.1","@babel/preset-env":"^7.10.2","@bevry/update-contributors":"^1.8.0","assert-helpers":"^6.7.0","eslint":"^7.2.0","eslint-config-bevry":"^3.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.4.0","prettier":"^2.0.5","projectz":"^2.6.0","valid-directory":"^2.2.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"b8d3612230fc959a3ce763cb6f7d38ffa362538c","_id":"tiered-map@2.4.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-V3FKrvSLH5qcaixpZDrUY138JvmQtoYP5cEoDFQ6gIl7FXGZlpk+CWerN9cU32PWxdPdx9G257cCvQ2K+XPnzw==","shasum":"f98b38acf20b003780cd4ef6aa2057a8204f0e60","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.4.0.tgz","fileCount":7,"unpackedSize":25472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4L8fCRA9TVsSAnZWagAALNMP/RvPLf4ViUom/OEQyG85\n/1abLKLShREaaRmFGr25hfDjzEn4aGVyWokX1wva6HfsIkxypXXMc0HiIxdd\nHq4goQQVslyMt8tA734lAtQopTslLPM4slyBKFDR4Pys15SsoxuNNloDCVTM\nlQKT/ypndYmSdpfl6o9yhKFHlvsMXTSjJuuYhIw+jT459D58jFrLG+xpUCJE\nXPt9TVdYDz58On7nmGGh2qo6S8+lLzpPhqtMiVfPdXmALIcKOCglHmvqkZJm\nLwVif1jyZkNE+tmtQmDpB0+bHZW3yvKWv0V5rJbd3iArKasJElyfDOLXvv+a\nafq5bYFBy5vHRlEKkg0EbpTBI6d5BhDRu7O5lqoZ6MND851Vba/tYVRErXsV\n2YorXcX8GE6nH0p7DzZNq80f4rsHCUPlXyqk+y9s9vDkfePBNfTqIEymmXux\ncTeekl1/3uY/6W/3ESV5qK06xhMqWDq/lLq0NSon7hSh0NPMMr3V+d3XnUiC\nd4Tqu5sBD7Rvn7iOlJNTn77gEYjyNPLLQnVMSH7jwgoRK9MnIJuLckPruUad\nNaxl0Yv07iiB0o6cY47eAbDSmOqSsA/lVltBwGQiQRWe5ma4bVbjgb+av7ot\ntLTqkDN+aekV2KWDm2Jd6ZWAG1HDM3WUzSkslGUMs8auxb+8vCXBGhmd2Umw\nJ2QJ\r\n=w6NY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFaeNxTtZpT7qj3EkluYShkUSXnrJpaY18ujwNz0p+OtAiEA2WlL04zBSiTPw/7P9IOFOZPnt3jOIltc5b87zwwjjoY="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.4.0_1591787295505_0.9886768235154695"},"_hasShrinkwrap":false},"2.5.0-next.1591803133.4d72e1fe4709d899ec0173330497cdd7235cf736":{"title":"Tiered Map","name":"tiered-map","version":"2.5.0-next.1591803133.4d72e1fe4709d899ec0173330497cdd7235cf736","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.1","@babel/core":"^7.10.2","@babel/plugin-proposal-object-rest-spread":"^7.10.1","@babel/preset-env":"^7.10.2","@bevry/update-contributors":"^1.9.0","assert-helpers":"^6.8.0","eslint":"^7.2.0","eslint-config-bevry":"^3.9.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.5.0","prettier":"^2.0.5","projectz":"^2.7.0","valid-directory":"^2.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"4d72e1fe4709d899ec0173330497cdd7235cf736","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.5.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.5.0-next.1591803133.4d72e1fe4709d899ec0173330497cdd7235cf736","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-njOXZJxcRbIm0O7gKydQ+JRZFOVz6mV9xrMCCtudIqADFcSzXXDJJx4BtWnYTyJ0hZBgu44M9PgJ0QZrDSawAQ==","shasum":"5ca065d4b514705003707818ea9618fcd78b3a38","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.5.0-next.1591803133.4d72e1fe4709d899ec0173330497cdd7235cf736.tgz","fileCount":7,"unpackedSize":25723,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4P0ACRA9TVsSAnZWagAAxhMP/ishjQl1ST4PMd5t6uka\n+MzKM8H80pRCDF/fiKuL6jh47ASWts/2s43VHO3dw8o4fe9v+/0RAyH2J2Np\nRJCddLB9fjKbAaD4ATCOTnB6I5ZNE1GfTJFoxqu6nwpYKPzA5PFUuaysW6Q5\n1Y2qkmpjN9wUC5PuY5Bz309PxS8DA2Q2yo1Isr8VCk6T7CTF+2Bk/9QLBS4P\n1rQhD9W/jovSSIPtnGkGB0b9WYrwDGYJHWf3nt8+pxa5Vy5hT+32G2MXMdNs\nfGFFac0cSwtBqmTyH+gPSmlySCjLe6Cn/Qz3AxDx9UC+J1OcCn8BvPHs23pA\nJOV654oqKUIx6Jl7T8Z/nNLB+BYDHJGSWNS1/C3r0BtL3xtv9FEZBP57mCMr\nEiDTjc6xEQn6jTSuGXv8cneWCJkveFuHR9Bqv0BsVsOoI3FolAVKtqVXYPjo\nz2vgtB5ElQ6YReuawYrBRmq6aRPl7WmDR72PrgJHa303B8SIHcZdKCP7Ubcs\nYqNGb5Ua0PGUGvrtZVXoTKqPSLo0beK0L5xl5mZV9fCR4GrjtKTc3YNg1Idt\nF4vMYQHySk4VQA4XQASVabBeoSLT9805cA5Pwt33WKrb9XYZSY38bBt0CnFp\nRkuEyhVdx3aMmrmKuF6cL8ZqdJ59OxkuT0IMGMmKCfw6oUMU7I4H/nlnr1xg\nG5ns\r\n=8xw0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC/XzinQamBWqfufAs4GibQRf+WCqPnl5qNo5FMCLvN0AiAemLWU+BR/H868803HO8gQrQ9LWptslQClDNFY0KqMhg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.5.0-next.1591803133.4d72e1fe4709d899ec0173330497cdd7235cf736_1591803135517_0.07362862676749837"},"_hasShrinkwrap":false},"2.5.0":{"title":"Tiered Map","name":"tiered-map","version":"2.5.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.1","@babel/core":"^7.10.2","@babel/plugin-proposal-object-rest-spread":"^7.10.1","@babel/preset-env":"^7.10.2","@bevry/update-contributors":"^1.9.0","assert-helpers":"^6.8.0","eslint":"^7.2.0","eslint-config-bevry":"^3.9.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.3","kava":"^5.5.0","prettier":"^2.0.5","projectz":"^2.7.0","valid-directory":"^2.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"4d72e1fe4709d899ec0173330497cdd7235cf736","_id":"tiered-map@2.5.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-/pj5k4qJ0bt7qLoi2a+vR5/ITXifIMOQR1eTi/eYzBOs5EmWdA4Tlq9DXlPD3VSg9nwv51l5IDfRsLIK4w9afw==","shasum":"a7426cbf1aec2a207ff8d69047fb3f3add243f8c","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.5.0.tgz","fileCount":7,"unpackedSize":25666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4P1MCRA9TVsSAnZWagAAN8IP/j4UeMsXKM+eR51M+5id\ndLGb1ZtHpoaNbRtmQuSDnGuVCoI/3wGZfSevahjDaB9TlHC5om6RAU8EYdE4\nzu1/9BWWis6heyORB0l89qbPRzp64uOIxSpCYdcassAs3yuiJZbP0pzJeQoX\nz12cBsPTN7UaXhhHc+9fBgEBh13gwwsfCSWK3yWLy+Ik2xmY6pi0KEVTRord\nwjMd2TQrd2QPyiv7+WrDdevEf4zkPWgdjIiPPzy8ODb/BByHlAlZdFzMoxUg\n1PlB5zbGJ09UZ0JaR2zG3Ym2Zfn30cH4hGNgxwCp3X/65c9zArQO95rYc365\n2h0jjs+CQnSOaeVISkQhG+Auh3zsOS1m8yAj9xmUXbXRa2jWVsJ2IKeZgCIo\nYujwMVeeb373UGMByn82n8bbBmev06XTh2yTwcmvolE7dRmQ2/b/c7lAa1Fx\nsa6H0BKjScG68QXERHAtpG2BWvShIbTfhayQ4/Vw7GEt1XUuyW/2I7Ul0tuZ\njBHWVlC2J+goG3xBzl07+AzOxPYbk1gp4fSQ3a8khtlrQ4vSVUSK0xBgTn45\n8jcdTWhdUNJEX2xB526TuPNaHe87EuHUE5VfnaHBiVt5puY+qFRcWoqXDFB+\n3IC9S/qRcrtjavHwsKogMUJsfyXLVyOCaUeJkW5/lciIJ4qikeVLBVAjDcie\n7iWZ\r\n=uhz+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEmXfg1LlFtXM0cDz4G+DO0Ade5tX1lN6KqheXoqkbMLAiBLqKubqfHSX5FTABvB5NYV+vrWT1MXnCpRgFqNtZY2Jg=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.5.0_1591803211906_0.9955294416970275"},"_hasShrinkwrap":false},"2.6.0-next.1592652490.7fe771cefe05cc63cc99905a840974cf232301c1":{"title":"Tiered Map","name":"tiered-map","version":"2.6.0-next.1592652490.7fe771cefe05cc63cc99905a840974cf232301c1","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.3","@babel/core":"^7.10.3","@babel/plugin-proposal-object-rest-spread":"^7.10.3","@babel/preset-env":"^7.10.3","@bevry/update-contributors":"^1.10.0","assert-helpers":"^6.10.0","eslint":"^7.3.0","eslint-config-bevry":"^3.10.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.6.0","prettier":"^2.0.5","projectz":"^2.7.0","valid-directory":"^2.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"7fe771cefe05cc63cc99905a840974cf232301c1","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.6.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.6.0-next.1592652490.7fe771cefe05cc63cc99905a840974cf232301c1","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-hFHKQt5eMytTWCxDOSSB+jvrOMt4Qt1Ocsl5p0N95pPqWErE3i45T3tR45Xp5tC0D5QdjG/wdYJndORuKh4bIg==","shasum":"0fc0aad453f167245fa0009c9ca9459dcb504474","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.6.0-next.1592652490.7fe771cefe05cc63cc99905a840974cf232301c1.tgz","fileCount":6,"unpackedSize":25651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7fLMCRA9TVsSAnZWagAALIIP/1faBDI9y7EJYq84sR6k\nStTtk0jISSBgLhcwGqdohjczsJedMdDAWt8iA1A57yBGLBJAqiX6f+6sJQFf\nHCK6zlj5P1zC5POH9GYv7nWaFDZic03iyyGfeQ70IRr42ELF38B691I3o8n+\njOqbXuUuOnDQoyeueKUqYtuNA6i/oC0p29Nro9T55ojrs49TywVrLdQsA6p8\nYtZzsDtWJg/KEJDB1+rpLwDB7slUN0N/llTYDZU8vujvS4nk/gODrvWPQUnA\nEZk6CJ4V+TBWK/eNw7YuxCq8T+Yx1SNaT0yy4izDZSGDyPK6OwI8cBW/IQG1\nnC/ZM9ETZlUeyClIlKCkERrJbIoKQwTgk+UJQMogqVtrsAHIhQf/NUod5tt4\nDas6itlVEuhM/TsUwxc5dV41HDsT+z1UKm7ALW/vVUvjKntcCIhI8QTtQnrU\nu5677GukwBzsNRRtmZIE9gKz7P0ZR1sjgKmrLye2QamI6J3PqFeDbo78NIUB\nyGeNIpnGzZ04zSb10EATFMPHd7AQ0xyKFC1dDl8NZp/dAhv2RospQJex5U1k\n1m1JXHeCji3y7m1ooeP0x4rT1J5H+Tz027gzj4tPqV+mYzR8F5MKT31pMPnF\n22nx+S8XqnFrlhKCf4YDzz8FrXkBcx/4qlRkXfWFQutnexhfwEym24Ly3yQD\nH4ep\r\n=A6kz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEA4Lf4N4tPcEzOuN7jWrYBxRdm1svcxMlphONplTTSaAiAQYmABCDDTczExgtxKPRpdfvYPMns5/vuzniQmxrdMGQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.6.0-next.1592652490.7fe771cefe05cc63cc99905a840974cf232301c1_1592652492162_0.8042724537259653"},"_hasShrinkwrap":false},"2.6.0":{"title":"Tiered Map","name":"tiered-map","version":"2.6.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.3","@babel/core":"^7.10.3","@babel/plugin-proposal-object-rest-spread":"^7.10.3","@babel/preset-env":"^7.10.3","@bevry/update-contributors":"^1.10.0","assert-helpers":"^6.10.0","eslint":"^7.3.0","eslint-config-bevry":"^3.10.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.6.0","prettier":"^2.0.5","projectz":"^2.7.0","valid-directory":"^2.4.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"7fe771cefe05cc63cc99905a840974cf232301c1","_id":"tiered-map@2.6.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-eyRcVguwzdtiEk96dLShE1iEFSriytVSBFMAZh/DcvRbMsARuqt7+RW1yX7O3iKeqCKiBKngfKKbUTAAuedfVw==","shasum":"bca8b8471d8673c7c73423f9a6a0961d3a74c9e5","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.6.0.tgz","fileCount":6,"unpackedSize":25594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7fSeCRA9TVsSAnZWagAAdCoP/Rj+JEbLbGSIxun94ClJ\nDCGZdKx+3NRLlD+bYEg0ewKK2AZh/IRzHO2lBuNBFRjnIYUjWhblZgUiAXUb\n1OunOkozRbW1quPl/6tl8iCQxZnLvQvNbUuAsQNOkO+yai/j9UJ7iNPvzDpF\n75nsiaXw9/x0p2vYZI/5IFEY2vH60o4rsx9Yj1/4jU8KuFwC3o9bqRSMF4N2\nQ6Utnfnvpk4yDiZoGVp8J4qHFTRm0z/906Tma/2LpdiEHDo/EMGm1UHaNgyE\nTyQ42F7nbCCbK37UBMuzjQYZsAwnS8affVt+G6aIYL4uvtVDlUoGzd8Ra1Zo\nf/X0yoZ+JNoCfdhCfU9uuWIPFnfSdA+ij7tFdHWNz0zp28hxUMGOm0BjV8O2\nY6djyroBif5htKf69vR/ChYaqXJLHUCVysrrp9+/Y85pwbtZtSUfFRFllzwF\ntJp7wXm1NwHPZb+q3Ts8viUUIP+l+bgJZ1Np17+AS9hI1putqKXnPnDjYt0d\nbB1xApNhPWhq95JMawTp0I1YrAWCqlrBXBlNFZaMgtY+xbMmLZ5w8fkFNKy7\nWnAlPdsIWLMlAV4rOZ9UZaYN9JACmN/uGTqpinGcBCuaaUrqYV87FuBIyGjR\nUJIhBBix9AnFjY/x5AY9p985k6LyBfpPht/F2WDubH1WWlNDwGkGrxl0ziiC\na29C\r\n=p2y9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVes/7Ogd3B/Mw6IQ7xLtG0IUFj1fMUvrxv0ozR5jjxwIhAKeSAGnC2KxO3QCdGbaF94N6qaaTxKDisjSZPq8vwlnf"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.6.0_1592652957975_0.9689916156145957"},"_hasShrinkwrap":false},"2.7.0-next.1592729990.b954b2529a175269ecec7d3cb6a3a2fb23943481":{"title":"Tiered Map","name":"tiered-map","version":"2.7.0-next.1592729990.b954b2529a175269ecec7d3cb6a3a2fb23943481","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.3","@babel/core":"^7.7.5","@babel/plugin-proposal-object-rest-spread":"^7.9.5","@babel/preset-env":"^7.7.6","@bevry/update-contributors":"1.9.0","assert-helpers":"^6.8.0","eslint":"^7.3.0","eslint-config-bevry":"^3.8.0","eslint-config-prettier":"^6.7.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.7.0","prettier":"^2.0.5","projectz":"^2.9.0","valid-directory":"2.2.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"/usr/local/bin/yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:directory && yarn run our:verify:eslint && yarn run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"b954b2529a175269ecec7d3cb6a3a2fb23943481","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.7.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.7.0-next.1592729990.b954b2529a175269ecec7d3cb6a3a2fb23943481","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-LEL8koDlNNeQU/fviyKbAQ/j84dPekRXeZkkrIMGTh+6LB+f//SbErLVaGrQB5rqO44NeajzRwf1dY0lWCM0Bg==","shasum":"42f769da55c4f9f005b099408c9161a00602ee58","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.7.0-next.1592729990.b954b2529a175269ecec7d3cb6a3a2fb23943481.tgz","fileCount":6,"unpackedSize":25887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7yGHCRA9TVsSAnZWagAAPpMP/jpEKzJvVg1zDRKXI+LU\n/GKqLnhKFG+MQTTcF1AwFLLDa/5AJkjv13q4yF1j1j962AoNYkqcYlmz6f4o\nARFridV7ZkrjIInyhumD6lj8EOKsPdMnJyYOnG3zRNqQ+1wTHdnuzk78XoRK\nzJ4gYGS4hmy/cJjZZwM76+N+fkI7s8BKNkOFvy94kVFcGVjAzLNGSY/TGJfk\n/Is3/Int44pwk7mFExoYmj0kxxtIiGLBTPFXtRH/ZtsEt7o8vugd1a3tQqN+\nwE8yroexahEA1GnZf0XRhMVzo9sFpaoOxxX0P2YQFNGKUJ+SDJQ0ySS8l1N9\nm/F2dGs12LD6eeiP2PxZHlFqK97PwwImhP4mEwBZFy0oKzxMuQC6Xlb5EHKg\nPrCUcDvhJS9LJH81S4bvo0Z2l/biceIe2Anu2HxJNM4xeTAcoYLx8puDiCUY\nxZGq+M6SA2q48s0Pljm7ym4UdtGD2Uf7cnyxdsXh5jKBSOwhZRWcy80eM8Ot\nO+6tPAtfb4JkjB9khr+ghcMFE1GqPEauYJNCcZWbenQL6kcSjU26tqv+nWzD\nijeOGHgkku/e4WR3ElR38pg7EQscLSUZ2Kd2bS2l6W+Rs1JxzYs4DDih/s4X\nCYtWksGgpXyhh3w87tXxZmva1aql01lAa3lOIamfWLbmstYxLCOGq7rjSZXX\nFhOr\r\n=miR/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDn8H/ozUx2UJjjm4ITfEUHiMOiVyvyeiuPjSad8MXFGwIgJ64DU5LN8Mlt+a0+ozbICAcwt3ifU6cOQXLG3inMY1c="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.7.0-next.1592729990.b954b2529a175269ecec7d3cb6a3a2fb23943481_1592729991480_0.33789179696184757"},"_hasShrinkwrap":false},"2.7.0":{"title":"Tiered Map","name":"tiered-map","version":"2.7.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.3","@babel/core":"^7.7.5","@babel/plugin-proposal-object-rest-spread":"^7.9.5","@babel/preset-env":"^7.7.6","@bevry/update-contributors":"1.9.0","assert-helpers":"^6.8.0","eslint":"^7.3.0","eslint-config-bevry":"^3.8.0","eslint-config-prettier":"^6.7.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.7.0","prettier":"^2.0.5","projectz":"^2.9.0","valid-directory":"2.2.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"/usr/local/bin/yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:directory && yarn run our:verify:eslint && yarn run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"b954b2529a175269ecec7d3cb6a3a2fb23943481","_id":"tiered-map@2.7.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-z5254XtIhM01V3kjZhcmjqhFIphE1saNb/lAlOT42ZkWyxQEuUipet7eIrOZhGG/cViuTsXN+qaWWykGr15XmQ==","shasum":"297972fde090577e1088be07945f75abc7016960","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.7.0.tgz","fileCount":6,"unpackedSize":25830,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7yHBCRA9TVsSAnZWagAA6TsP+wROcKV8hqdV0S94N9s7\nrSjo6QNvLTxa/NYTDytPF3pJYxiG16mv/yi42nCBnoFyTv+qWTPwsf9/P6rg\nG69UMkF/3Gj8xjuob1eTpXufrPAfN0WqXS9okuMBTEYSk8dwJRp3iRF0AtJo\nfsSPv8sIklWXwEhBU1UN38XtH6VKQXWdaWO6wftRABNItAL5UZAZIvyGMpN8\nw9RaBA4YyVu8PyEFeBK7arpmriv/gLvcfUa+twsue5hQTNPmRfE+VB7zDt/j\njdJvg3D3hA7JO+UcsHAwSIwX/c5iufL8oiN5tFCi8XYk/mSCJoeDL+C0XMGA\nm0DP1u5C4PzuCl52wWKLGnloSO9Mra9A68iptlMRaEZSDmZ7dMAvI46AgRww\nfLGRSJrHnyOIDMuJdYYTwAY39Q2c1cJNaCx6c+694dx3yv16el3TyiYBMxOP\nTOoSVcIm88O/FlOVrYyDhOzv2iLX8vYQtsdBW3SxjKQejQ0JtCUWS0glRNwK\ni9D4w2poa6UdU8GdR54Yt4/WKG83QzoTFiRAMSFPA2jWS8GDXd0mMxfvribH\nIfn17Zj78u3weiIJr/MnPc7q4KTtIpUcTRWAZC8TB809SeF6YgHRebjdVPQ5\nM7TeSvwjAQybyefktQryzRIa81P61XifctWGu5FOzpnPbLrGAICIOB1mK56p\nZtX2\r\n=6YwW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJriZVkCFHitG/aiiondQNCIdjYKNAM5696gJEghfKLwIgMIIAx2vtoya88WZcpF5uyUJAMo8ptd8sbhmbWSQdJa4="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.7.0_1592730049312_0.4125290275891711"},"_hasShrinkwrap":false},"2.8.0-next.1592765431.e21368e23cc785bf51a5ed2b59388d0302a7a823":{"title":"Tiered Map","name":"tiered-map","version":"2.8.0-next.1592765431.e21368e23cc785bf51a5ed2b59388d0302a7a823","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.3","@babel/core":"^7.7.5","@babel/plugin-proposal-object-rest-spread":"^7.9.5","@babel/preset-env":"^7.7.6","@bevry/update-contributors":"^1.9.0","assert-helpers":"^6.8.0","eslint":"^7.3.0","eslint-config-bevry":"^3.8.0","eslint-config-prettier":"^6.7.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.7.0","prettier":"^2.0.5","projectz":"^2.9.0","valid-directory":"^2.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"/usr/local/bin/yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:directory && yarn run our:verify:eslint && yarn run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"e21368e23cc785bf51a5ed2b59388d0302a7a823","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.8.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.8.0-next.1592765431.e21368e23cc785bf51a5ed2b59388d0302a7a823","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-W1NOH16wfTAmShVDmjtpLuPtyy3pOJZOrHU5+Mt9Rx4IkTCc8rmXqDQLa/HGAKDUNlUFBmOKs+7X/i0lp8zYkg==","shasum":"2a261e032b9b9792d8aa1cd251c2f2d428d9dc8d","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.8.0-next.1592765431.e21368e23cc785bf51a5ed2b59388d0302a7a823.tgz","fileCount":6,"unpackedSize":26083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe76v4CRA9TVsSAnZWagAAjYoP/1aUoG1rlMaweklAgAbu\nZ/IdXHRV9UFjHhJqcIeuQvxuWRyTTRMAvpEBPJ4IcKzkJZVfonNnuQjMKrP6\n+RacTLpIs89JfYfck94xOBDtmYQx7yxMaIDaIsKrwMn9iMCR5YCd/cBlFAJ4\nykNs5SAR+cQVcLn01yu67s2Gm68tM/jTM1KIi0f0cWOrP/ho2ko5hjVyaWZv\n8vvK9B2wtGB1oyCNimKzc7v7hmDCHoXPBifilVj76FTwQ0XK4An7jqN9EErl\nl8oqJtC3qpRMJdem78Yf3QuKWNHZf/ua86uAxtD1VRoSW6rzKAWeQQ02kOsz\nvhq2hrjw80OMVRtQf90als3XxkGpUsv0jl7bl54UKH/GVMr9hrUZhZowHfvW\n27hIrBCmI26N1Px2VoCTsVZ5etQjDj7xFeZFQ+95StQ3boYGkdanOejep6cG\ncQt06Hgsg2KPT33hF+7YOTeZp7m4CF4VqIE1Ys9B/yKxvDamgBCPVr0+W/v+\nxWGXtAcs5ggiu4NLG9x7oDY92l3yrR+WH7ERizs8WHW0kfQus58w+mMhzn2s\nCig6PqDI7Ek87zJcywEaZIXh+J1/BsTFnoXFxpCYDqHRNzVhOgHu6jmF2F3W\nIMm2toT1mSBq3Am0EQjW0ruwp+fSRLitGvtPZ47cVAUO9NkyYhQ7PTg6ennA\nmOgp\r\n=39eS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAPIz8TLBXJGm+zq4kauS1mlFCxlcXjmKgAOYML1ULALAiBiPRzZEH1B0+zd/k4rdMK5E9cRQbQoHvTk/CM0hLHJKQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.8.0-next.1592765431.e21368e23cc785bf51a5ed2b59388d0302a7a823_1592765432417_0.06673939030734499"},"_hasShrinkwrap":false},"2.8.0":{"title":"Tiered Map","name":"tiered-map","version":"2.8.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.3","@babel/core":"^7.7.5","@babel/plugin-proposal-object-rest-spread":"^7.9.5","@babel/preset-env":"^7.7.6","@bevry/update-contributors":"^1.9.0","assert-helpers":"^6.8.0","eslint":"^7.3.0","eslint-config-bevry":"^3.8.0","eslint-config-prettier":"^6.7.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.7.0","prettier":"^2.0.5","projectz":"^2.9.0","valid-directory":"^2.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"/usr/local/bin/yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:directory && yarn run our:verify:eslint && yarn run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"e21368e23cc785bf51a5ed2b59388d0302a7a823","_id":"tiered-map@2.8.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-A4FTd5scS9/m7vnFH7XG7n+B1q+E86ITsvu2FPrAj9Vb7m5zEHgmyedxfr/QjciSx4+PmNmviANiPIgEiX15Vw==","shasum":"e08eaa5017b203892342ebfbc900ff12355fda6e","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.8.0.tgz","fileCount":6,"unpackedSize":26026,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe76wzCRA9TVsSAnZWagAAAhMP/Alw7Len49SIpR/JlIHP\nhJR/4Ng7n5elzN2q9hZ8wr/6MDt59+ao28gWVX5KZp+arqiZdeCNM1hFDKvr\nJe8pVygbBxsMjFrll3RjvMpyMau7Ik4rcrGvvC/ka0tfJImZOyg8dGrWF7Qx\npE/up/gk2J28wDdcDQD/qV4V8yDbzL1DFqaFEh6EZ0GFYSpn6L1h8LQqkOzG\nupoZqu+FawSBGBCkJ39FbPTdf0QwBSLPBTwye3Y1AELbIhm4vbPCsQEY7gEb\nhrEr0R7cPMko6nbQctunTHMltFjB+JJ4KyMMyLatNxemhRz9bFhlrlvA9RsJ\nxvOvCcYGRIGb+QZ/Kk+l+X3mHqM+VOC42aUXtzJG7u5Svgz3NqJfWclqPH9J\napbUrxGlSS0lOiG++wMTe42elEP5Lqwf6oHQSAoVeGMkszUS8r9bmAl+ma1w\n9xkBiUoQEPkzZnQuqLNoyxyk56WnXHYb8mU2L96jgYk6YZ7ocidC9fNYsuXB\nlT8oVV1ZpTYul4fYupK4J2oyrd6Gim0AcanuDCsDSgi91+EG5VvXvbCdjDAL\nWfLTZHDKkeTReTpHltYJj57UQExop1aZcuQV2n4VFSge8hmh7JCtIKAbDjEk\n2KqJFTDeKE3FEE2WERRWgx4/wGxz1QJ37Xt3mEZ/4MDY49Q+A74q+Q9ToOeZ\nK05a\r\n=iU2E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDezHpp4uQnSMsqk7C0u2U1Nptuoc8VCQo33htkd3bnGAiEAzgcWKUkkHnyxM68uZ+e6W29kpYW7tl9M86xgeEoxG0o="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.8.0_1592765491374_0.06787476915070445"},"_hasShrinkwrap":false},"2.9.0-next.1593061224.b34ecc06bddcbf59d60038c70d2a463469932efc":{"title":"Tiered Map","name":"tiered-map","version":"2.9.0-next.1593061224.b34ecc06bddcbf59d60038c70d2a463469932efc","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.3","@babel/core":"^7.10.3","@babel/plugin-proposal-object-rest-spread":"^7.10.3","@babel/preset-env":"^7.10.3","@bevry/update-contributors":"^1.12.0","assert-helpers":"^6.13.0","eslint":"^7.3.1","eslint-config-bevry":"^3.13.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.8.0","prettier":"^2.0.5","projectz":"^2.11.0","valid-directory":"^2.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"/usr/local/bin/yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:directory && yarn run our:verify:eslint && yarn run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"b34ecc06bddcbf59d60038c70d2a463469932efc","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.9.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.9.0-next.1593061224.b34ecc06bddcbf59d60038c70d2a463469932efc","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-xxP52zIAuDuF5wAcE0aITEPEckfdMf59K5WWk0AJuTE9N9ehn+Oqj8U8zpdtFcz+EIyFYtwPxbCIeyp3GTLLtg==","shasum":"cdea898f88b09b33b3a0e4e31a0ec68b669de831","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.9.0-next.1593061224.b34ecc06bddcbf59d60038c70d2a463469932efc.tgz","fileCount":6,"unpackedSize":26285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9C9qCRA9TVsSAnZWagAAJqYP/Rq1qCiT1EVrxvAlFLab\noaMg1kGs8bFFRHwop/WGZrB7ogjIgNm6breXjE6qvfndNk39vg4s98BZ2kbt\nd8RXCS3TLP13sfT57b121/3+n2Z74gGWeq8IVXIa+hv/nff6Xd37yzHcCNeK\nZyCw/Vrk7tDKGjZhI6amba/7x8ZH3/K1Wl2RCNfDtczXsHgYuxdSaKSGxUFW\nxyk+9jZDt7XeJz8fQp6SnePJ0NYUHqtpmdKtohU5OEMq3QcQsZPUamJxgAo+\n1vQYcxETIoAsSKd5xm67ssshrnr7CYzb3GnN2KvwikH9QH3RT62TnrHsZrR2\n1GEiwu0hlnGub7YaO31oFRYoeJ8x5avLC9dBrg25dWdpz0ZgJVcJKd4ochR9\n1yDxjj/kxMx4Q9II37HcsCcll62pBkQ4Ey+xcxmLNyVX34Xq8hh3WeFWwNoN\noq2TVyvAqddJgK/7Fe08zjzb5VxF+oAaVz/kJz4E/8vUVUtWEmCrD5NH5vKN\n+Sj8BuQjKRMEaWQ6GM07nSg9xsnv1DBZUMGd4qpE1t06TMHtSKrx98o4iVqJ\nDz3ylzdp9oc9JlG2OyYQb/3zNCrUXGM8sDb1YKkuky1Rdkf45qjA9S3JA8xU\n9HVlpTHE0y0gI445waT/4GqUCdWCbty2xKEMVfQvzH/q6hv3LGjQVTdmxSVf\nwc03\r\n=QumT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLFYTcoTubPnLHfpZymHsRjSQ0w5dcGck4WaP08NlHlwIgaYEaEjQS3mF4rg8tXO5vVOLtXrusyLQZUSEexgJNnk8="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.9.0-next.1593061224.b34ecc06bddcbf59d60038c70d2a463469932efc_1593061226099_0.40146925200582784"},"_hasShrinkwrap":false},"2.9.0":{"title":"Tiered Map","name":"tiered-map","version":"2.9.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.3","@babel/core":"^7.10.3","@babel/plugin-proposal-object-rest-spread":"^7.10.3","@babel/preset-env":"^7.10.3","@bevry/update-contributors":"^1.12.0","assert-helpers":"^6.13.0","eslint":"^7.3.1","eslint-config-bevry":"^3.13.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.8.0","prettier":"^2.0.5","projectz":"^2.11.0","valid-directory":"^2.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"/usr/local/bin/yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:directory && yarn run our:verify:eslint && yarn run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"b34ecc06bddcbf59d60038c70d2a463469932efc","_id":"tiered-map@2.9.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-aMGmCGJTR3l6p0wEliviFIs495TC3ylOSdrQiX7TaWyIN1T8i1H9ppuMeJPOJIxLoLlC4+UBePxNGENW9oQI0A==","shasum":"de9153f6e73ab431637c2b4314fa1de7c3498f55","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.9.0.tgz","fileCount":6,"unpackedSize":26228,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9C+VCRA9TVsSAnZWagAAX94P+QCoKV2MC/aqOh4DXeO1\nAqH1ZZohRxodXMjBmFAVR9f2WqjGEipuPJifHuURUfLm3x9QAtNIxOvoboX+\nvZONEtr05VA1ciOlGbPaYgIP1REkbqHFfcqOCUANbCCd5ei/yVA3NYnGLdvT\nfgUdzZMCjcOBMhJTguRZet1zLThdq9DxQDnss4dWvniCfCnknNLatanxoVAw\ng+n2qc2LJ8kOgwlnMV8j6+hJ4GUi8uNcnoxk9wYWin3Zlwq9ImqSYpgXE3Nx\nv03YdP7CUwM2ZPgQWu5RMuCjFnG8XVAH4fmIx6/OrRDMttoqbKqMQzdch8e/\nDNNy56W8eRb+CZgCA+wcoA4rhXEIYyHwAXHg9fszBlJ+9hpMPqa++fUPmil2\n/qZGw5/01Fh0wHJdFhS3pBresXF4yObdQESWZhjLExPWnA1AVij1WvOVlc2E\n1h6d5ISHMNeIWUw51slEO5KDRJfiU3HTbNuwg480g9N32Bhap7yv6Z33mlwf\nY+plqHXycJdwgv14G7j4oSTC/LAp3aOFFxWem3qr14gYt+lgTmmwwstVSwzm\n8u5FO1+FhXtM688sWKPYLmxSPp2KYyLT9QGDGoBYe+TL2fNoBhPJAlm8basA\nCLNo49Snp9C3LGaaXwY8vr7a4+lxX1vlmqR5bbHLot91epi55c45MZjpYEXa\nerSy\r\n=4FZY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzbKQ7ewmUnSp0AsKGYDV8tXf+t/640RQFJQ3IssMBqwIgaZ8amAAvLQIiFq2ENUGOHCCPCmcjGOPPh7Lm2iLUskU="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.9.0_1593061269292_0.3240883236191088"},"_hasShrinkwrap":false},"2.9.0-next.1593742642.b781e057f60543d0554cbe83cd311ba0398362c0":{"title":"Tiered Map","name":"tiered-map","version":"2.9.0-next.1593742642.b781e057f60543d0554cbe83cd311ba0398362c0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.3","@babel/core":"^7.10.3","@babel/plugin-proposal-object-rest-spread":"^7.10.3","@babel/preset-env":"^7.10.3","@bevry/update-contributors":"^1.12.0","assert-helpers":"^6.13.0","eslint":"^7.3.1","eslint-config-bevry":"^3.13.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-prettier":"^3.1.4","kava":"^5.8.0","prettier":"^2.0.5","projectz":"^2.11.0","valid-directory":"^2.5.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"yarn run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"yarn run our:meta:contributors && yarn run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"yarn run our:release:prepare && yarn run our:release:check-changelog && yarn run our:release:check-dirty && yarn run our:release:tag && yarn run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"yarn run our:clean && yarn run our:compile && yarn run our:test && yarn run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"yarn run our:setup:install","our:setup:install":"/usr/local/bin/yarn install --ignore-engines","our:test":"yarn run our:verify && yarn test","our:verify":"yarn run our:verify:directory && yarn run our:verify:eslint && yarn run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":false}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"b781e057f60543d0554cbe83cd311ba0398362c0","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.9.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.9.0-next.1593742642.b781e057f60543d0554cbe83cd311ba0398362c0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Jk9lybRqyXlfsxNOFrIJWQoqyS0frmBtTr2U3JJXzhnJkrhdGn1DlbhfgzjsrDWEdQ5qkm7tTfDekSnxntIFrg==","shasum":"310a0a2c72e8276db6d6e1d4c2fc40c3bae90179","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.9.0-next.1593742642.b781e057f60543d0554cbe83cd311ba0398362c0.tgz","fileCount":6,"unpackedSize":26285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/pU0CRA9TVsSAnZWagAANvgP/iGwzwEdrM6QZfPLQpLC\n88iLm+wgC0awuWfyGVqGKx2Hz7j4/TJeXYEIk7mKRyDc7YKNpzfXIWen65A1\nlLMVTxwRdjmapMn7LyqRhLXdyK8Ym5wqrKskpOvQxBHfTEI8hVl2Mnhg3z81\nlfE6a44n3IWzPzOOG20DRjLhhO/EYl9jPyko+eEG0E6iI+YsWIHY5Ud9rhY5\n437ZcSvSH0BPo+j1aIRQ9Kv91R45/oPRdrucO2aa+RMxedvLHCELoOHC3PdD\n0FlFWIFYrGnXjW10Snz3TkWDEdWgM6IgF45OOA2lohUztKSfI9iHyf/Y0dso\n+jky6C6LFfOb6DyCbXHdOhVIrt1aDMCrNW/IYVkJar+2TsFr6gYNjYlgLbzj\n2OEOG17CJ10HNLYm2M5oAnGGsWJA9JhTeTcwG3NI7504XcC/LXa8qA6B6yJg\nV9+RP6se8ycv6Dw9sMFavHFAdLYaARimDsxuZpJTHew4Qb+d4RAKsyftuReG\n+T2i5ZoOy2wLlH27yuBIlckcaCgc2cCMVGAGQQp7oxXK4hjXjzpybaGNaSic\n4lHocS3yUpa9p7sVccdbWl4zIfJ8/t6FIGy/O/PPcG2Pw9tErKjVMTryWs0W\nPZ/rRjeKccBG+Y7t8GfYtGCKWVIHIUw2Glu1ID1WGBFxBbgcddRdU4eIDgdp\ntC79\r\n=KO0n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdJ/UHpW9VDPHSx5nz6w5n/iLCyQ69PmmDthVeqReR7QIhAOobrg0EGwWX6ZOj3Apb9v3cJ5xOnm1ZnqzMC5Z7IQe3"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.9.0-next.1593742642.b781e057f60543d0554cbe83cd311ba0398362c0_1593742643818_0.9168624423977771"},"_hasShrinkwrap":false},"2.10.0-next.1595452166.e5b22118244e6403ebb197a52e26da79d26a8eaf":{"title":"Tiered Map","name":"tiered-map","version":"2.10.0-next.1595452166.e5b22118244e6403ebb197a52e26da79d26a8eaf","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.10.5","@babel/plugin-proposal-object-rest-spread":"^7.10.4","@babel/preset-env":"^7.10.4","@bevry/update-contributors":"^1.13.0","assert-helpers":"^6.18.0","eslint":"^7.5.0","eslint-config-bevry":"^3.17.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.9.0","prettier":"^2.0.5","projectz":"^2.12.0","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"e5b22118244e6403ebb197a52e26da79d26a8eaf","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.10.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.10.0-next.1595452166.e5b22118244e6403ebb197a52e26da79d26a8eaf","_nodeVersion":"14.6.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-w1HBF5mLVxyz/Oqs44IEltMBPYlsl04sZ2Aqrao0Fkw1NHnRHNK7zkkK36j34W6Ma5V+uDjLxwssieMFWdQvNg==","shasum":"204b7f8cf8c9d1bd5732c94cbb4ebdbb159fc3cc","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.10.0-next.1595452166.e5b22118244e6403ebb197a52e26da79d26a8eaf.tgz","fileCount":6,"unpackedSize":26478,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGKsICRA9TVsSAnZWagAA/xIQAJJe48XpEKmiseMj8oq6\nYFIWJIJrBONY4J/PKAX3lX8LhIfGfOKZ58hNlWyrq9572Qok+jzz0VNamPVf\nsUDCihQIieJiU3Q5+d80ra4VMU4UmcX0caqkWDR/RxRAtQXMP1+XG0saYD5V\nVaNiXQmsFxgMH+MuwD5hTEbCn97gr3HL0nFvxHRWJK3JP0/UDDZxKK5u+vou\neZIIAhI2WWlKOe5MB2saCT+FY8ej9Jw9wKMzm4QqiL0+wu0z9SApaNms20V4\n7b+CTLuUo3V937NXYM1PUz1qVK/IDt97doQ4i9eFvZSYUAGAC7/SVsBfDgjP\n0cUxPCgBeNvA2+yWkT7jyH7qvnk/Wo1FOjEVF4vIsnWUd1G/26HzMMVgOSf/\nd4nOIjdb4xTatAa8BFV1J4WxHjMbxbYxLbt8CLSzMvKUwfdEbzCPkCUQ3qFg\nGc7JviW9Yp84wzMNhgldQ+pC9wWp3XDKmyV4BJmxEAhVFT0pjJhNJMKAzm4/\nYdPKu2XTBM5tcw4+R4vmBzdUY1IzCLmK6PBYiwGTn0bedlJvNBYAtY9TtmEl\nefMRqidGKjWHWTalYtmnBaJ6YzN45zVYSdmoYgeRNkcC0XVLtxZ59Xi+BW6/\nfnw2mHNTMvepocjf5KQ6wPFn3VSnXk61Qy5bt/UhGXCfgb2LAtuxDtOaSVc/\nqnLj\r\n=ibel\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCM/iE1UCpJKkoiL03bMhi4VfDvsfmb8MHSu1xJUh7FZgIgX4+8GWZSLzfAqApPZs4zZ9s8FS/NIehAifW3WzAaN1Q="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.10.0-next.1595452166.e5b22118244e6403ebb197a52e26da79d26a8eaf_1595452168218_0.8578499858938673"},"_hasShrinkwrap":false},"2.10.0":{"title":"Tiered Map","name":"tiered-map","version":"2.10.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.10.5","@babel/plugin-proposal-object-rest-spread":"^7.10.4","@babel/preset-env":"^7.10.4","@bevry/update-contributors":"^1.13.0","assert-helpers":"^6.18.0","eslint":"^7.5.0","eslint-config-bevry":"^3.17.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.9.0","prettier":"^2.0.5","projectz":"^2.12.0","valid-directory":"^2.6.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"e5b22118244e6403ebb197a52e26da79d26a8eaf","_id":"tiered-map@2.10.0","_nodeVersion":"14.6.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-kfmeBSLQQY48lH/4+JEI3okHZqy0CHy0Jxiu8m9XzASKkkiRw1AizkiB+6wZxyiDaR7jFp/oOHRZpt5YWZw4sA==","shasum":"c8deda98f7fc4137f08ac8f3118e45ad016ef06f","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.10.0.tgz","fileCount":6,"unpackedSize":26421,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGKtFCRA9TVsSAnZWagAAq6YP/0pJZsoxzt1xJiJiAfOP\nWmGa535gAe8FgcGvhY2H+vg8DKh0eib5f+hQZmsAXzroaY9ij9URmD6450nk\nmv/Xr/B476JECUIb1K6XU14FuSFLzgumWnZPwC9neT+rakREKRLLrgSbx0el\n2O2lmMdceXh1vhWyvyUo7CTp5XNcXVuZ/U9jo0PuxJp5WTt2Kj4P/bnmNCma\nVDQZFwcZq8f4H0w6VFvk65On9GAXmNiHTtA127vPSNH5HUbZ6vDEl13x2duw\needZ2uazIQpS1aMCEVI2ry5Jl3+5VUm+exPp0UzdeaIngcYURE3o1P3CcxwT\n3WcOzDEjQAPGT47wKCPBhjQYCiRdqNoYMnGbAZRo0BYaj4KhOUJteTWQCcix\n4I2WDhJIb6+Wr6tN7tCkhioQxm0sh7l20nPeo/RGc659izmTUY/X6CYNtfRg\nweVMNy6kd2dmxTpwbkaIPsvwQplHZ982aNtRNzqJr3KpF2BY1POpNv5wMuYu\nNtvXY2oT1nmlBuHiryKtRKy2bmdbz8tT6ctooUYYoMvKvHGGvThrWZaCP4Wx\nkZjfkEDx7ZF31E5DaozaQzTkBSwbsaKze/2ycpB7Bt1Yb/UZ6WjzuvIFkhmq\nFmVlPiRX8dUbl7hWBBuZjy/ZHF/Yw9SyIpHAjd2Vt1QjQJKD9jttGksSTY51\nKl8M\r\n=aH84\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZl5ofhCFBuuc/fBdsgTnpPx3eRwPDCszlWTB4SJp0GgIhAI5qSNRF7HRtmkaXPSgMEnDb4EsUCUwSPgc61LQ55uGE"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.10.0_1595452229416_0.2044275885521467"},"_hasShrinkwrap":false},"2.11.0-next.1596524089.3f60beef257efe8df0b82eccf3c81b0acb92727f":{"title":"Tiered Map","name":"tiered-map","version":"2.11.0-next.1596524089.3f60beef257efe8df0b82eccf3c81b0acb92727f","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.0","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/preset-env":"^7.11.0","@bevry/update-contributors":"^1.14.0","assert-helpers":"^6.19.0","eslint":"^7.6.0","eslint-config-bevry":"^3.18.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.10.0","prettier":"^2.0.5","projectz":"^2.13.0","valid-directory":"^2.7.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"3f60beef257efe8df0b82eccf3c81b0acb92727f","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.11.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.11.0-next.1596524089.3f60beef257efe8df0b82eccf3c81b0acb92727f","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-vDzXckrRG7FVzy/aOXxjIThqJ+NnivJWyeT9toeKoSp/9I/HN0+eLmm8kHi5jqdIEX6/VTHcsqbM/nd1NPVCEw==","shasum":"0fd77f2b89566fb175af7f925aec1700c22b79fb","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.11.0-next.1596524089.3f60beef257efe8df0b82eccf3c81b0acb92727f.tgz","fileCount":6,"unpackedSize":26675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKQY7CRA9TVsSAnZWagAAfygP/0ZRyE6r0+iZ7katnzyJ\ng77MaGxJdmxJBRtbW1+oVqT5ZMLCgnQlK2vd+c1VE+ZmfjoSIwDjsiIdzpCN\nQhAGdTYQKtV7fB4Yhwm0R9PIYr5it2gdJGPVYENFNcoqeAczUSE65aJIxWd1\nRY91Srx70VdN4M/avcgqo5c5vBKWPvIqWdSJUEJWLBJgn4fa+EQj+flluMSO\n7Uet2Vt0dYrTs627QlOT+W7eO8SZ/thwrVK9UJBI8ley1kO6OJsrqsAb+Xic\nqz1p6R0dm4mZJ+SI3E3wzUwFLQxidkozW3Qer7Csb3eLj+YXWIUjUNpLqbEV\n2bgRg4aYTK+icS0qZv3Bwkh1D13t1GlA/IXVyrXLFJzI5IIZI2Ra4+6GJd+d\nhi7SyvKvywKx3Zv8vQKL0jNeKIXeFwCnHXXVgH3u8o1hPLE8FSRMzPs6ChNQ\nAsGZ9zW7fDcxudTNxSUZ9hGJejOWKT/YT8rusX6sAox8oM1e+/getVAL/CSC\n8gNmKVciEojleU0MVBYPXYx16A4QdWQd44fmoRyaEmozJ7711zq1KmaRI+v7\n4e8+e2hiqZOxmZj4xxvTGp4U/9RoBQcrS9rkAMjwMVCTEvyTvjAGnr5eDkTd\nuI8BjuZgLe+1sArRsA2Nj7I2xOiyXwfzIMtPTZnpXAWMJyPdKeR82zQEcbgF\n9qY4\r\n=DR6K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5v3AzAj9cESSj3CNx2CGtd7h2NQCeRE2QjBS+ZWKJNgIhALFf1qgEnduzOUahL4Ojtr+/ejosj+YuR9rY0BWXL3qV"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.11.0-next.1596524089.3f60beef257efe8df0b82eccf3c81b0acb92727f_1596524090822_0.010392628544102278"},"_hasShrinkwrap":false},"2.11.0":{"title":"Tiered Map","name":"tiered-map","version":"2.11.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.0","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/preset-env":"^7.11.0","@bevry/update-contributors":"^1.14.0","assert-helpers":"^6.19.0","eslint":"^7.6.0","eslint-config-bevry":"^3.18.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.10.0","prettier":"^2.0.5","projectz":"^2.13.0","valid-directory":"^2.7.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"3f60beef257efe8df0b82eccf3c81b0acb92727f","_id":"tiered-map@2.11.0","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-lpInC7Xe75nDcqdj0ylsx/c+7bwJOfRINUsZOm293ovyPtnhjLixuhe31751rDQ+Vv93Ef7nDWWTFOqfwqAdrg==","shasum":"da8088b79c86c0c4d3b2cc0d4e1e86029c3f049a","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.11.0.tgz","fileCount":6,"unpackedSize":26618,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKQZ7CRA9TVsSAnZWagAA2sMP/R7kFQvy0VdB4Z0tXoD1\ndFO58yAxvk7b7YstDk7vC2Z1VB6cnyEFA/d2t4wsPNfXnLn8pvffbYx7VQ3M\nKW8IY4cEBaU63+w96oT/AkvNAm5/ZLskKicQAu5EdhdVgvcFoH0RtcCYzVQP\nqfny0df/JKVsWbBa9nhQmSvT9g7mkdjEfG8A9Hef9iLKw0HWQikJhmjpFI02\ngh94dfKRme4brMCHkJw0tkMjLJcT+jeTMFJdtQY2xevM2PD5kvGfP5C0OBaZ\nymA5D1Bjgbe44RaynK1KewgiP8z/M6aOrRNua3YIRAiX/Ty/mxRwNz9Y1rYO\nm1OvGxeh9U4n2YhSon+WbU2S3dtU5aSOS2FuSJHzwFh7mCo+KCTJ0qhfYo+o\npUIpk2cKxtPEamBQZOCdYFAuI64llm9M0rgb0yyFRuoZlDaDhVKhZ267xUcO\nkHyc65UIGSnWpMcoltAhVyWRoCFZ27onM+iBoE1+urMXjy8FuNjrbmmS84qa\nyo6zU9SXAedzEgcMIbMoXhVguOZv1EGQ59+OWVJ/9dpzg30DJr4szCPLi7UP\n1drpfATQjBgtGpI8/8eldGqwwL81wQqatxis+Q90NmXD+E04Vb3z9jJYJzcK\nxnkXmHNbhilogX5tt9QofmIjK+eIF2fzRAW5SnL5y+V9a7JZJmhKNv7nFjOY\niw3a\r\n=PT/w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDPjLfFynxnqVruX+gUuHo7z8UaDBD16rPg1qUvtaCUxAiB6Z4N86QO8Tni3F444BF3mNmdBxqjKTzKTMpUfkUn8Uw=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.11.0_1596524154856_0.1530252803956269"},"_hasShrinkwrap":false},"2.12.0":{"title":"Tiered Map","name":"tiered-map","version":"2.12.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.1","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/preset-env":"^7.11.0","@bevry/update-contributors":"^1.15.0","assert-helpers":"^6.19.0","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","prettier":"^2.0.5","projectz":"^2.15.0","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"1cde8cf70de64d47f91d005ec0602160c2dee935","_id":"tiered-map@2.12.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-bhODIn3umPKfOmjWnVf8PiR5bDWbntvmuJ3u8a1WoyNDYOjjyQPOsSVJImpnSB/Lh0+7U2sXqJLPQfv+AW5/ew==","shasum":"1ea1af9f59c421b67f75caaa9086395062a587ea","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.12.0.tgz","fileCount":7,"unpackedSize":27052,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOwHZCRA9TVsSAnZWagAA1J4P/3ZVbmH0d3/yU0ZlXJl3\ns7oqFpQ9qVCd7aDXQnQuQoGm7g/CWMarCCtSvVumgfldytx/q/V4vN5WYTNq\ncUMSWafx4TUOjIo+AHw94gAaa4/4O4hCMYaeS79qqaJQhpPVdUqUkAaC5lDP\n/nqX7/FvtE8SWb0Z3XdW7IDjmGLk+kUMFiHw25Czj9oN10net35TAaytlSAq\noq3gowp6z1eSj+F4ap5IXYR7menAZPrSm/9cL9n/YMGmMmDtmLcgPq+ktrll\ng1dYfB+G6hsCknYwBX2O1y+JvnMb/2Qadk3kukgToBnQl4YLXXOlUrbHPs2f\nvGCJjqpuFjBl6Ff16qfkzDvSqX2SMxfW3OdGgZGttDt2Cy86/VGjX+bNciIK\nMZMsZWto/GnxUwU+8fKbpiqNm6tJevmuZmqttRL2l1+5HSF5O6vh6LbmPMEF\nxkIKiQwZS8ZUWLoyclnIdQjJ01/Q1Ag0XLfdjS6v2nUR4tnkdVUAofXxQ157\naAZVN+jcVJxXS3i9oDKP1HQUeXReEtjj0gyXWoXXpfOw5dnO+xkI0L4B04D9\nXo7XskA+bquP2X6vkWVgBArvkEeh4xfRajmlUz9xAKfGWEzEmj+FvsCrPyzB\nXAgGdL+QPzXbhAovthYghnMketcMJs3b8zoMXUXbuvAKSzdzqTK+MH3L9loU\nmXm2\r\n=KFae\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICcwMTBksKggEpxGsyl4oVFctNzx5QsxciIIC18yuU4MAiBEXclKr48FtIc2EkCRkuD7O9jX01u2HZ1gWdESSxnbFw=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.12.0_1597702616507_0.9560700702277514"},"_hasShrinkwrap":false},"2.12.0-next.1597702663.5643b9174437084fdd624df66f01338ecd0badc1":{"title":"Tiered Map","name":"tiered-map","version":"2.12.0-next.1597702663.5643b9174437084fdd624df66f01338ecd0badc1","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.1","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/preset-env":"^7.11.0","@bevry/update-contributors":"^1.15.0","assert-helpers":"^6.19.0","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","prettier":"^2.0.5","projectz":"^2.15.0","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"5643b9174437084fdd624df66f01338ecd0badc1","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.12.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.12.0-next.1597702663.5643b9174437084fdd624df66f01338ecd0badc1","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-kaaPvmEHRqxT3WX//QF9AP7EzHZHMx5qMvKdNMOYaDSYNXFVtl3N5WRARAEPtW0h+esQkff+RUpL145xuEfivg==","shasum":"7d4cd11eea64c92596996929fba40015ea28b5b6","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.12.0-next.1597702663.5643b9174437084fdd624df66f01338ecd0badc1.tgz","fileCount":7,"unpackedSize":27109,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOwIJCRA9TVsSAnZWagAAlxgP/ixcdNWMQULzO/9XtH8V\nWrcD5BDkL9nRcIQSFAvbXSpgiqcWDkjA9iuLUg2/50CKbiNMA2L3+NppF6hV\nRMTDAjlVlfC85golNv0XyyxAsouBO/5amldltTzN+nMUKkHzXaJYHENaX7Az\nU+Kg38qyBu4q7DVlBZLU3Ki0czmWUNROoKmg8SzCh2y6Rws1FGdzsz3rDcYd\npJH6n6c55/XoF4pjrW6QBi+KkHzCMy6PkdArMMoXN88AICpbxtDGPIqVulkY\nbD+PG3J+CDEHkZ1tMdh+70ukC+UJfla25V3lM6rvFG7zP4q4l0pQQl12lsKS\n+8dzruAfQXQHLOLAl6JwMr1sRI62SYjGj4ONKfb3UxncR/zePWYG1RreH2y1\nzAdLIJsuSJ9XQzWNZ9Qc5YtjpuRwqTsNqJs21OtvErWOZpFK+aUmU9cJ/TEu\nBe0op0VapIxb7uNQr4hzCVTyLWJN/0uW9Y6jlos7WsVKWTYqUDrjCckc6t0Q\nFJwmWPDaLa3KBQjqmY4/HV/L/I3dkV1FiRtJck+6zd3EXdraZm6H+uix9oQI\nuh7jq0jUb3nAcmf6VOVuKrRByKe6V2/HKfCllc8ZVXqe1d4WCEb9LuDziO3P\no4QmS35ivpDahazt8mhZeh9T7i6Hh3/SfYOEwmOhaC+Bl9LHWetg1m5XO3kw\nab6j\r\n=J61a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICRIyEZjtXEM1no0gqaQWVmxVgrE5T35GE07Y474prTtAiBP1r7OdI0tiplADdzJCq4fRszfjOYQAT0nlr0iXjXL6w=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.12.0-next.1597702663.5643b9174437084fdd624df66f01338ecd0badc1_1597702664770_0.1365439351890101"},"_hasShrinkwrap":false},"2.12.0-next.1598185643.fff33ed81ba68817fcf000c6a62a59a4e64fc9b3":{"title":"Tiered Map","name":"tiered-map","version":"2.12.0-next.1598185643.fff33ed81ba68817fcf000c6a62a59a4e64fc9b3","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.1","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/preset-env":"^7.11.0","@bevry/update-contributors":"^1.15.0","assert-helpers":"^7.0.1","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","prettier":"^2.0.5","projectz":"^2.15.0","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"fff33ed81ba68817fcf000c6a62a59a4e64fc9b3","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.12.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.12.0-next.1598185643.fff33ed81ba68817fcf000c6a62a59a4e64fc9b3","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-HSKAnGUdKcbp6hVpZksobcZGcIRnEX9VHiOTKTcoFKKRvQPhqz6sHEpnqXDurTcJJ4eucxpqkME8h3pXOkESaA==","shasum":"26430e2c33b2279574e5b85e5fc7917535b2e997","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.12.0-next.1598185643.fff33ed81ba68817fcf000c6a62a59a4e64fc9b3.tgz","fileCount":7,"unpackedSize":27108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQmCsCRA9TVsSAnZWagAAkyoP/1lzH33R5lNqlc5+eHdW\n+HNR9QT3GxoFBcJtQ+HuaBmBm58m2vWFeIosVCyzSDA35VCVddJQ/Y/zoraL\n44zcAWh2Agr8SEJ8pQLz4yhXj5h6UhmUjOYiv3rDF2Y66FgoPd7Sg5w690Of\n3qqompqkT8Ob5Bf9AThAp/ygbPeuePK49ce7FypbOMm/5d+YUxHWy42FN1SU\nlew1UHAfR4XR1MUqTn/dBQ3vDLrjiIXrLFoGTE/gLGioQimpRjec35cI3z+L\nU5l0BbyGCiczwySrEOuF3ErPEwyjGqTwgPHLTNh1TEzVK+Wm68hJfGg7Yr7G\nlJx6sTYWG69BiTCXmmJf3gzRLLxbelwT5iv8/XWMjbj1TNhGfBE2oJc7wFJJ\nSy9ZoCxKY2qFbZoVk2zPjR/+hjsuo9uI31MbTlpBoIFlLeRVw9iTi0p/w6/S\nztWxhvofBwkdPFHnj9boXK/nMbaAOIj9B8zMA+BpmLTTWlG4jZZnDicc6O2g\nYdpqrrCsKTLdTZF7OwHZrCEmfYh+MiDtRjnmzU9KPOaoh0JIn/lbcRu0nwnA\nMCSW2TmljI1df1iUr7uJZ/kXAVtkFl9nYsMunyHuHTPIWUdwWDNJjS7HEfd4\nxOiiW8zRmi8dWzVvI1PWED/tjbbECL10yg7ZTAfusasD1QvweND7m+oFLTQd\n6Ayc\r\n=ZQFC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC09rq6yGTCh07Wh4UbwD8cmQ77RlJqq1DyL6EOZBCf0AIgOZEUUNcGGSHAMblWYN6c+gAiJUbQ9GxHGCSRJWayfGQ="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.12.0-next.1598185643.fff33ed81ba68817fcf000c6a62a59a4e64fc9b3_1598185644518_0.42070819628991085"},"_hasShrinkwrap":false},"2.12.0-next.1598189387.f798779a3e2edc12fc4242f8021162950faa6fb8":{"title":"Tiered Map","name":"tiered-map","version":"2.12.0-next.1598189387.f798779a3e2edc12fc4242f8021162950faa6fb8","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.1","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/preset-env":"^7.11.0","@bevry/update-contributors":"^1.15.0","assert-helpers":"^7.0.1","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","prettier":"^2.0.5","projectz":"^2.15.0","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"f798779a3e2edc12fc4242f8021162950faa6fb8","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.12.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.12.0-next.1598189387.f798779a3e2edc12fc4242f8021162950faa6fb8","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-pfGJwo5MXZvqvBXm+k/yjhiPLgZRbtW1DfXF95h3PMk6xyD7VZTIs0R7fnbu8dspgxZMatNviZEipnt+eqkUug==","shasum":"2a9ba5190f4fdf4d642eebfcc835de985ad7bbb4","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.12.0-next.1598189387.f798779a3e2edc12fc4242f8021162950faa6fb8.tgz","fileCount":7,"unpackedSize":27108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQm9NCRA9TVsSAnZWagAARqkP/2wbOty0H2WUzknx97Wa\nZQ6134CEPCHia7BfvSpz2Z8j9x6ViT/9yFLA260YJlvfwNWtuJPrhErDG7NT\nG2xXZ+psAgUpX96gdb6eRRRym5+OYnDuhmDKC2kHRGaxw0A2JQzmEmPeVp4C\nRLoBg4ZEumoGV7mJFo44/OGEQWATUoTqJGGuGCZYufRfd6+4GNZ/tNCcaqeg\nvAFL3e/T7da/Duy9LnvrCtRtWs4uyci6qXKcMdYIwsqbMROo9F+Q8niXM953\n2OJF9HYXnZQDKb/ltqIYUSMyCuJcs4l6kHFjxGhsPv6UHttFflUWz0VB0j2T\nVBkZWgPFpzv+tYP+9SLGia0IwMu/XeLaMd0tTiVzAZPCZUWIKmyBhYFRvXt9\nqfUoX+ShMzBU+gXvRm7GvuOaUdW+BsNL1RyWtXriC2JobViTatcBcqZ3A/qh\nM2jtwUCRVril4kNbpdiVFMpWb8qdz0uPZWQoQ7TwzfdXrUVMAvwe30PEZAMb\nt3Y3bayodyxAaezYcho5PL/HEiZsURJOhtKoxbgbeKTIw+4O28Qfonb9cc3J\nY4niYIxdm3PJOY3SxcfQtACaiolXcP18aOWUt4+j+tDE+hRkqOBGUriUfPyO\nmM8fvvfzNCz2Z+Py1wo74SSFgO9BM+c+HOeLRwO8dpi8miegTxkfLMpkwVVn\nEYRa\r\n=sA9i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIESAMq+gWKlBBlET9Fu3N1xLTvf2RF2Q7q2IogxRsTjHAiAgl78VAWasb4xcXajBcXSc8Zg6OMdcRC9rfWlCbgJnyw=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.12.0-next.1598189387.f798779a3e2edc12fc4242f8021162950faa6fb8_1598189389342_0.7546365850376033"},"_hasShrinkwrap":false},"2.12.0-next.1598779830.0c07316d134fcb3544d510515c227c8841cf6561":{"title":"Tiered Map","name":"tiered-map","version":"2.12.0-next.1598779830.0c07316d134fcb3544d510515c227c8841cf6561","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.1","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/preset-env":"^7.11.0","@bevry/update-contributors":"^1.15.0","assert-helpers":"^7.0.1","eslint":"^7.7.0","eslint-config-bevry":"^3.19.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.11.0","prettier":"^2.0.5","projectz":"^2.15.0","valid-directory":"^3.0.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"0c07316d134fcb3544d510515c227c8841cf6561","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.12.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.12.0-next.1598779830.0c07316d134fcb3544d510515c227c8841cf6561","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-Gh3iZMLKEWPnyrHtO1ivFJBN0ZLcn9CslsILVAYM7e2QKpHex5KlYdvOFH8HCaOudtwZmUdeOUg+i46PdRf3OA==","shasum":"8ba805b7cbb9d1fa6a6eee2dc621dca6d0611b00","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.12.0-next.1598779830.0c07316d134fcb3544d510515c227c8841cf6561.tgz","fileCount":7,"unpackedSize":27108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfS3G3CRA9TVsSAnZWagAAlY0P/i4Ktn+2VlNbS0hAHLXa\nqlmrzmVWCSSViMoJE3M88hNvZ52jDd/yjhCRZ7FAiQ44B+xj2evFrNIkVZHr\na+6sYRAqOAYZoKUQbFLeJzvJuQuOespw4wryjZUswLu4qa1mMBGXLpfHhUjA\n1bx8pLh7dRC6kZP3GDupHn5fRuh7yxZ9n+UHk8EVVIUg5azEY/k0744mTV6w\nKlleQtkgX6I88kX3YGh74RT4nJ7ZufCJMHqJ/QZWUwTKqHPyrgXuJvC7H9wA\npzBiAHNi4A1YX9duEewgHpSbXPBbqCqYT4Df8Q94PQi7TJi3zLBdFUuac9Td\n591tK+CcLsHVj2BNrcWdSZagpE5JKNZRaV7R5+Q+5epY7kfv0KSgeP8oQY7z\nfW91DZkhgdsvSfqeZJbbVCTCiXobwC6PH5bWO91uI8K07Ekt7zs+CnuUHzVI\nR9NV2iBXdiqX/s2GunknA68i3QVkQ6Tx0hp2G8V4gKfVZKh9fFjuSAol5Ij8\nxoP5LTXAxp0waKxhOfIoUJwbA1VwAhUuSKgJNmqQvOvs96G9OhEJ+YIAY1/1\nnHKxfdg2xE5K7DPfekk+tWQQ9Y0EXsZQEJ0wtVo1XZIYx4YyvOO2DHptvTfT\nPxGFDySNHF+hpFu4g0myyXdGT6UUeOWJWXPBkD2o6N9ex6yMI3yw8qYewHjl\njrBa\r\n=8PTT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCX5a4gjqLNpji9iH8eOKVT2mLC58Ezao/tD2vJ/+qshQIgNF7Obga9nVQlk8s3pbkjgFJA1HhxjrlUZfrL8eWkZt8="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.12.0-next.1598779830.0c07316d134fcb3544d510515c227c8841cf6561_1598779831165_0.2718968275597704"},"_hasShrinkwrap":false},"2.13.0-next.1599281805.69e70a18f6e1d10fd6a0e420ee1b0f642280c171":{"title":"Tiered Map","name":"tiered-map","version":"2.13.0-next.1599281805.69e70a18f6e1d10fd6a0e420ee1b0f642280c171","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["source","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["compiled","javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/preset-env":"^7.11.5","@bevry/update-contributors":"^1.16.0","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.12.0","prettier":"^2.1.1","projectz":"^2.16.0","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"69e70a18f6e1d10fd6a0e420ee1b0f642280c171","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.13.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.13.0-next.1599281805.69e70a18f6e1d10fd6a0e420ee1b0f642280c171","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-0aBgzQ/KgGN/dakde9SnvDjRuXMh/VnE0D5F4CvTImMxVSbse2kYRFxn8NdoHG2qamkzkVQcU6gVaVlHVWABfQ==","shasum":"252c0aa56b0c5260e2dacbe4fb18af2176d94c3c","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.13.0-next.1599281805.69e70a18f6e1d10fd6a0e420ee1b0f642280c171.tgz","fileCount":7,"unpackedSize":27345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUxqPCRA9TVsSAnZWagAAI2sP/3H7dQ32eArz9ULu/hSj\nsV2QYYKz+lfD7TfYe32I9NY0shYnv9+7ipMisHCg/dZwn8tYARBVdphPmwOx\nmp3cUUf3JNBjqU0BFBO+/JEcUiSEtjjysxd7XUpwN/fY0t+JNLYpGZs/eUBd\ncA26meResgHpXgTkI50AM7TCTwgLcSCciY7Prgp6ba99jsPODzmLCBUIypM5\nwfKmTteR+DE6oMRlu4s9/PTKjGQzUxvlW9rSs/A752kqkFC+Mpmz+FFpyczM\nQ4K/MG8bdGgQCvmnJTNpfHNuW29pTvaZs70SDf7Gcpv8hlyrRyxVXIaFQQid\nmsLrMmrGtg6FvCUjxJ1YArrZMgbn+sDrH5U4BPakqxyddNcBlpdSDDJQK/4i\nPDnpHHswjDM9xTT5Ybxyt9DkMiSvse+JMaCkUXOefoygK3kFx8NLrgHvWbLR\nf9KcMotRu+TOEvmLXcRkx6WvO95cmLvSEx7jbpObpe7GLlaTLuodZuFqeqe2\nZLk3dgkGkk7Dm9GRcFbodbWXGYCryNXJjoUcWkGqghUo0snVol5aqW2NcRBI\nvwCsEKyT5upG3rh4v8Mr6YHlnISXobChDy+l4/cMzHxFnkjhtLCWRpfa68bF\nlorVLe0kjqXGxnND8Q6IJiTJO504ISngZVlAOLtDxghfY2IrRrWIYhDbFPPp\nySsU\r\n=EqJt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID/MtfNy/CRxIPG+CSmGqgzR/gWEJpCE7RKdg6mWvRmGAiBj3OLcwE5vVMrQcQYPU7iKlWyaxuEiUkHcOctrh0HT8g=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.13.0-next.1599281805.69e70a18f6e1d10fd6a0e420ee1b0f642280c171_1599281807099_0.30325299297055075"},"_hasShrinkwrap":false},"2.13.0":{"title":"Tiered Map","name":"tiered-map","version":"2.13.0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["source","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["compiled","javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/preset-env":"^7.11.5","@bevry/update-contributors":"^1.16.0","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.12.0","prettier":"^2.1.1","projectz":"^2.16.0","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"69e70a18f6e1d10fd6a0e420ee1b0f642280c171","_id":"tiered-map@2.13.0","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-UD44IUcXmi9uHZB0xBB6yudfeKnM29LqTXaMOzUrzOKpdH/24LELP/lVZ0ogAVBbGjrcbnFWFtdPrkejQrgy9w==","shasum":"e2fbcd2282eda545cf302bb7e68d43bafa96a33d","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.13.0.tgz","fileCount":7,"unpackedSize":27288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUxrCCRA9TVsSAnZWagAA9vkP/1U9jwxbVMGaSm6j3uJE\n/sidz4mC+duY/wrWgg8XIVrcqwmA8A8RCQv7w4/9LfiuP1N7gv+Da+zjj1gn\n7g4PZ/QDIodgNy0JHFUVIUc+BJiG6l6wXeLPRz8LGTA1aFm/zzoVIEXNEHzT\n2ws6UYAn5i3fqjeRe6hIu1N3d0rBmdwHSUYOdHZzZOeKXFsJQrNOqlTwiwvm\nEErv0q50/tjbO1gn5ZU01wLlFkTs14YAZfgx+w4UEcfu3D4M5AVYxbdj0P4e\n9EAsfHxnqK5FqGWqiqb3rcW3QJekOKbu8cuE+RBbkvKAQxcCSEJ3tO/5zyLt\nphlAiAb1w5dfdfRiDCvbSu4ntRkBe4YHkhkh+oJOlJPbCeUFrJCqJnv4pCEQ\nxA1219nkPTItqfMwGT26sQW1OINiY4+AO63qHKArPhwcc8RK7LEXPeTz20+r\n2z72xmHqXlHapvUASQUa52GrJmmnemHgIDKweX5lEMG38D1p1F5YBKoZ4CTW\nSQzngNZDF1BBx+5fgzZJvgwdaMO7rMthxEnZC9rieA4GUT7inpJGKeQ8wRZm\nRV57AY2JC21UVFAQ8ChOjyft8EwjBFoD6LQODYPrP5a+POf8kUKehJsR9Jjt\nEHy7PYR90E03spyyw2upH6Om61FMFkDoWHpxxU2mknel5Ya9MSVhwb6e+vA7\nQOPg\r\n=aCal\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFTzJmW892b/g5asvdOmdmHabrh5yobGDF/iiw0VhzFIAiEA+8gyjT6fYWL5H/ODqrgFhPS0jo5bIjLerjdbcnNYHZ8="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.13.0_1599281857581_0.3792047111894947"},"_hasShrinkwrap":false},"2.13.0-next.1599394404.7727b08031ad009780790dc253e9e321c05d0092":{"title":"Tiered Map","name":"tiered-map","version":"2.13.0-next.1599394404.7727b08031ad009780790dc253e9e321c05d0092","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"email":"b@lupton.cc","name":"balupton"},{"email":"us@bevry.me","name":"bevryme"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["source","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["compiled","javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/preset-env":"^7.11.5","@bevry/update-contributors":"^1.16.0","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.12.0","prettier":"^2.1.1","projectz":"^2.16.0","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"7727b08031ad009780790dc253e9e321c05d0092","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.13.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.13.0-next.1599394404.7727b08031ad009780790dc253e9e321c05d0092","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-+Py5g26M6j+oKdQP1TVPhDaBoq3inxlJYrImqfawzGtsKFm6sI1PWcopF7WODsArhlMT5X379kqBfQ0NpvqiLQ==","shasum":"fd60da7761e0e0655b2228504b1e2e5941ef3868","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.13.0-next.1599394404.7727b08031ad009780790dc253e9e321c05d0092.tgz","fileCount":7,"unpackedSize":27345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVNJmCRA9TVsSAnZWagAA+kwQAJ3pAW0wUTa9go2/VDwX\neGwaf2gPH6Raj41mJr+dFf6Q/v6jfuzTYVrgCAOiOpjS9dHJk348wsjbBCrm\nYPCCFgmScdI9b94MI+owzGaXfu0wACUcux4hqFDcgfdYTYZVfXn9pyD5x/ru\nq2R6+MMjLRayzbYWPYzjDuGgxEBXH1Txyy+N0jT8Gdy8td2FfiFsX3+QLMqG\ndYuCliB05a2bcDZrO3tFuZkTEg6u8vLUoUpIiypINTOql4RtQCBfszecmAYl\n9GBuaTdnKsowICNQgB5jTzqCs7gHA/F3+m+SHJ+hML9DErJ90EdR8Bp3yH2J\nXFs7NnEsNJhmTEAuhC2a3XQM9Squ3jg3Kdsjt323U4OL8la/dAnKQJ4BWr4V\nLOy+CdC+HhlCbm51uZZYuufhvZJpJ0jtJpYAeLlODyJSv8deh9ubrljuNVKC\nYNidRgTDijFvc/+/+ld70QBYTaIgBbYaN6qzG9yM25Z6d+z3foQTc1HyEb5U\n6guKaqLCz+Kdz0OVdXEkzE0BeIVwJgUhuBniJDIHlyyGiNhXTh4exUYV8OB1\noq7/GukS40AkRuRVFe3dUZEX44fPrdIR2k74umXi6XaIZLWXVlhFI18SPOsy\naYtGCUbVSsX2nzFmNEfU8eVmahdPuWbg3tT/Xwa72GjYipTLV/9RD8f59NE8\nJP1x\r\n=yc+J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHGJkcAQK2oE9zFzDJK8Y+M2eJBkKpLVeqczi1p5EAfkAiEAm7ZMB+huVxlmUHMGmIY6OODwEdlLsxL5dm96dDPtUR8="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.13.0-next.1599394404.7727b08031ad009780790dc253e9e321c05d0092_1599394406130_0.7991526289283759"},"_hasShrinkwrap":false},"2.13.0-next.1599992260.3c7104ec105bcd6013d8cb4dad5092052a9eada8":{"title":"Tiered Map","name":"tiered-map","version":"2.13.0-next.1599992260.3c7104ec105bcd6013d8cb4dad5092052a9eada8","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["source","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["compiled","javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/preset-env":"^7.11.5","@bevry/update-contributors":"^1.16.0","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.12.0","prettier":"^2.1.1","projectz":"^2.16.0","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"3c7104ec105bcd6013d8cb4dad5092052a9eada8","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.13.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.13.0-next.1599992260.3c7104ec105bcd6013d8cb4dad5092052a9eada8","_nodeVersion":"14.10.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-LGTRl7uGxce8IYo4+YrHIYDhfcF+6v9TjuuqnARJjKb+7wcgOamdOQ6kmE5d+CCNODw8wiSp8v1yLELYmyv69g==","shasum":"88c20d37d082d5d77c1b1b5110a1411aa522c40d","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.13.0-next.1599992260.3c7104ec105bcd6013d8cb4dad5092052a9eada8.tgz","fileCount":7,"unpackedSize":27345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXfHGCRA9TVsSAnZWagAAwLAP/2CC2fVsn3FriRPLcmIl\ntkCC0uRmhOhSFYIDLcheEvC/6PIjJA7A9vg6w5HRgfeDdIO50gxgqJ0nFBPn\neCRVwwDNx+FJ8bG9Onh4t46AlITiK/MIJL+Zt9ViTz3NMUZw2wUQ/pEUeY9M\nQlZ5d4hGGirUxN6QX952KeXZ8NhsFyMJUQwrZwR/Wl3p2bmMj2pv27+MwDJ4\nRN84d9MePeZbsjPn0EAzh3Wg3hTBMRHXSx/zHDOeCa0dLEfM8i3J0DT6WHL/\ndLuLruwGjX3Cs96yoX9WN5eAVQ+rS+Bu2CD6DhQe8M8ztkyYG254jVKP27NK\nf/FoAxji3qp2kKogy6qGT1zx7lrqg/pUeRTGzviUppobOfHblPbFJhBWu0m6\nCXNZqfbht7FfRttHVll9lrb129nKtR0/D87+9Npbeai7oZs70PSMDDHZowpE\n//aSYYKmYx807WPDgfM7mqJx1VlnnBpF/G5JBNJVVcrCBezvMU79WX7AJ6Tv\nkDcjomgomYOjBOSvpn5AFXd8S8jV8NHHtKHsBI5n9RqvBUmvaqsW/D91+aLB\nxWIk53CgFEKRGyreEFL5kiTvRsYE/8Iezp7jfiNnCXLu+dPTQqmplzKudmVd\nA1PfNk6b0HEgjASmzS/wuE2CYONZtrOEKC/yZSCwh13NOK8vNDWyUeywsV0U\ngdyQ\r\n=IiMa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICVqTZLgTls9I/8LTOFoyaVZWvsZNqA0LEbqRRJQ2zbEAiB6i7ABGQGZ/y4e1ewvk6wuG4qeHaftm3AHrAbPRsbhsA=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.13.0-next.1599992260.3c7104ec105bcd6013d8cb4dad5092052a9eada8_1599992261576_0.09188549335189111"},"_hasShrinkwrap":false},"2.13.0-next.1600596774.13f705a859c4577466f9171b06d990b6e2bfbaa0":{"title":"Tiered Map","name":"tiered-map","version":"2.13.0-next.1600596774.13f705a859c4577466f9171b06d990b6e2bfbaa0","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["source","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["compiled","javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/preset-env":"^7.11.5","@bevry/update-contributors":"^1.16.0","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.12.0","prettier":"^2.1.1","projectz":"^2.16.0","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"13f705a859c4577466f9171b06d990b6e2bfbaa0","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.13.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.13.0-next.1600596774.13f705a859c4577466f9171b06d990b6e2bfbaa0","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-HWXV5+lg2gN+X7InAXGEB08ChgACZ/keP4JwxH8cNLrRUXD3RExipaASQ7hb5ScjWNYvubO/BUBxncStFOeK9w==","shasum":"eb213752aff0fdca2797688fead1454a0edcff83","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.13.0-next.1600596774.13f705a859c4577466f9171b06d990b6e2bfbaa0.tgz","fileCount":7,"unpackedSize":27345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZysnCRA9TVsSAnZWagAAGPsQAKFD3RRBPmJlMdUkubQo\nt9sZtNU8LsUMO0YhX5w5N4hqLhmDB7rgejI3KU57TIrqjva7CaWctQFnM5Sb\nyTXQkafoVCyTrqtkTrdnY7GQHc2JxyWN3Cnh2HW58zCvwo1C+g8m3teXLChA\ng2dzpUQmy6fZQ+8h6DfIGxRtyX0H4IdmzrJgn1Db0Oqp+NWi4IcY2+mU/PzW\n9u48nsMe0OhKQQLwpV3nmWxSM/8bg/V+DYcflaOd+JPkmszZWxAhm62p5x44\nMaUrKwDxEX1mAQGLnR+p6MA9OjKPxDwm8XUFvjzqdM+Pd04BCuaVuvfovjka\nofsPJIVBt0DCFtY2qbCGPtMxAVUcpmmcgz5oaKzp5U09dht+ro92FIjN1j1N\nMbO68FCtpJV1JHJOZxyJwqP6e9bLO8i9ucv3OjMfklOoN18Grrgfp61FeezU\nZfmNEPOmPJBkI7NkGEV36T4GpcfaJe0uI2Sn7R/5lrPC7gocRaAOr4T+eZIO\nENuGMn06sOsyBLnzDzZLFSoDQvZT/sBiJKTsNC7IKmWAWeRilJi9aqVZGI8R\nTAbCCLf8FBbGDf11YNqvUThr3CltWbEgTYFH0M7wfF3x3jGMloUb6twdj5zg\nldZYCIAB48IXjqnjzhAYxxXB0tElDFUQgilRxBgpvA1Q19Z1y79OldEXwqAQ\n7vU7\r\n=O0wr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8lZjC/4MTTrrbli3UF8/EklkO/xlHdoznoiqEj6bJ8QIgdsokz6ZVJK9E82aL5Zkwx12GiQBYQmqFi2U2dEPBVJA="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.13.0-next.1600596774.13f705a859c4577466f9171b06d990b6e2bfbaa0_1600596775384_0.2652808530238271"},"_hasShrinkwrap":false},"2.13.0-next.1601205932.4396a75fee8213faa75e31af8e75ba47c4f83a3e":{"title":"Tiered Map","name":"tiered-map","version":"2.13.0-next.1601205932.4396a75fee8213faa75e31af8e75ba47c4f83a3e","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["source","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["compiled","javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/preset-env":"^7.11.5","@bevry/update-contributors":"^1.16.0","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.12.0","prettier":"^2.1.1","projectz":"^2.16.0","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"4396a75fee8213faa75e31af8e75ba47c4f83a3e","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.13.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.13.0-next.1601205932.4396a75fee8213faa75e31af8e75ba47c4f83a3e","_nodeVersion":"14.12.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-ogq9iFI13nl84yJXG5Me7LfDTwmBt7/953cWH7KSZfETCpMWI30+ZoSBj7PjKaDZZ/cv3yud5gdFUj3UGUYkbg==","shasum":"98d88b468c714abd67d7bd326cfaa71641f26598","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.13.0-next.1601205932.4396a75fee8213faa75e31af8e75ba47c4f83a3e.tgz","fileCount":7,"unpackedSize":27345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcHauCRA9TVsSAnZWagAAlxgP/2/Zf9NNltv6DX2PXpMi\nSg9U0xkMFqJHZlz0m49nuoHEzjEGFR/l2U+TBrycXx4Ja05q7yRVntlTVqvZ\nzmbkyEYTwBDtPraWyOkBEtalUBroq5E43np2BT8eqd7d398H3jKLQecjS+tN\n+znfq+Yq9lMPtRRKxd7Rd1N5LgjPORd20g4BPYQPyGVeMl0NJ+m4EHXX4zGW\n7X7N8ywSCpDZCF5D8Ggq2nxLbV9lijDB+aurFectwlMaFxZb+ffQYqDy+eVE\nc0hfiGez7gl2JrnIkPGuipFMKY+n16y+Rsd4V8hA36L4xL9ayn65hQITovEG\nx8jyMgjmf++4kTu3WAhcdTt8ApqDoVlxTalhfhuk/3l+OKolZXXIAS7oEc0q\njIgInTdpuj0K87YWYQF1QzDT8a0ng/wuAFuMuKo8gY9FO7PHq3Qon/EMNFfg\ncN8/5y7hNGElZhIWVaM5IV6Mw5+djsnua2DFb01kGf3us4OcGo4YqD8lHkdK\naQYhRkfr6YXuHx6tUouLxOr/UgJhM/a30TDb7euxxa4Ge8uA1SkzbBgABwBz\nKI5t/XdnscefIinHVVpr1BCu3gjnTyfuyp6WikOB/FZAKSs30LBbrmiS/9JN\nf+B9QEYEWKOxSuJNW+qagWZ70qzkmFiIIgbKOnjeqAWCNQVDJjbOow47PdoB\nISqY\r\n=jvkb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF7gDOCaoDl6EVDKiUNTuBNIxcJ67y7nS+ZpEtV/dOMrAiAk9gFvy0MAo4xhLggEeDzuTGexmZBtkb8Ye/58ZN549A=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.13.0-next.1601205932.4396a75fee8213faa75e31af8e75ba47c4f83a3e_1601205934070_0.9965475084781288"},"_hasShrinkwrap":false},"2.13.0-next.1602405600.b0b6445369708eae5b0ca26aa2ded862fec6e156":{"title":"Tiered Map","name":"tiered-map","version":"2.13.0-next.1602405600.b0b6445369708eae5b0ca26aa2ded862fec6e156","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["source","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["compiled","javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/preset-env":"^7.11.5","@bevry/update-contributors":"^1.16.0","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.12.0","prettier":"^2.1.1","projectz":"^2.16.0","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"b0b6445369708eae5b0ca26aa2ded862fec6e156","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.13.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.13.0-next.1602405600.b0b6445369708eae5b0ca26aa2ded862fec6e156","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-DA0iw8kdJ4iIw0DlkNypOV2MeTnkQMhMr1lrnX83Wzj81skbxh0M/9iNU7vo3tCqF9kw1nVaJjonh3VFp65UPg==","shasum":"fc90b22908fa964e8f97c824f565260515f747c2","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.13.0-next.1602405600.b0b6445369708eae5b0ca26aa2ded862fec6e156.tgz","fileCount":7,"unpackedSize":27345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgsTjCRA9TVsSAnZWagAAXIYP+gM+geSFZogyhjT/Em7X\n3/XJiS9Dtvglh+2F5r4bMnk+++tABE1RlIsZPuc90ty/z6FBz5Xmy5P2aO8O\ni7BOvGSI80CchijBkzaRsS1tPZSwCIP3vtjwxxqa1bjec8o1cosRxvDEDAT8\nybwOq58selbJgc1mQncoY9aM5kVVaN37OpXJ0xcOVbojoo1JkcueSPAL9NaJ\nXZyI7TnzW0UAH+6bMF/92PZr1hqMXkjKNFxrfnEKPPeuOl6HF2GpjtbXyPU1\ntb70jAfUw6ouQ/89WJywQCs2X9VlxM3VdKtTzbFbeKJekvIcLkGif7E59MW5\nlF242BqM3YzpYYQkeC9A7nyUT64aYlRCNIfKIZyFhlvq9YW3jI6C98m5EG+N\nUnsvAufZiI8zzY/9OXP7SJCd8Ao1GkEJCT84xVEwFqH07zI7rYWTltDhGCIW\ntvsBj8TS3T0TLXrojNWfQbGv8kKYhhCZ8C7jSi1Om+QNPelMbTvcgh6w8kXA\ngL/yHbtjU8ksGJ2d/pqfDm08CD3DNXbFQwYE5yWaK9rYzr64/VXjgCSPMxIS\n3APk2Xib5Dp5pq+lRp8jW23/BF330jWvvympzwPofSgiTCmUTtiSKIwb1r5e\nWvJ1J252IMMGC9ArIrzN8MXkMgXSfwrE/tGOlG5zexGh60usaFcZHTwbLmR6\nwkYe\r\n=N3Qo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7Gv7cz5/lhV2/0gNcTVIQFFdrq46ng11StgX6UZeYIgIgCIxX439YaHA1G4VPFt9hbTWdScuzVoQaB6cAdMaNHeE="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.13.0-next.1602405600.b0b6445369708eae5b0ca26aa2ded862fec6e156_1602405602804_0.341547092001548"},"_hasShrinkwrap":false},"2.13.0-next.1603016306.186b654e5b88f439d837a45e3d3aa0755f82b7d3":{"title":"Tiered Map","name":"tiered-map","version":"2.13.0-next.1603016306.186b654e5b88f439d837a45e3d3aa0755f82b7d3","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["source","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["compiled","javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/preset-env":"^7.11.5","@bevry/update-contributors":"^1.16.0","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.12.0","prettier":"^2.1.1","projectz":"^2.16.0","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"186b654e5b88f439d837a45e3d3aa0755f82b7d3","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.13.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.13.0-next.1603016306.186b654e5b88f439d837a45e3d3aa0755f82b7d3","_nodeVersion":"14.14.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-lQUEaY+5cjcxmYfbsQJ9eRLQiOW+9yj0uDJKQLvdptFGwRK2Nzr4Z6nLd6axa5IeDb8UMJ+96CNGGtQmG258jw==","shasum":"aa4901bc23884f9ae06fa6218d5535560fd86593","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.13.0-next.1603016306.186b654e5b88f439d837a45e3d3aa0755f82b7d3.tgz","fileCount":7,"unpackedSize":27345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjBZ0CRA9TVsSAnZWagAA5LQP/1gNejtfIRApWf8OTdfM\nZfS4Ie6noJRuzvHcygqWFAyH+FgPE0U+W7nF5aFAhotg4aX5+o33Klhqdgrw\np+PpHM3YaIGPwh12Buy9ZA3nBfgz99UJFGOi5cu6BmjHq/sJCf3AJX8+UAXO\nc7vi23gYEg+3zCos/bEp6xORW/qEye/THxLUgdIBU5nZihVyIC/P2PQEAGHC\n69Wkf5omfhpY1g+kiwt5TrXEt4E+m8Nnxk7RC9bc1+G6hwP2HMlWaBkweNSM\nvi0uo+DOBOWyy+Ue0MeW6BPKNtAv1PuEw1As9cgKt8Q8/jm6FVVzj59kYYUx\ndHXWPwQvMlgn+S7jfxsgWX2UxuGppWI5LAA0XmHuonAsInkOFNCD7sa1dQoS\ng8D/Q2VPriwGuNS2hNoq7jqIA1sbB8IDwlMi7sEYKYmuIHfYozKs0QoxZ6jk\nsWBiSPY58NmQ82AxGZtC4x6zTNMvvM310lkWgUDjkrKJGmX3kYWUrRqlUYYV\nZqGa8dsQfgK/+VGeBvYP+wnpobeiSSpbDB7IMSKioyom/gcNSKiEpThMr9mU\niJRWNa7g6pY2u2EWsITRP3AgVnVydk/D5s2gAApHuMSsTEUge7gUMuyEphaF\n6RbYfghfqIlLmEHxARA6c8i6+Z8XKNJFdVlGNNFqopcbZCXlIqI5Txt88lVh\nOvJI\r\n=T/DW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHvMN3KB9koO63eH8AgQaqbSvjv/QjNTGOEnB72qD/6sAiA8Jf4MyMhI8ejITFwfxPIDXC7bw2w5Az/H8fsMw+JHQQ=="}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.13.0-next.1603016306.186b654e5b88f439d837a45e3d3aa0755f82b7d3_1603016307901_0.5391791884781694"},"_hasShrinkwrap":false},"2.13.0-next.1603622449.95f8a2407e249d7e685f311fcef81e13f3d03a3f":{"title":"Tiered Map","name":"tiered-map","version":"2.13.0-next.1603622449.95f8a2407e249d7e685f311fcef81e13f3d03a3f","description":"A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)","homepage":"https://github.com/bevry/tiered-map","license":"MIT","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","githubsponsors","patreon","flattr","liberapay","buymeacoffee","opencollective","crypto","paypal","wishlist"],"config":{"githubSponsorsUsername":"balupton","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","travisTLD":"com","githubUsername":"bevry","githubRepository":"tiered-map","githubSlug":"bevry/tiered-map","npmPackageName":"tiered-map"}},"funding":"https://bevry.me/fund","author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"},{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"engines":{"node":">=10"},"editions":[{"description":"ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules","directory":"source","entry":"index.js","tags":["source","javascript","esnext","require"],"engines":{"node":"10 || 12 || 13 || 14","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["compiled","javascript","require"],"engines":{"node":false,"browsers":"defaults"}}],"type":"commonjs","main":"source/index.js","browser":"edition-browsers/index.js","devDependencies":{"@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/plugin-proposal-object-rest-spread":"^7.11.0","@babel/preset-env":"^7.11.5","@bevry/update-contributors":"^1.16.0","assert-helpers":"^7.2.0","eslint":"^7.8.1","eslint-config-bevry":"^3.22.0","eslint-config-prettier":"^6.11.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^3.1.4","kava":"^5.12.0","prettier":"^2.1.1","projectz":"^2.16.0","valid-directory":"^3.3.0"},"scripts":{"our:clean":"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:deploy":"echo no need for this project","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin master && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./source/test.js"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"gitHead":"95f8a2407e249d7e685f311fcef81e13f3d03a3f","readme":"<!-- TITLE/ -->\n\n<h1>Tiered Map</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.com/bevry/tiered-map\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/com/bevry/tiered-map/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/tiered-map.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/tiered-map\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/tiered-map.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/tiered-map\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/tiered-map.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/tiered-map#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/tiered-map.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nA simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)\n\n<!-- /DESCRIPTION -->\n\n## Usage\n\n```javascript\nvar TieredMap = require('tiered-map')\n\nvar m = new TieredMap({\n\ttiers: {\n\t\t'high': 75\n\t}\n\tonChangeListener: function(key, newValue, oldValue){\n\t\tconsole.log('The key', key, 'changed from', oldValue, 'to', newValue)\n\t}\n})\n\nm.set('name', 'ben')  // name defaults to ben (default level is 50)\nm.set('name', 'bob', 25)  // name will stay bob\nm.set('name', null)  // name will become bob\nm.set('name', 'john', 'high')  // name will become john\n\nconsole.log(m.get('name', 75))  // will output john\nconsole.log(m.get('name'))  // will output nothing\nconsole.log(m.get('name', 25))  // will output bob\n\nconsole.log(m.getTier('high'))  // will output 75\n```\n\nVery useful for having multiple tiers of data attributes with different priorities. For example, you could have default values at tier 25, adjusted values at tier 50, and override values at tier 75.\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>npm</h3></a>\n\n<ul>\n<li>Install: <code>npm install --save tiered-map</code></li>\n<li>Import: <code>import * as pkg from ('tiered-map')</code></li>\n<li>Require: <code>const pkg = require('tiered-map')</code></li>\n</ul>\n\n<a href=\"https://jspm.io\" title=\"Native ES Modules CDN\"><h3>jspm</h3></a>\n\n```html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/tiered-map@2.13.0'\n</script>\n```\n\n<h3><a href=\"https://editions.bevry.me\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>tiered-map</code> aliases <code>tiered-map/source/index.js</code></li>\n<li><code>tiered-map/source/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> source code for <a href=\"https://nodejs.org\" title=\"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\">Node.js</a> 10 || 12 || 13 || 14 with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li>\n<li><code>tiered-map/edition-browsers/index.js</code> is <a href=\"https://en.wikipedia.org/wiki/ECMAScript#ES.Next\" title=\"ECMAScript Next\">ESNext</a> compiled for web browsers with <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a> for modules</li></ul>\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://github.com/balupton\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/tiered-map/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/tiered-map\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/tiered-map/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2015+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n","readmeFilename":"README.md","_id":"tiered-map@2.13.0-next.1603622449.95f8a2407e249d7e685f311fcef81e13f3d03a3f","_nodeVersion":"14.14.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-FHc67nGhZT724zZdQ3olk80iosH2cUWzZf56hVw4i9QUuCxPWVW3y7KEBN0lMhYHwLV066pIe2f5wrChyqeIeg==","shasum":"23c04ef134a4cf7a37511163cff26a0ac491d782","tarball":"https://registry.npmjs.org/tiered-map/-/tiered-map-2.13.0-next.1603622449.95f8a2407e249d7e685f311fcef81e13f3d03a3f.tgz","fileCount":7,"unpackedSize":27345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflVYyCRA9TVsSAnZWagAAm6EQAI0qwxGsinZOfyQxtugz\nOHef4fdLPZ3NoWYMpiFCEI86r7wBZLQ9sfOK6K35FQObBqsE+59SEjpYYfTq\nGmfcBpGHm61OOvPa4npJSxfnD13okqMg6oazBOZxY7370ExTfpWsnvq1dyPM\nkBd4NW9YGTFSdsl0k0ySCa9Fs1Iww7gwdbCCFQSAPvWsFNSd5L4iRAt37FET\nuyFPfuJGmkMYk9x8iWOzZMbt1itODmNmDO7ontbGsmZ741I+I+mT53lQFtpM\nLhFotDdn742hDxmW7dAC9Z9PNEPtXyYJuzjCrHxBTq4pO/PfR3BcVxglNwT8\no4bA/0VemZlNghJCwwJlQQwY0H+JH+PQQtLE9J5lSj8quEzbTJDN0zwX6a2i\npPugfyckoQAXsAN/7QFp/hG5wJRzfPsF8ZWzKsS26XZ36ieIWsVqKrLA1Gma\nuo72WpaVQjKB+dU4wzX/dnpKrIAukgTu+7D/AVfrkZWST9QAGxa4gx9Gp734\nWdbUeZ7/z+iU719LkY6HTyvlhJYKA8A1Cq3I22/NEJOo+n95kR8Qd040nQHW\nORoaIC1+/Bs40tNBAIAn8IJxxotgpjmVvkJt8+3uiV2EIRx7tlckLB84rhbO\n/y3lWQVOn+ah/nV4n3HuHVIrkLsCoZDOZOFMf6qnfGoGGQ/xI+CPPyX53Rlc\n2nBI\r\n=JOwc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNXjMeu3Kfl5OglwTp3M9JFln0Kk508ktyizB1MG+97wIhAL5CV1Wi/reAlY/c6QuHRAKnglsqrxDplsrEKpzgL++s"}]},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tiered-map_2.13.0-next.1603622449.95f8a2407e249d7e685f311fcef81e13f3d03a3f_1603622450321_0.10603298220510604"},"_hasShrinkwrap":false}},"readme":"","maintainers":[{"email":"us@bevry.me","name":"bevryme"}],"time":{"modified":"2023-11-14T11:14:10.454Z","created":"2015-04-02T20:06:33.068Z","1.0.0":"2015-04-02T20:06:33.068Z","1.0.1":"2015-04-02T20:11:04.146Z","1.0.2":"2015-12-10T03:23:32.166Z","1.1.0":"2016-05-27T16:44:22.278Z","1.2.0":"2019-09-10T14:05:36.316Z","1.3.0":"2019-11-13T04:31:46.461Z","1.3.0-next.1573619540.6eb6849fa54eeb98fe91e90238f9192983098204":"2019-11-13T04:32:22.826Z","1.3.0-next.1573686687.a1436f37973afb9d352676969fdf59ffcb943256":"2019-11-13T23:11:29.608Z","1.3.0-next.1573738752.ebfce0118e36485ea4dbfc4ad0c48f854220c328":"2019-11-14T13:39:14.362Z","1.4.0-next.1574061539.e6f7483f54399050cb059a993efc1169ae01a61b":"2019-11-18T07:19:00.557Z","1.4.0":"2019-11-18T07:20:03.769Z","1.4.0-next.1574657599.e82dd443b54460ae7a5cad4ace6fb264020b1f5e":"2019-11-25T04:53:21.482Z","1.5.0-next.1575156045.8367ee72161ed5c00bdb09dc6eddaf818c1b3574":"2019-11-30T23:20:46.824Z","1.5.0":"2019-11-30T23:21:50.420Z","1.6.0-next.1575219669.d0c5dd22670ea21310358566c067bb182124eb61":"2019-12-01T17:01:11.087Z","1.6.0":"2019-12-01T17:01:37.529Z","1.7.0-next.1575922073.3bb8911b278aba02fa3b445ca28b51464678cd8c":"2019-12-09T20:07:54.772Z","1.7.0":"2019-12-09T20:09:14.387Z","1.7.0-next.1584137913.51b96b09df456f86661d47e361cbdda780381e79":"2020-03-13T22:18:37.575Z","2.0.0-next.1589196213.32f61d67dd799ab249378dc44ec43521a95d3974":"2020-05-11T11:23:34.687Z","2.0.0":"2020-05-11T11:24:32.513Z","2.1.0-next.1590010738.3c263a277b2d2ff724afbc010938b9fb7261685b":"2020-05-20T21:39:00.054Z","2.1.0":"2020-05-20T21:39:58.742Z","2.2.0-next.1590065536.75fec03cb90b18884b82f7ee0ac51a77f9770d61":"2020-05-21T12:52:18.076Z","2.2.0":"2020-05-21T12:53:07.852Z","2.3.0-next.1590082786.2a1f1ae698a1e43b5327acffe120d7d4d3699997":"2020-05-21T17:39:48.391Z","2.3.0":"2020-05-21T17:40:10.373Z","2.4.0-next.1591787232.b8d3612230fc959a3ce763cb6f7d38ffa362538c":"2020-06-10T11:07:13.742Z","2.4.0":"2020-06-10T11:08:15.616Z","2.5.0-next.1591803133.4d72e1fe4709d899ec0173330497cdd7235cf736":"2020-06-10T15:32:15.684Z","2.5.0":"2020-06-10T15:33:32.011Z","2.6.0-next.1592652490.7fe771cefe05cc63cc99905a840974cf232301c1":"2020-06-20T11:28:12.356Z","2.6.0":"2020-06-20T11:35:58.205Z","2.7.0-next.1592729990.b954b2529a175269ecec7d3cb6a3a2fb23943481":"2020-06-21T08:59:51.615Z","2.7.0":"2020-06-21T09:00:49.530Z","2.8.0-next.1592765431.e21368e23cc785bf51a5ed2b59388d0302a7a823":"2020-06-21T18:50:32.556Z","2.8.0":"2020-06-21T18:51:31.564Z","2.9.0-next.1593061224.b34ecc06bddcbf59d60038c70d2a463469932efc":"2020-06-25T05:00:26.248Z","2.9.0":"2020-06-25T05:01:09.417Z","2.9.0-next.1593742642.b781e057f60543d0554cbe83cd311ba0398362c0":"2020-07-03T02:17:23.919Z","2.10.0-next.1595452166.e5b22118244e6403ebb197a52e26da79d26a8eaf":"2020-07-22T21:09:28.329Z","2.10.0":"2020-07-22T21:10:29.600Z","2.11.0-next.1596524089.3f60beef257efe8df0b82eccf3c81b0acb92727f":"2020-08-04T06:54:50.975Z","2.11.0":"2020-08-04T06:55:54.983Z","2.12.0":"2020-08-17T22:16:56.602Z","2.12.0-next.1597702663.5643b9174437084fdd624df66f01338ecd0badc1":"2020-08-17T22:17:44.907Z","2.12.0-next.1598185643.fff33ed81ba68817fcf000c6a62a59a4e64fc9b3":"2020-08-23T12:27:24.669Z","2.12.0-next.1598189387.f798779a3e2edc12fc4242f8021162950faa6fb8":"2020-08-23T13:29:49.505Z","2.12.0-next.1598779830.0c07316d134fcb3544d510515c227c8841cf6561":"2020-08-30T09:30:31.279Z","2.13.0-next.1599281805.69e70a18f6e1d10fd6a0e420ee1b0f642280c171":"2020-09-05T04:56:47.232Z","2.13.0":"2020-09-05T04:57:37.775Z","2.13.0-next.1599394404.7727b08031ad009780790dc253e9e321c05d0092":"2020-09-06T12:13:26.229Z","2.13.0-next.1599992260.3c7104ec105bcd6013d8cb4dad5092052a9eada8":"2020-09-13T10:17:41.728Z","2.13.0-next.1600596774.13f705a859c4577466f9171b06d990b6e2bfbaa0":"2020-09-20T10:12:55.514Z","2.13.0-next.1601205932.4396a75fee8213faa75e31af8e75ba47c4f83a3e":"2020-09-27T11:25:34.211Z","2.13.0-next.1602405600.b0b6445369708eae5b0ca26aa2ded862fec6e156":"2020-10-11T08:40:02.981Z","2.13.0-next.1603016306.186b654e5b88f439d837a45e3d3aa0755f82b7d3":"2020-10-18T10:18:28.053Z","2.13.0-next.1603622449.95f8a2407e249d7e685f311fcef81e13f3d03a3f":"2020-10-25T10:40:50.442Z"},"homepage":"https://github.com/bevry/tiered-map","keywords":["attribute","attributes","browser","esnext","map","model","node","tier","tiered","tiers"],"repository":{"type":"git","url":"git+https://github.com/bevry/tiered-map.git"},"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"}],"author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"bugs":{"url":"https://github.com/bevry/tiered-map/issues"},"license":"MIT","readmeFilename":""}