{"_id":"@ashuhrai_71/city-count","_rev":"7-ef3b6f7c7605c057222f13b86d442f8c","name":"@ashuhrai_71/city-count","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.0":{"name":"@ashuhrai_71/city-count","version":"1.0.0","keywords":["city","count","people"],"author":{"name":"Ashurai84"},"license":"ISC","_id":"@ashuhrai_71/city-count@1.0.0","maintainers":[{"name":"ashuhrai_71","email":"Raia40094@gmail.com"}],"homepage":"https://github.com/Ashurai84/check-City#readme","bugs":{"url":"https://github.com/Ashurai84/check-City/issues"},"dist":{"shasum":"9c7acff0f3c2f899da6753d27ecd6182f81f9990","tarball":"https://registry.npmjs.org/@ashuhrai_71/city-count/-/city-count-1.0.0.tgz","fileCount":3,"integrity":"sha512-m2DHUbg1J4sMRhtFuSkuWzjWniffgN0AKHmBHBfWiqbIt5iiJn5y9qYz+yhuO6L1EHPzJ2+bPbvqXqwyH27RbQ==","signatures":[{"sig":"MEUCIQD9EUlrzXae5507l2ka+fsJK9pfJiwP1ygsC4fHI8R55wIgJhFKYNLQtx69I+GbaaxZVVGs8vhnPxHZgcu7/JpY1AI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1363},"main":"index.js","gitHead":"23b709a52ddc29c0d20023868d9a7d8a6d7fffab","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ashuhrai_71","email":"Raia40094@gmail.com"},"repository":{"url":"git+https://github.com/Ashurai84/check-City.git","type":"git"},"_npmVersion":"10.9.3","description":"A package to count how many people are in each city","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/city-count_1.0.0_1765272096784_0.5491925713155399","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@ashuhrai_71/city-count","version":"1.0.1","keywords":["city","count","people"],"author":{"name":"Ashurai84"},"license":"ISC","_id":"@ashuhrai_71/city-count@1.0.1","maintainers":[{"name":"ashuhrai_71","email":"Raia40094@gmail.com"}],"homepage":"https://github.com/Ashurai84/check-City#readme","bugs":{"url":"https://github.com/Ashurai84/check-City/issues"},"dist":{"shasum":"857551c42ebbe3414527180a7b76987359ceec11","tarball":"https://registry.npmjs.org/@ashuhrai_71/city-count/-/city-count-1.0.1.tgz","fileCount":3,"integrity":"sha512-KoX7n30C7b+mUHLH1JEaXswEuSTCeW4DR0F0BCG8VODsCMzlavTE/xy3f+sos6Z3W0Z8Ln48a/4EfDc9VFp1Lw==","signatures":[{"sig":"MEYCIQCRXIEZanHXBK10p66uVU0BkX+bub6w4VPF/p52lm7J/AIhAJlyUr2GBo87ALlTflAAAia/ZJbsijF4waKbWDVtqLHa","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4096},"main":"index.js","gitHead":"9449af2966e606e71e311bb27a012808077276fd","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ashuhrai_71","email":"Raia40094@gmail.com"},"repository":{"url":"git+https://github.com/Ashurai84/check-City.git","type":"git"},"_npmVersion":"10.9.3","description":"A package to count how many people are in each city","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/city-count_1.0.1_1765272450897_0.0569120431463368","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@ashuhrai_71/city-count","version":"1.0.2","keywords":["city","count","people"],"author":{"name":"Ashurai84"},"license":"ISC","_id":"@ashuhrai_71/city-count@1.0.2","maintainers":[{"name":"ashuhrai_71","email":"Raia40094@gmail.com"}],"homepage":"https://github.com/Ashurai84/check-City#readme","bugs":{"url":"https://github.com/Ashurai84/check-City/issues"},"dist":{"shasum":"7c7b12aa41e63ae7906d947d76b21b43155a8a44","tarball":"https://registry.npmjs.org/@ashuhrai_71/city-count/-/city-count-1.0.2.tgz","fileCount":3,"integrity":"sha512-EciTVwOoYqjBhbtExGtXbEKTxquALgArYsbhmn5zxTrmTWEfPR28/rwg7FLqdubSSo3QeIcKDXkuzmE1ai0zrw==","signatures":[{"sig":"MEUCIQCA3gTCwPFCvqrCom150wd6Z8QKXiRMKrLkY6yNHfjQbQIgK5feXSaip/B5zAxbQQfJEQ0uDeyUCCxAbTCcgdFDbLk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4544},"main":"index.js","gitHead":"e77e25c34a5c7e4a68b1fe2483fffee712604c15","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ashuhrai_71","email":"Raia40094@gmail.com"},"repository":{"url":"git+https://github.com/Ashurai84/check-City.git","type":"git"},"_npmVersion":"10.9.3","description":"A package to count how many people are in each city","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/city-count_1.0.2_1765272777638_0.717912129965413","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@ashuhrai_71/city-count","version":"1.0.3","keywords":["city","count","people"],"author":{"name":"Ashurai84"},"license":"ISC","_id":"@ashuhrai_71/city-count@1.0.3","maintainers":[{"name":"ashuhrai_71","email":"Raia40094@gmail.com"}],"homepage":"https://github.com/Ashurai84/check-City#readme","bugs":{"url":"https://github.com/Ashurai84/check-City/issues"},"dist":{"shasum":"bf9be3c15fbd3d53fee1bed59edf4d252adb7d01","tarball":"https://registry.npmjs.org/@ashuhrai_71/city-count/-/city-count-1.0.3.tgz","fileCount":3,"integrity":"sha512-QnzOgWXhnLg2UQDrX0ATe14xJSHh4R7m5QTditVQ2WBfgpAvEakKhZbi1wDK4KhDQH832tuSkrw7i51D8Kdapg==","signatures":[{"sig":"MEUCIQCKW1SMTaVi5DHEkSBZ7VjS//EK+AjDGxrn/Z8fMrdevQIgGpCIFVR807jWVrf8ptpWlch39UbNd1SRfEmumw+kDbQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4092},"main":"index.js","gitHead":"47f4aeeeaa105d47a1ae412ea2eac7855dea046f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ashuhrai_71","email":"Raia40094@gmail.com"},"repository":{"url":"git+https://github.com/Ashurai84/check-City.git","type":"git"},"_npmVersion":"10.9.3","description":"A package to count how many people are in each city","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/city-count_1.0.3_1765272862594_0.5041512362515266","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@ashuhrai_71/city-count","version":"1.0.4","keywords":["city","count","people"],"author":{"name":"Ashurai84"},"license":"ISC","_id":"@ashuhrai_71/city-count@1.0.4","maintainers":[{"name":"ashuhrai_71","email":"Raia40094@gmail.com"}],"homepage":"https://github.com/Ashurai84/check-City#readme","bugs":{"url":"https://github.com/Ashurai84/check-City/issues"},"dist":{"shasum":"72ad57ba73e4815a1fd05425cda3cd21e1c8d44f","tarball":"https://registry.npmjs.org/@ashuhrai_71/city-count/-/city-count-1.0.4.tgz","fileCount":3,"integrity":"sha512-40n2f6nkdl3E3mtl88SD3/GwWErV3k7SUjH2jTrNLyjadCI67d7mjXXE3fozyayU1/68FttJ1dFY9zMGWLNNfA==","signatures":[{"sig":"MEUCIA0Jz9x2369cea0IZrGn3H3/znUjWyM0yUWBpvWgepszAiEAlVT6g/olJldWYoeXSRytPaZm6u9cjtN345NDeLnUT+0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2025},"main":"index.js","gitHead":"eea36c2f45718c4c5e125fc2653d3242dfa3c9ae","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ashuhrai_71","email":"Raia40094@gmail.com"},"repository":{"url":"git+https://github.com/Ashurai84/check-City.git","type":"git"},"_npmVersion":"10.9.3","description":"A package to count how many people are in each city","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/city-count_1.0.4_1765272984506_0.5521513406792193","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@ashuhrai_71/city-count","version":"1.0.5","keywords":["city","count","people"],"author":{"name":"Ashurai84"},"license":"ISC","_id":"@ashuhrai_71/city-count@1.0.5","maintainers":[{"name":"ashuhrai_71","email":"Raia40094@gmail.com"}],"homepage":"https://github.com/Ashurai84/check-City#readme","bugs":{"url":"https://github.com/Ashurai84/check-City/issues"},"dist":{"shasum":"3c21d2d4b03d168827faceef2cbee50a676363d7","tarball":"https://registry.npmjs.org/@ashuhrai_71/city-count/-/city-count-1.0.5.tgz","fileCount":3,"integrity":"sha512-iGlWFHkvB5CkU7sW4/dcZMJ3lrapxJgVsh3Ab/ak+jfATw2puLkP+ml4e09AaZppycpFKi19foT/uX7/qG/jLQ==","signatures":[{"sig":"MEUCIQDkq3DVnTXZaep3gIv47ZzG0A6DdVBp6WTxUehtOkiN3gIgF1BV6RObB/1XIMcRhNcOpSTV7B8XONgY+DX+FI4pwaY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2092},"main":"index.js","gitHead":"a22e6cee44f716cc637feb745e74464a939f1139","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ashuhrai_71","email":"Raia40094@gmail.com"},"repository":{"url":"git+https://github.com/Ashurai84/check-City.git","type":"git"},"_npmVersion":"10.9.3","description":"A package to count how many people are in each city","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/city-count_1.0.5_1765273142132_0.345393567592885","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@ashuhrai_71/city-count","version":"1.0.6","description":"A package to count how many people are in each city","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Ashurai84/check-City.git"},"keywords":["city","count","people"],"author":{"name":"Ashurai84"},"license":"ISC","bugs":{"url":"https://github.com/Ashurai84/check-City/issues"},"homepage":"https://github.com/Ashurai84/check-City#readme","_id":"@ashuhrai_71/city-count@1.0.6","gitHead":"37fefd659f510436c312eda5dd08afb0d3166d0a","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-RDYRK0ypWBokpZhXkifqNvlHEd0FS1Xrnuz9rQdboXF5z6EmaSk7yRoBoip0uY01P5AB58OBi+q9aI3jNIfz5w==","shasum":"1e54ffb4f631fc2e230ded4a19a0b024cb99a717","tarball":"https://registry.npmjs.org/@ashuhrai_71/city-count/-/city-count-1.0.6.tgz","fileCount":3,"unpackedSize":2054,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCEFL7W8NQQWsNWVVl8UBNRN8UYaaIDZoBiQt9artkVugIgNymgzZGOgbty55n3j1ky4U87+Mm8v5B/FSYRQ2ztIQE="}]},"_npmUser":{"name":"ashuhrai_71","email":"Raia40094@gmail.com"},"directories":{},"maintainers":[{"name":"ashuhrai_71","email":"Raia40094@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/city-count_1.0.6_1765274405710_0.3381461762793838"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-09T09:21:36.648Z","modified":"2025-12-09T10:00:06.053Z","1.0.0":"2025-12-09T09:21:36.926Z","1.0.1":"2025-12-09T09:27:31.075Z","1.0.2":"2025-12-09T09:32:57.765Z","1.0.3":"2025-12-09T09:34:22.757Z","1.0.4":"2025-12-09T09:36:24.685Z","1.0.5":"2025-12-09T09:39:02.261Z","1.0.6":"2025-12-09T10:00:05.862Z"},"bugs":{"url":"https://github.com/Ashurai84/check-City/issues"},"author":{"name":"Ashurai84"},"license":"ISC","homepage":"https://github.com/Ashurai84/check-City#readme","keywords":["city","count","people"],"repository":{"type":"git","url":"git+https://github.com/Ashurai84/check-City.git"},"description":"A package to count how many people are in each city","maintainers":[{"name":"ashuhrai_71","email":"Raia40094@gmail.com"}],"readme":"# @ashuhrai_71/city-count\n\n[![npm version](https://img.shields.io/npm/v/@ashuhrai_71/city-count.svg)](https://www.npmjs.com/package/@ashuhrai_71/city-count)\n[![License: ISC](https://img.shields.io/badge/License-ISC-blue.svg)](https://opensource.org/licenses/ISC)\n\nA lightweight Node.js package to count people by city from an array of data.\n\n## 📦 Installation\n\n```bash\nnpm install @ashuhrai_71/city-count\n```\n\n## 🚀 Usage\n\n```javascript\nconst checkCityCount = require('@ashuhrai_71/city-count');\n\nconst data = [\n  { name: 'Saurabh', city: 'Mumbai' },\n  { name: 'Tejas', city: 'Pune' },\n  { name: 'Ashutosh', city: 'Delhi' },\n  { name: 'Priya', city: 'Mumbai' },\n  { name: 'Rahul', city: 'Pune' },\n  { name: 'Neha', city: 'Delhi' }\n];\n\nconst count = checkCityCount(data, 'Mumbai');\nconsole.log(count); // Output: 2\n```\n\n## 📖 API\n\n### `checkCityCount(data, city)`\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| `data` | `Array` | Array of objects with a `city` property |\n| `city` | `string` | City name to count (case-insensitive) |\n\n**Returns:** `number` - Count of matching entries\n\n## 📄 License\n\nISC\n\n## 👤 Author\n\n**Ashurai84** - [GitHub](https://github.com/Ashurai84)\n\n---\n\nMade with ❤️ in India\n","readmeFilename":"README.md"}