{"bugs":{"url":"https://github.com/teppeis/multimaps/issues"},"dist":{"shasum":"a67f565970862452464faa6b5227ade9a6eaf182","tarball":"https://registry.npmjs.org/@teppeis/multimaps/-/multimaps-3.0.0-0.tgz","fileCount":19,"integrity":"sha512-cHRz3ur4HAG96q/4w13NqWAIEZPHA655V6KCJIdgHHA1Ca5me1QHdWbGYqK2QbljYVmURB4+wN8Pg68kklSUHA==","signatures":[{"sig":"MEUCIQCHOm2vQ439q+ObESYB8xWhuC19Usx2e9O/QROUYpTfUAIgTKovZDSqCrN/JABG1u6APQlYKUDP+u9/pbbj4R45clY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17688,"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"},"main":"./dist/cjs/index.js","name":"@teppeis/multimaps","type":"module","types":"./dist/cjs/index.d.ts","author":{"name":"Teppei Sato","email":"teppeis@gmail.com"},"module":"./dist/esm/index.js","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","engines":{"node":">=14"},"exports":{".":{"import":"./dist/esm/index.js","default":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"eb6d121eea2a49f270fd25844f00f49819a0b6d4","license":"MIT","scripts":{"fix":"run-s fix:prettier fix:eslint","test":"run-p -cl --aggregate-output lint:* type unit test:nest","type":"tsc -p tsconfig.test.json","unit":"vitest run --coverage","build":"run-p build:*","clean":"rimraf dist test/ts40/dist","build:cjs":"tsc -p tsconfig.cjs.json && ./gen-cjs-packagejson.sh","build:esm":"tsc","test-ts40":"cd test/ts40 && npm t","test:nest":"run-s test-exports test-ts40","fix:eslint":"npm run lint:eslint -- --fix","lint:eslint":"eslint .","fix:prettier":"npm run lint:prettier -- --write","test-exports":"cd test/exports && npm t","test:install":"cd test/exports && npm i && cd ../ts40 && npm i","lint:prettier":"prettier --check .","prepublishOnly":"run-s clean build"},"_npmUser":{"name":"teppeis","email":"teppeis@gmail.com"},"homepage":"https://github.com/teppeis/multimaps#readme","keywords":["map","multi-map","multimap","typescript"],"repository":{"url":"git+ssh://git@github.com/teppeis/multimaps.git","type":"git"},"_npmVersion":"7.24.2","description":"Multimap classes for TypeScript and JavaScript","directories":{},"maintainers":[{"name":"teppeis","email":"teppeis@gmail.com"}],"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"c8":"^7.12.0","eslint":"^8.23.1","rimraf":"^3.0.2","vitest":"^0.23.4","prettier":"^2.7.1","typescript":"^4.8.3","@types/node":"^14.18.29","npm-run-all":"^4.1.5","power-assert":"^1.6.1","@tsconfig/node14":"^1.0.3","@vitest/coverage-c8":"^0.23.4","eslint-config-teppeis":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/multimaps_3.0.0-0_1663578574234_0.6041305188445905","host":"s3://npm-registry-packages"},"_id":"@teppeis/multimaps@3.0.0-0","version":"3.0.0-0"}