{"_id":"@teppeis/multimaps","_rev":"6-a07ccda6fcf333a117da8e66432a017b","name":"@teppeis/multimaps","dist-tags":{"latest":"3.0.0","next":"3.0.0-0"},"versions":{"1.0.0":{"name":"@teppeis/multimaps","description":"Multimap classes for TypeScript and JavaScript","version":"1.0.0","author":{"name":"Teppei Sato","email":"teppeis@gmail.com"},"publishConfig":{"access":"public"},"engines":{"node":">=6"},"main":"dist/index.js","scripts":{"build":"tsc","clean":"rimraf dist","lint":"tslint -c tslint.js 'src/**/*.ts' 'test/**/*.ts'","mocha":"mocha -r espower-typescript/guess --watch-extensions ts,tsx 'test/**/*.{ts,tsx}'","test":"run-s clean lint build mocha"},"devDependencies":{"@types/mocha":"^5.2.5","@types/node":"^10.9.4","eslint-config-teppeis":"^8.2.0","espower-typescript":"^9.0.0","mocha":"^5.2.0","npm-run-all":"^4.1.3","power-assert":"^1.6.0","prettier":"1.14.2","rimraf":"^2.6.2","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-import-eslint-config":"^1.0.1","tslint-plugin-prettier":"^1.3.0","typescript":"^3.0.3"},"homepage":"https://github.com/teppeis/multimaps#readme","repository":{"type":"git","url":"git+ssh://git@github.com/teppeis/multimaps.git"},"bugs":{"url":"https://github.com/teppeis/multimaps/issues"},"keywords":["map","multi-map","multimap","typescript"],"license":"MIT","gitHead":"a284cc1f5d0d5626e4370651907b543db3cdf440","_id":"@teppeis/multimaps@1.0.0","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"teppeis","email":"teppeis@gmail.com"},"dist":{"integrity":"sha512-tZjIeC4dFVeigEMeEpWT4CeWk0Z/FclURsspM+1FLss54nh/Mxg3pZJ92zhNxC1JEa/77c7f4gpdsqApEL6IYQ==","shasum":"d1cd6c0a0f7bef317db8252c9c094e9fd9c50eae","tarball":"https://registry.npmjs.org/@teppeis/multimaps/-/multimaps-1.0.0.tgz","fileCount":14,"unpackedSize":38551,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbi93VCRA9TVsSAnZWagAA08cP/3OrDuL2LExPuT85IxTU\nAfthLeYah66JBJT9DS6A2s9hrDjlbSZfAPkvoL1IRh8CZ5EYhZtn1nipnQuZ\noIKw+Q0OHaSjRG8+JSQO3RlOU8TCou+7Ikb0tL2/+HgMc7MV/H20E73QwgGN\n7qLaoqExGDlTjhPg/Kh0p9nKCeKZrI1MkTlHe+zJpe613SFF3iYCSbvgcByU\n3+2mNXlSiv05KA8GF3A20nEjPU/v3fvDWh3Bsp7BIo1zCsEXJPxxG/qBtwzr\nfFiLYsgnI2pZU6HzOVir5T66/DO5YdhauvoJCG9ghwv+t+6ATdcdHqX487LA\n30EfarMFJ22MJ3GkB+ovadBD0ZWJwF0tAhCcIJ5vwutU01WCmHn3J0HaBkWx\n/h/0k35utX0dQ8kMeF5InKjIitVI9lJjE4pXYW21a4KCb4gH/AEofV76ySTn\n+5eVbV1Qv7QlF5j976J4opJ8rmRtC6sIzlH6bHRWdw5AXYB29ha8ciwOFegO\nGav98yOkiqyUkeV6leXBBxfrvsE0jOocM4IIt1DCVQgAvyM8+GocVcRwu3bP\n0qPTkfwKNuF6nz/pVKrFtLwUAlRRqEHWuhYIW+h0Fet4Ab0Z9lH531DcNyVu\nUNXNWh6X5dOLurwXm8C32QvpHAr++keW0OM8CQwdt013WJj6nL90fyxvTfOS\nVlwy\r\n=VXzq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID01D/8TkfgJENlsEvrTnbKIiEceH41LbiOIeRQvVZjYAiBP5oCFbE31l3lnHcjZfKnXXpwvyFz3qKOz6Sz1mJlqrg=="}]},"maintainers":[{"name":"teppeis","email":"teppeis@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multimaps_1.0.0_1535892948750_0.25322088013779953"},"_hasShrinkwrap":false},"1.1.0":{"name":"@teppeis/multimaps","description":"Multimap classes for TypeScript and JavaScript","version":"1.1.0","author":{"name":"Teppei Sato","email":"teppeis@gmail.com"},"publishConfig":{"access":"public"},"engines":{"node":">=6"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"rimraf dist","lint":"tslint -c tslint.js 'src/**/*.ts' 'test/**/*.ts'","mocha":"mocha -r espower-typescript/guess --watch-extensions ts,tsx 'test/**/*.{ts,tsx}'","prepublishOnly":"run-s clean build","test":"run-s clean lint build mocha"},"devDependencies":{"@types/mocha":"^5.2.5","@types/node":"^10.11.4","eslint-config-teppeis":"^8.3.0","espower-typescript":"^9.0.1","mocha":"^5.2.0","npm-run-all":"^4.1.3","power-assert":"^1.6.1","prettier":"1.14.3","rimraf":"^2.6.2","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-import-eslint-config":"^1.0.3","tslint-plugin-prettier":"^2.0.0","typescript":"^3.1.1"},"homepage":"https://github.com/teppeis/multimaps#readme","repository":{"type":"git","url":"git+ssh://git@github.com/teppeis/multimaps.git"},"bugs":{"url":"https://github.com/teppeis/multimaps/issues"},"keywords":["map","multi-map","multimap","typescript"],"license":"MIT","gitHead":"3799fe259429609da5d70b23f9068718b56711f1","_id":"@teppeis/multimaps@1.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"teppeis","email":"teppeis@gmail.com"},"dist":{"integrity":"sha512-YgANgfYU7LqgaLkGPWSTiwu2qcuhj0IOvj+kRwDFjAVbiEXT7ZQLPaFfmrAAN/Fa+tvwy1aYFd0RdT7lMO1Msw==","shasum":"4f9788e00f244a0bbe896305d9267147143508a7","tarball":"https://registry.npmjs.org/@teppeis/multimaps/-/multimaps-1.1.0.tgz","fileCount":10,"unpackedSize":21126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb98ixCRA9TVsSAnZWagAAdE8P/RYJAPUIhvla76Mi7Dw/\nM0/z+HgBVq2lhMDugJXQVD7uk6FBRDGP63D+xWPUYwQEFfSwWoYfM3CkT8bU\n9mE+2YtH93t+4eFBEWfpP2rSoIRcliFk1iReK7OyIlalzD4Gv7AC2fk/YiiZ\n1OlvuFkbTsm6e2A11mBlBVEONO/duogMfYhOaTioaPvo0gbf4hfjbf21iCOw\n3lsstvFDnJT7RNZP2Ae3YIv6RqwT57P+wgzN9z1vw4fJFT9cc0M9T7QL16BW\naFz2gcjdpHprrNWS/OmOZkCKF4ocyKJE1w7naErHivhB9+Zjv+IrkmxxdTOW\nCjoWpSj37f6iKYeda4Ka9h6uOVihEKJii7DkWJbxxuVnh6cKnTT/H16PgJGa\n2deDvXotgo7k3Wnr964zXfbxCMIB8JkBYy7nBxp55+xOB289aOP0ne9mBbv8\nsYYJF5UXapcxZ8UpV8rcnrD+bOCeER43r/XtochQsdSy8rA5frHKndMi2OnQ\nnip6CnawvOzeuX7TWehGZDN6q92wnqj9dH5OsKTSXZjjiJnroLEiU8jmEQnD\nfK+GOfwDqZjKcYLI6RW08Ao38h2XNqsigOpEVm/yzHM88IuXaGoCbDEV1FWf\nW92G2xWAPPyB2DYRQxnpimcIEYNyoGCWqloQK3NeU6n67PGDa3eM6oQi0KIK\np9MF\r\n=54Jj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFiJ5ucoxvI9fUwJDPr9ghYXrXLYlP0y/bluwatGFdKhAiEA3YYriya1ojqi5UhOdbT2BGyHa6AwYyt9lcpRVSYvV8c="}]},"maintainers":[{"name":"teppeis","email":"teppeis@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multimaps_1.1.0_1542965424216_0.36050406825336045"},"_hasShrinkwrap":false},"2.0.0-0":{"name":"@teppeis/multimaps","description":"Multimap classes for TypeScript and JavaScript","version":"2.0.0-0","author":{"name":"Teppei Sato","email":"teppeis@gmail.com"},"publishConfig":{"access":"public"},"engines":{"node":">=10.17"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"rimraf dist","lint":"eslint 'src/**/*.ts' 'test/**/*.ts'","mocha":"mocha -r espower-typescript/guess --extension ts,tsx 'test/*.{ts,tsx}'","prepublishOnly":"run-s clean build","test":"run-s clean lint build mocha"},"devDependencies":{"@types/mocha":"^8.2.0","@types/node":"^10.17.51","eslint":"^7.18.0","eslint-config-teppeis":"^12.0.0-6","espower-typescript":"^9.0.2","mocha":"^8.2.1","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^3.0.2","ts-node":"^9.1.1","typescript":"^4.1.3"},"homepage":"https://github.com/teppeis/multimaps#readme","repository":{"type":"git","url":"git+ssh://git@github.com/teppeis/multimaps.git"},"bugs":{"url":"https://github.com/teppeis/multimaps/issues"},"keywords":["map","multi-map","multimap","typescript"],"license":"MIT","readme":"# @teppeis/multimaps\n\nMulti-Map classes for TypeScript and JavaScript\n\n[![npm version][npm-image]][npm-url]\n![Node.js Version Support][node-version]\n![TypeScript Version Support][ts-version]\n[![build status][ci-image]][ci-url]\n[![dependency status][deps-image]][deps-url]\n![License][license]\n\n## Install\n\n```console\n$ npm i @teppeis/multimaps\n```\n\n## Usage\n\n### `ArrayMultimap`\n\n```js\nimport {ArrayMultimap} from '@teppeis/multimaps';\n\nconst map = new ArrayMultimap<string, string>();\nmap.put('foo', 'a');\nmap.get('foo'); // ['a']\nmap.put('foo', 'b');\nmap.get('foo'); // ['a', 'b']\nmap.put('foo', 'a');\nmap.get('foo'); // ['a', 'b', 'a']\n```\n\n### `SetMultimap`\n\n```js\nimport {SetMultimap} from '@teppeis/multimaps';\n\nconst map = new SetMultimap<string, string>();\nmap.put('foo', 'a');\nmap.get('foo'); // a `Set` of ['a']\nmap.put('foo', 'b');\nmap.get('foo'); // a `Set` of ['a', 'b']\nmap.put('foo', 'a');\nmap.get('foo'); // a `Set` of ['a', 'b']\n```\n\n## License\n\nMIT License: Teppei Sato &lt;teppeis@gmail.com&gt;\n\n[npm-image]: https://img.shields.io/npm/v/@teppeis/multimaps.svg\n[npm-url]: https://npmjs.org/package/@teppeis/multimaps\n[npm-downloads-image]: https://img.shields.io/npm/dm/@teppeis/multimaps.svg\n[deps-image]: https://img.shields.io/david/teppeis/multimaps.svg\n[deps-url]: https://david-dm.org/teppeis/multimaps\n[node-version]: https://img.shields.io/badge/Node.js-v10+-brightgreen.svg\n[ts-version]: https://img.shields.io/badge/TypeScrpt-v3.8+-brightgreen.svg\n[license]: https://img.shields.io/npm/l/@teppeis/multimaps.svg\n[ci-image]: https://github.com/teppeis/multimaps/workflows/CI/badge.svg\n[ci-url]: https://github.com/teppeis/multimaps/actions?query=workflow%3ACI\n","readmeFilename":"README.md","gitHead":"ff10700177bbc0fa56fa27c78d91cbde3e8c3f5c","_id":"@teppeis/multimaps@2.0.0-0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","_npmUser":{"name":"teppeis","email":"teppeis@gmail.com"},"dist":{"integrity":"sha512-LvwnczksE96K09Xm/owy1lGKdCR/6wy76THUG66tG7Zy0z1F5OfeUzRyrxk6HWjBLMaDul9l1XpUKXGDXEtaJA==","shasum":"ef79579b0cce0827bfab4b95cfb5e444794ad537","tarball":"https://registry.npmjs.org/@teppeis/multimaps/-/multimaps-2.0.0-0.tgz","fileCount":10,"unpackedSize":21666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgDuSfCRA9TVsSAnZWagAA1FUP/3eFCx/ew8WRwxQEGdYJ\nrgV587HfTczQ9ChIghf36tnBLpMtgk9XdpFzceJaXz6IUpnWUHhJ3NEOOCMw\n1Opa3sCk3kzfrNKr/V7ru96CC1j0bwsqqb2f8r+qr3WqTLzbH0IV0UQ7QAoU\n3oQs45OyX4KEiSPD6ysxtQ42RvmXnSM93LQe1433IbkFx+d8bp+mTC6kQpO/\npj8eDct72QTYVgL6uriX99UrnQqacm8lhPJl9yh1TUb756W1sxDlwga0TbMU\nboemeBA9ZAR9OxPRSX9J+KLdCtjRp1kcFVSS2W0aVSG67wibk87Mo2VuGFdr\nlJ7ncrDoLMBjK7nteogE6vl+K35BlKqvl8H/KN19R9YGGeAVp7AC4WUsGxHL\nrz0zMMoxerRao4g7AdGTIntldnKaA6GQslAqIFA+WJzmepFk26fJ5vHcOrH2\n2nN+n0ylSUhYqqTjJK6JDfpyi9pUHBZizg4ztT7+c/i9pS7PvFX9QwqGB9jU\nH0WMZNN4sFzCaiIw6e5Ep9FkyuVKEECCv+cMtnQd4EiQHdZvi8KCFvWSuAHb\nuFGLBA44eMRAVbNEl6BqfgtdhbVeZDUEFFDtvLJLacqsrtWS/CKHVJOf1FqE\nyUoSQS8VazBZ0CR9VbkdHwG47aXByWYUYqR8OK8kacg8NBNgTrwlHtjULq2y\n4uUw\r\n=zRaY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0vcucqzk+y/9naM+JzDG8Qzc6ogDkmlItZzON+wWJ/gIhAJZgGt+d3+fpP76PuxFgWCnmbxoXHvCkySemfkD2kyyI"}]},"directories":{},"maintainers":[{"name":"teppeis","email":"teppeis@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multimaps_2.0.0-0_1611588766981_0.7284927163257289"},"_hasShrinkwrap":false},"2.0.0":{"name":"@teppeis/multimaps","description":"Multimap classes for TypeScript and JavaScript","version":"2.0.0","author":{"name":"Teppei Sato","email":"teppeis@gmail.com"},"publishConfig":{"access":"public"},"engines":{"node":">=10.17"},"main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"build":"tsc","clean":"rimraf dist","lint":"eslint 'src/**/*.ts' 'test/**/*.ts'","mocha":"mocha -r espower-typescript/guess --extension ts,tsx 'test/*.{ts,tsx}'","prepublishOnly":"run-s clean build","test":"run-s clean lint build mocha"},"devDependencies":{"@types/mocha":"^8.2.0","@types/node":"^10.17.51","eslint":"^7.18.0","eslint-config-teppeis":"^12.0.0-6","espower-typescript":"^9.0.2","mocha":"^8.2.1","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^3.0.2","ts-node":"^9.1.1","typescript":"^4.1.3"},"homepage":"https://github.com/teppeis/multimaps#readme","repository":{"type":"git","url":"git+ssh://git@github.com/teppeis/multimaps.git"},"bugs":{"url":"https://github.com/teppeis/multimaps/issues"},"keywords":["map","multi-map","multimap","typescript"],"license":"MIT","gitHead":"77fe134628d84cae06fbe54b056b450fb9ff8170","_id":"@teppeis/multimaps@2.0.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","_npmUser":{"name":"teppeis","email":"teppeis@gmail.com"},"dist":{"integrity":"sha512-TL1adzq1HdxUf9WYduLcQ/DNGYiz71U31QRgbnr0Ef1cPyOUOsBojxHVWpFeOSUucB6Lrs0LxFRA14ntgtkc9w==","shasum":"2114ee964b702f9777d0e07899087ad9cd89a0de","tarball":"https://registry.npmjs.org/@teppeis/multimaps/-/multimaps-2.0.0.tgz","fileCount":10,"unpackedSize":21664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgD2XsCRA9TVsSAnZWagAAqSsP/1wrMldJJDUzgdzPseTe\neC1MAmLx2DxSC8ElfLuz7uzcpzZ7TotM8NaMRR8VBCaR+3j1W4qjBG+iQwbx\nUjpnLQy/oXVmXCL7sibbpHccb4yRh0hVN3zmWKcdiyoFQrZtQNdKkFwokFbE\nJluD4M9/y1t15Qd9b443upa6fFMhOFgyIoyOJICvW2FqtTb9uoIJFXPezlxC\nZqS+AfFuU4S2IgQNzOHNHjXRG29w1nvQ+CuVRi9kPN5ywgTqjIcVv1zfLlZw\n/MVLAL0QLNS60WEWLgmwrkuUrOo+oBpfe7Of+S/W/HOoxThJq9koTiccehRB\ncmVxkxUz46rc4N4RmAfeiSl9Tn1rculkq5H54L78yYaR+rF5vOQbWWH4ednF\ne+EbUN2PlWTHEmSR5MacW7J2AspPBri2Ny4DijTYgteVobeZ4hPO/Gp4xc1p\nn670C9/v8zA1+e15T14LjqU+VWp2HP2gBfoFQIty9ExZslW2xEwUE2J1iXZy\nS6bc25QRhomAc1Wu1cPJDz5JnIbSf4tABZOOoLGTFF/MJHSTBZ0oWTYLZNvn\n7IBdxbfw28O/jzY53V4YTqFJigbCV01xGnU+UpyuNNSIouWSeFeKXDMHiXd6\nDjcri5ax0T/3c4bkGaZrrtmKRFhO4TSeIGVcgYYEAiej2NYpn2oHvXnVbyww\nppwZ\r\n=6rU4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICVhiIrwmgIZpEz6xdHODbhrUbS40HHHXXvGKtwYmkQGAiEA+QCrIIBZJRpIhHUbGD0Bmgg6/crtnkzSR8ZPEuFreWs="}]},"directories":{},"maintainers":[{"name":"teppeis","email":"teppeis@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multimaps_2.0.0_1611621867844_0.6419955435403788"},"_hasShrinkwrap":false},"3.0.0-0":{"name":"@teppeis/multimaps","description":"Multimap classes for TypeScript and JavaScript","version":"3.0.0-0","author":{"name":"Teppei Sato","email":"teppeis@gmail.com"},"publishConfig":{"access":"public"},"engines":{"node":">=14"},"type":"module","main":"./dist/cjs/index.js","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js","default":"./dist/esm/index.js"},"./package.json":"./package.json"},"scripts":{"build":"run-p build:*","build:cjs":"tsc -p tsconfig.cjs.json && ./gen-cjs-packagejson.sh","build:esm":"tsc","clean":"rimraf dist test/ts40/dist","lint:eslint":"eslint .","lint:prettier":"prettier --check .","fix":"run-s fix:prettier fix:eslint","fix:eslint":"npm run lint:eslint -- --fix","fix:prettier":"npm run lint:prettier -- --write","prepublishOnly":"run-s clean build","test":"run-p -cl --aggregate-output lint:* type unit test:nest","test:install":"cd test/exports && npm i && cd ../ts40 && npm i","test:nest":"run-s test-exports test-ts40","test-exports":"cd test/exports && npm t","test-ts40":"cd test/ts40 && npm t","type":"tsc -p tsconfig.test.json","unit":"vitest run --coverage"},"devDependencies":{"@tsconfig/node14":"^1.0.3","@types/node":"^14.18.29","@vitest/coverage-c8":"^0.23.4","c8":"^7.12.0","eslint":"^8.23.1","eslint-config-teppeis":"^16.0.0","npm-run-all":"^4.1.5","power-assert":"^1.6.1","prettier":"^2.7.1","rimraf":"^3.0.2","typescript":"^4.8.3","vitest":"^0.23.4"},"homepage":"https://github.com/teppeis/multimaps#readme","repository":{"type":"git","url":"git+ssh://git@github.com/teppeis/multimaps.git"},"bugs":{"url":"https://github.com/teppeis/multimaps/issues"},"keywords":["map","multi-map","multimap","typescript"],"license":"MIT","readme":"# @teppeis/multimaps\n\nMulti-Map classes for TypeScript and JavaScript\n\n[![npm version][npm-image]][npm-url]\n![Node.js Version Support][node-version]\n![TypeScript Version Support][ts-version]\n[![build status][ci-image]][ci-url]\n![dependency status][deps-count-image]\n![monthly downloads][npm-downloads-image]\n![License][license]\n\n## Install\n\n```console\n$ npm i @teppeis/multimaps\n```\n\n## Usage\n\n### `ArrayMultimap`\n\n```js\nimport {ArrayMultimap} from '@teppeis/multimaps';\n\nconst map = new ArrayMultimap<string, string>();\nmap.put('foo', 'a');\nmap.get('foo'); // ['a']\nmap.put('foo', 'b');\nmap.get('foo'); // ['a', 'b']\nmap.put('foo', 'a');\nmap.get('foo'); // ['a', 'b', 'a']\n```\n\n### `SetMultimap`\n\n```js\nimport {SetMultimap} from '@teppeis/multimaps';\n\nconst map = new SetMultimap<string, string>();\nmap.put('foo', 'a');\nmap.get('foo'); // a `Set` of ['a']\nmap.put('foo', 'b');\nmap.get('foo'); // a `Set` of ['a', 'b']\nmap.put('foo', 'a');\nmap.get('foo'); // a `Set` of ['a', 'b']\n```\n\n## License\n\nMIT License: Teppei Sato &lt;teppeis@gmail.com&gt;\n\n[npm-image]: https://badgen.net/npm/v/@teppeis/multimaps?icon=npm&label=\n[npm-url]: https://npmjs.org/package/@teppeis/multimaps\n[npm-downloads-image]: https://badgen.net/npm/dm/@teppeis/multimaps\n[deps-image]: https://badgen.net/david/dep/teppeis/multimaps.svg\n[deps-url]: https://david-dm.org/teppeis/multimaps\n[deps-count-image]: https://badgen.net/bundlephobia/dependency-count/@teppeis/multimaps\n[node-version]: https://badgen.net/npm/node/@teppeis/multimaps\n[ts-version]: https://badgen.net/badge/typescript/%3E=4.0?icon=typescript\n[license]: https://img.shields.io/npm/l/@teppeis/multimaps.svg\n[ci-image]: https://github.com/teppeis/multimaps/workflows/CI/badge.svg\n[ci-url]: https://github.com/teppeis/multimaps/actions?query=workflow%3ACI\n","readmeFilename":"README.md","gitHead":"eb6d121eea2a49f270fd25844f00f49819a0b6d4","_id":"@teppeis/multimaps@3.0.0-0","_nodeVersion":"16.17.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-cHRz3ur4HAG96q/4w13NqWAIEZPHA655V6KCJIdgHHA1Ca5me1QHdWbGYqK2QbljYVmURB4+wN8Pg68kklSUHA==","shasum":"a67f565970862452464faa6b5227ade9a6eaf182","tarball":"https://registry.npmjs.org/@teppeis/multimaps/-/multimaps-3.0.0-0.tgz","fileCount":19,"unpackedSize":17688,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHOm2vQ439q+ObESYB8xWhuC19Usx2e9O/QROUYpTfUAIgTKovZDSqCrN/JABG1u6APQlYKUDP+u9/pbbj4R45clY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKDHOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrhfBAAoGG7gy91btMMB0VnXkPC6lHNvf8NPt1haTJ8ZJhx40ETuLS0\r\nqMYFUHi2cx5xorhgxB5b6K/97fEPVNTYSHpJr6OeqWIYXFdhQd+bPEOyuRFD\r\nxNkh6wz8tpwbTmk/CYZvZ4xeZ6kdRY9as1QaAIp0mvkaOQ6zTugRnl/c/dRw\r\nwnNra6xrkpzR5jVhUj2UL7wjN2vtCN9AQcKWc43FZ27+hFYXda4/6sLnVslx\r\nCAUZQMVTUvSeNWdIrF4GElrgL8GQTI6L/HLvM+Zicopo29asf4+zS7nTRftm\r\nN73SyTrmBj17UOhD6e96sxO86Xz74dAE4fL33bKmA2Z4lAMWglgaLxn2MY7u\r\naz7Sbd4VZvNRVo3744mhkmxy9QA+1pfH0WGn50Soq4UbH39NuhuBxffSwJop\r\ny4/u8q1bg25+GAUkp+/LOS+jKjPpzh1dZAF7dVk8rHyYvUdqBfQ/w26d15ok\r\nUYi1nszfmE2DNnHc9D+jddLgDnYin3uhVQBEMLdbHFL7OxtWotMz0dfarzmR\r\ngONKam+f8C8mmOaAPc9V7nV6ookKmFKaCyhX0EPxhIejzv013dojHvFFQ2Jy\r\nksbDrJJ+EQ+yVK3L6Accw0xKc+kP25n4V40/9+5Fc71cCv04OfTwB+eR6hED\r\nme+wZLWutAyrQAJ+r6+I73KeCq/idrxy1Do=\r\n=Jlil\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"teppeis","email":"teppeis@gmail.com"},"directories":{},"maintainers":[{"name":"teppeis","email":"teppeis@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multimaps_3.0.0-0_1663578574234_0.6041305188445905"},"_hasShrinkwrap":false},"3.0.0":{"name":"@teppeis/multimaps","description":"Multimap classes for TypeScript and JavaScript","version":"3.0.0","author":{"name":"Teppei Sato","email":"teppeis@gmail.com"},"publishConfig":{"access":"public"},"engines":{"node":">=14"},"type":"module","main":"./dist/cjs/index.js","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js","default":"./dist/esm/index.js"},"./package.json":"./package.json"},"scripts":{"build":"run-p build:*","build:cjs":"tsc -p tsconfig.cjs.json && ./gen-cjs-packagejson.sh","build:esm":"tsc","clean":"rimraf dist test/ts40/dist","lint:eslint":"eslint .","lint:prettier":"prettier --check .","fix":"run-s fix:prettier fix:eslint","fix:eslint":"npm run lint:eslint -- --fix","fix:prettier":"npm run lint:prettier -- --write","prepublishOnly":"run-s clean build","test":"run-p -cl --aggregate-output lint:* type unit test:nest","test:install":"cd test/exports && npm i && cd ../ts40 && npm i","test:nest":"run-s test-exports test-ts40","test-exports":"cd test/exports && npm t","test-ts40":"cd test/ts40 && npm t","type":"tsc -p tsconfig.test.json","unit":"vitest run --coverage"},"devDependencies":{"@tsconfig/node14":"^1.0.3","@types/node":"^14.18.38","@vitest/coverage-c8":"^0.29.3","c8":"^7.12.0","eslint":"^8.36.0","eslint-config-teppeis":"^16.0.0","npm-run-all":"^4.1.5","power-assert":"^1.6.1","prettier":"^2.8.4","rimraf":"^3.0.2","typescript":"^4.9.5","vitest":"^0.29.3"},"homepage":"https://github.com/teppeis/multimaps#readme","repository":{"type":"git","url":"git+ssh://git@github.com/teppeis/multimaps.git"},"bugs":{"url":"https://github.com/teppeis/multimaps/issues"},"keywords":["map","multi-map","multimap","typescript"],"license":"MIT","gitHead":"38b808288309b2aa3c33ae6e4794cfcd9d81b78f","_id":"@teppeis/multimaps@3.0.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-ID7fosbc50TbT0MK0EG12O+gAP3W3Aa/Pz4DaTtQtEvlc9Odaqi0de+xuZ7Li2GtK4HzEX7IuRWS/JmZLksR3Q==","shasum":"bb9c3f8d569f589e548586fa0bbf423010ddfdc5","tarball":"https://registry.npmjs.org/@teppeis/multimaps/-/multimaps-3.0.0.tgz","fileCount":19,"unpackedSize":17686,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/N/s6kVd4lB6uMR8qTWiW9gWABQAz2yYRk+EYR258bwIgL5M2vB7BufpJkp6iCO1F60IBGaT7KC8cuQnsQ5Za4PY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFsbbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqaWw//S4U3bHJ4eWkpoaFUubB5V/jLAy1XkiGuJ/UkW0O6B4XCnmX8\r\nleOeS7UjV0tzKqoxm+VBE6mHycG0ROuGMAgKK53MX0xNxSd6RRpiIHs/l9t+\r\nTh7ETmjU65o9BjN9+kQ7Xrth/tT6ZgifSTZf2/3JsBj/l4pZQo1wN3lgUdR2\r\nAGyDtjjdVc6Z4QjY82SDKFgMpT9TZVHUw/lxYfYQ4qISpNHDV0GZ/amsRdVE\r\n0gHodNFHrf6pwXcT87y63Aw1EigHw7QvrxTgP3UYdZXlSECAA0IoAPtHaBL3\r\nF5YPudVjDSn+6mRIar1YO4xEMFGS+hpPRA3sRMC+z6ylFPeeW6sopJCUrDkF\r\nr9i6xhqaEG0WtOqy/iilc7OY6p8SBc7qlT3Fg9WysI2xAe09ZaFRgcAafaDN\r\nWxj33efCz4QRlZcESR7jGuT0MKLut7mj0pC+XN8dsgQnp4i4Zw8q1PpXCFt9\r\nOYSMHlLYxV0+CclfKlW7XLf/9NBAEVWLXbqmTa7x1Du9YnQnbr2AzJll04ib\r\nEhWyIIRDkbJmIR/RfNVvp0kbmfGVlGiemvZ8AajZT2qnBSmGVcgTJIC6dtnp\r\nCTJFVqJrAS+mEmRUtoPJBkQoO4tVDe/1ivL+7StirraE6l+27lwRz3ZvLcMb\r\nmqf585POfyuKm6ApUY6TVtw8aIxeZSqOgCM=\r\n=9w0B\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"teppeis","email":"teppeis@gmail.com"},"directories":{},"maintainers":[{"name":"teppeis","email":"teppeis@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multimaps_3.0.0_1679214299201_0.9912799497666087"},"_hasShrinkwrap":false}},"time":{"created":"2018-09-02T12:55:48.591Z","1.0.0":"2018-09-02T12:55:48.894Z","modified":"2023-03-19T08:24:59.497Z","1.1.0":"2018-11-23T09:30:24.323Z","2.0.0-0":"2021-01-25T15:32:47.116Z","2.0.0":"2021-01-26T00:44:27.974Z","3.0.0-0":"2022-09-19T09:09:34.440Z","3.0.0":"2023-03-19T08:24:59.389Z"},"maintainers":[{"name":"teppeis","email":"teppeis@gmail.com"}],"description":"Multimap classes for TypeScript and JavaScript","homepage":"https://github.com/teppeis/multimaps#readme","keywords":["map","multi-map","multimap","typescript"],"repository":{"type":"git","url":"git+ssh://git@github.com/teppeis/multimaps.git"},"author":{"name":"Teppei Sato","email":"teppeis@gmail.com"},"bugs":{"url":"https://github.com/teppeis/multimaps/issues"},"license":"MIT","readme":"# @teppeis/multimaps\n\nMulti-Map classes for TypeScript and JavaScript\n\n[![npm version][npm-image]][npm-url]\n![Node.js Version Support][node-version]\n![TypeScript Version Support][ts-version]\n[![build status][ci-image]][ci-url]\n![dependency status][deps-count-image]\n![monthly downloads][npm-downloads-image]\n![License][license]\n\n## Install\n\n```console\n$ npm i @teppeis/multimaps\n```\n\n## Usage\n\n### `ArrayMultimap`\n\n```js\nimport {ArrayMultimap} from '@teppeis/multimaps';\n\nconst map = new ArrayMultimap<string, string>();\nmap.put('foo', 'a');\nmap.get('foo'); // ['a']\nmap.put('foo', 'b');\nmap.get('foo'); // ['a', 'b']\nmap.put('foo', 'a');\nmap.get('foo'); // ['a', 'b', 'a']\n```\n\n### `SetMultimap`\n\n```js\nimport {SetMultimap} from '@teppeis/multimaps';\n\nconst map = new SetMultimap<string, string>();\nmap.put('foo', 'a');\nmap.get('foo'); // a `Set` of ['a']\nmap.put('foo', 'b');\nmap.get('foo'); // a `Set` of ['a', 'b']\nmap.put('foo', 'a');\nmap.get('foo'); // a `Set` of ['a', 'b']\n```\n\n## License\n\nMIT License: Teppei Sato &lt;teppeis@gmail.com&gt;\n\n[npm-image]: https://badgen.net/npm/v/@teppeis/multimaps?icon=npm&label=\n[npm-url]: https://npmjs.org/package/@teppeis/multimaps\n[npm-downloads-image]: https://badgen.net/npm/dm/@teppeis/multimaps\n[deps-image]: https://badgen.net/david/dep/teppeis/multimaps.svg\n[deps-url]: https://david-dm.org/teppeis/multimaps\n[deps-count-image]: https://badgen.net/bundlephobia/dependency-count/@teppeis/multimaps\n[node-version]: https://badgen.net/npm/node/@teppeis/multimaps\n[ts-version]: https://badgen.net/badge/typescript/%3E=4.0?icon=typescript\n[license]: https://img.shields.io/npm/l/@teppeis/multimaps.svg\n[ci-image]: https://github.com/teppeis/multimaps/workflows/CI/badge.svg\n[ci-url]: https://github.com/teppeis/multimaps/actions?query=workflow%3ACI\n","readmeFilename":"README.md"}