{"_id":"@artstesh/collections","_rev":"4-8e7b7fca1160311babdf0abb973bab0d","name":"@artstesh/collections","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@artstesh/collections","version":"1.0.0","keywords":["collections","typescript","queue"],"author":{"name":"artstesh"},"license":"MIT","_id":"@artstesh/collections@1.0.0","maintainers":[{"name":"artstesh","email":"artstesh@mail.ru"}],"homepage":"https://github.com/artstesh/collections#readme","bugs":{"url":"https://github.com/artstesh/collections/issues"},"dist":{"shasum":"dd46285d95178b33ef42a9151a18c10477e88134","tarball":"https://registry.npmjs.org/@artstesh/collections/-/collections-1.0.0.tgz","fileCount":15,"integrity":"sha512-MrNEzghNXD82yZwnEZqVNJXVEHxYfh919cJZ2m1xrSVONNOyb3PoBIZnurUaf5FeUARb7Vb8zK+8mf23vWpv0Q==","signatures":[{"sig":"MEUCIEF5rTP+EEtRaa4c0V5aUoMEyAvtndPG4PDMXm6VJplRAiEAssHhM/40SeNkBCPxyXNqcZgtBGcc2l7gx3IHHqOMxIU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12630},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"7dca40d14df6dc43fe43c5118657b8339cfdc99a","scripts":{"lint":"tslint -p tsconfig.json","test":"ttsc -p tsconfig.test.json && jest --config jest.config.js","build":"tsc -p tsconfig.json","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","pre-jest":"ttsc -p tsconfig.test.json","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"artstesh","email":"artstesh@mail.ru"},"repository":{"url":"git+https://github.com/artstesh/collections.git","type":"git"},"_npmVersion":"7.24.2","description":"Let's manage collections! ;)","directories":{},"_nodeVersion":"16.19.0","_hasShrinkwrap":false,"devDependencies":{"jest":"28.1.1","tslint":"6.1.3","ts-jest":"28.0.4","prettier":"2.6.2","ts-mockito":"2.6.1","typescript":"^4.9.5","@types/jest":"28.1.0","ttypescript":"1.5.15","@artstesh/forger":"^1.2.1","@artstesh/it-should":"^1.2.0","ts-transformer-keys":"0.4.3","tslint-config-prettier":"^1.18.0"},"peerDependencies":{"typescript":">4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/collections_1.0.0_1710333308522_0.028168682757603092","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@artstesh/collections","version":"1.0.1","keywords":["collections","typescript","queue"],"author":{"name":"artstesh"},"license":"MIT","_id":"@artstesh/collections@1.0.1","maintainers":[{"name":"artstesh","email":"artstesh@mail.ru"}],"homepage":"https://github.com/artstesh/collections#readme","bugs":{"url":"https://github.com/artstesh/collections/issues"},"dist":{"shasum":"79d6866942076c2c5ad8c10dea376636d4180266","tarball":"https://registry.npmjs.org/@artstesh/collections/-/collections-1.0.1.tgz","fileCount":15,"integrity":"sha512-2j7+02/rRkBDraTQGFhG8iwz4P/DrR7QUmu45C+RC9lt1lx+xL8n7NOOPw9mGnkZIE/OehBcZ03Ozn6v8fRDbA==","signatures":[{"sig":"MEQCICpFpEwNRIIYh5skfICp0VYSOdXcsXpV5P2GiSwViZQMAiBP9LMzOUoxZWoxFN79Q1Tixj61/azS9KCTU5mb90UtLg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12640},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"306ef6ffaeea7b3a9a2b09a9e4fd78e3ec7a9c62","scripts":{"lint":"tslint -p tsconfig.json","test":"ttsc -p tsconfig.test.json && jest --config jest.config.js","build":"tsc -p tsconfig.json","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","pre-jest":"ttsc -p tsconfig.test.json","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"artstesh","email":"artstesh@mail.ru"},"repository":{"url":"git+https://github.com/artstesh/collections.git","type":"git"},"_npmVersion":"7.24.2","description":"Let's manage collections! ;)","directories":{},"_nodeVersion":"16.19.0","_hasShrinkwrap":false,"devDependencies":{"jest":"28.1.1","tslint":"6.1.3","ts-jest":"28.0.4","prettier":"2.6.2","ts-mockito":"2.6.1","typescript":"^4.9.5","@types/jest":"28.1.0","ttypescript":"1.5.15","@artstesh/forger":"^1.2.1","@artstesh/it-should":"^1.2.0","ts-transformer-keys":"0.4.3","tslint-config-prettier":"^1.18.0"},"peerDependencies":{"typescript":"^4.0.0 || ^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/collections_1.0.1_1717155372636_0.9089852826169831","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@artstesh/collections","version":"1.0.2","keywords":["collections","typescript","queue"],"author":{"name":"artstesh"},"license":"MIT","_id":"@artstesh/collections@1.0.2","maintainers":[{"name":"artstesh","email":"artstesh@mail.ru"}],"homepage":"https://github.com/artstesh/collections#readme","bugs":{"url":"https://github.com/artstesh/collections/issues"},"dist":{"shasum":"831f4e20638b2edb4b4005c39ccba0c483b58387","tarball":"https://registry.npmjs.org/@artstesh/collections/-/collections-1.0.2.tgz","fileCount":19,"integrity":"sha512-DHPldq02++j2U4x1djF0XFWN3wwV6FOkPBqzs+yVcyzv2lZWYwpTcb4u0R5KeuRmPkFMGwmziTlh7m1IRBb0BQ==","signatures":[{"sig":"MEUCIQC+M+Li2b38o0zX+CEMcvTPyLiSorxVvn2zJtWN3GXf1QIgM0RI6hZsSihlsPBgUM7Lulilz0vTsIHp6YJkKxXBsR0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14667},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"8286766f6b27ab2425cd33da0383257ce3a96a17","scripts":{"lint":"tslint -p tsconfig.json","test":"ttsc -p tsconfig.test.json && jest --config jest.config.js","build":"tsc -p tsconfig.json","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","pre-jest":"ttsc -p tsconfig.test.json","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"artstesh","email":"artstesh@mail.ru"},"repository":{"url":"git+https://github.com/artstesh/collections.git","type":"git"},"_npmVersion":"10.7.0","description":"Let's manage collections! ;)","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"jest":"28.1.1","tslint":"6.1.3","ts-jest":"28.0.4","prettier":"2.6.2","ts-mockito":"2.6.1","typescript":"^4.9.5","@types/jest":"28.1.0","ttypescript":"1.5.15","@artstesh/forger":"^1.2.1","@artstesh/it-should":"^1.2.0","ts-transformer-keys":"0.4.3","tslint-config-prettier":"^1.18.0"},"peerDependencies":{"typescript":"^4.0.0 || ^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/collections_1.0.2_1733318016252_0.9526531833566503","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@artstesh/collections","version":"1.0.3","keywords":["collections","typescript","queue"],"author":{"name":"artstesh"},"license":"MIT","_id":"@artstesh/collections@1.0.3","maintainers":[{"name":"artstesh","email":"artstesh@mail.ru"}],"homepage":"https://github.com/artstesh/collections#readme","bugs":{"url":"https://github.com/artstesh/collections/issues"},"dist":{"shasum":"87824e41216734eb45a65ef834e6882da5ef6d00","tarball":"https://registry.npmjs.org/@artstesh/collections/-/collections-1.0.3.tgz","fileCount":19,"integrity":"sha512-jgHSvaag2kk7J3gi7v5r+kGWEIpG2ATCzEwaSwrI12uPcHlGxqoajwgwxkUHAjDF9cpmLQKD5oTuY4XKKLHzsw==","signatures":[{"sig":"MEQCIHOlO5RfwY6dLT4VXJJT1T9Dh+bYEtR5MeWvAlgBOvAzAiBHOJR7xq6nfBr098PyddEK8YSiJy7s0yxN+dqGZcXx/w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24148},"main":"lib/index.js","types":"lib/index.d.ts","gitHead":"b9c27b325f7e78bfe2437bbd363c3930ad1bbd3a","scripts":{"lint":"tslint -p tsconfig.json","test":"ttsc -p tsconfig.test.json && jest --config jest.config.js","build":"tsc -p tsconfig.json","format":"prettier --write \"src/**/*.ts\"","prepare":"npm run build","version":"npm run format && git add -A src","pre-jest":"ttsc -p tsconfig.test.json","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"artstesh","email":"artstesh@mail.ru"},"repository":{"url":"git+https://github.com/artstesh/collections.git","type":"git"},"_npmVersion":"10.7.0","description":"Let's manage collections! ;)","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"jest":"28.1.1","tslint":"6.1.3","ts-jest":"28.0.4","prettier":"2.6.2","ts-mockito":"2.6.1","typescript":"^4.9.5","@types/jest":"28.1.0","ttypescript":"1.5.15","@artstesh/forger":"^1.2.1","@artstesh/it-should":"^1.2.0","ts-transformer-keys":"0.4.3","tslint-config-prettier":"^1.18.0"},"peerDependencies":{"typescript":"^4.0.0 || ^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/collections_1.0.3_1736083545431_0.9572896204290242","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@artstesh/collections","version":"1.0.4","description":"Let's manage collections! ;)","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"prepare":"npm run build","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json","test":"ttsc -p tsconfig.test.json && jest --config jest.config.js","build":"tsc -p tsconfig.json","pre-jest":"ttsc -p tsconfig.test.json"},"keywords":["collections","typescript","queue"],"author":{"name":"artstesh"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/artstesh/collections.git"},"devDependencies":{"@artstesh/forger":"^1.2.1","@artstesh/it-should":"^1.2.0","@types/jest":"28.1.0","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","ts-transformer-keys":"0.4.3","tslint":"6.1.3","tslint-config-prettier":"^1.18.0","ttypescript":"1.5.15","ts-mockito":"2.6.1","typescript":"^4.9.5"},"peerDependencies":{"typescript":"^4.0.0 || ^5.0.0"},"_id":"@artstesh/collections@1.0.4","gitHead":"1ea3fb3d1e2120c51c2c0860eab862dca82ab4ce","bugs":{"url":"https://github.com/artstesh/collections/issues"},"homepage":"https://github.com/artstesh/collections#readme","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-UhyXDCC4DOXBBb9eoCbBf3chDusfQV9vFC4tYcpgwWncVFVXgtxK/lylpu44aXlBy0jYDjYLCHaC0rUavRvrZQ==","shasum":"ee4325efa6653438929da1480886cb3d34e7a653","tarball":"https://registry.npmjs.org/@artstesh/collections/-/collections-1.0.4.tgz","fileCount":19,"unpackedSize":25699,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDygABNCwO6CkW2zKVb/SJcwcz7YYrc434Ee0B6uY4HJAIgZwEC/JQSi/NScA2fvnv6CFxTRes+AOOiYOhRs5nZAoo="}]},"_npmUser":{"name":"artstesh","email":"artstesh@mail.ru"},"directories":{},"maintainers":[{"name":"artstesh","email":"artstesh@mail.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/collections_1.0.4_1738389807234_0.44060036201264796"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-13T12:35:08.400Z","modified":"2025-02-01T06:03:27.617Z","1.0.0":"2024-03-13T12:35:08.665Z","1.0.1":"2024-05-31T11:36:12.804Z","1.0.2":"2024-12-04T13:13:36.397Z","1.0.3":"2025-01-05T13:25:45.637Z","1.0.4":"2025-02-01T06:03:27.430Z"},"bugs":{"url":"https://github.com/artstesh/collections/issues"},"author":{"name":"artstesh"},"license":"MIT","homepage":"https://github.com/artstesh/collections#readme","keywords":["collections","typescript","queue"],"repository":{"type":"git","url":"git+https://github.com/artstesh/collections.git"},"description":"Let's manage collections! ;)","maintainers":[{"name":"artstesh","email":"artstesh@mail.ru"}],"readme":"# @artstesh/collections\r\n\r\n### Overview\r\n\r\nThe basic set of collections for the typescript.\r\n\r\n\r\n### Queue\r\n\r\n```typescript\r\n// interface Student {name: string, age: number}\r\nit(\"take success\", () => {\r\n  const queue = new Queue<string>();\r\n  const item = Forger.create<string>()!;\r\n  //\r\n  queue.put(item);\r\n  const took = queue.take();\r\n  //\r\n  should().string(took).equals(item);\r\n});\r\n```\r\n\r\n\r\n### Dictionary\r\n\r\n```typescript\r\n// interface Student {name: string, age: number}\r\nit(\"take success\", () => {\r\n  const dictionary = new Dictionary<string>();\r\n  const key = Forger.create<string>()!;\r\n  const value = Forger.create<string>()!;\r\n  dictionary.put(key, value);\r\n  //\r\n  const took = queue.key();\r\n  //\r\n  should().string(took).equals(value);\r\n});\r\n```\r\n\r\n### License\r\n\r\nThis project is under the MIT license\r\n","readmeFilename":"README.md"}