{"_id":"@abhishekd358/word-counter","name":"@abhishekd358/word-counter","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@abhishekd358/word-counter","version":"1.0.0","description":"A CLI tool to count words in a text file created by github.com/abhishekd358","main":"index.js","bin":{"word-counter":"index.js"},"type":"module","keywords":["cli","word","counter","abhishek","word-counter"],"author":{"name":"Abhishek D 💗"},"license":"MIT","_id":"@abhishekd358/word-counter@1.0.0","gitHead":"ab50f6300442d9b10f618150c886163512d3dcad","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-7VW5DJIDJWVp7k472BEQvfJY+Gk+lS8dT6h18bb7+HcqxHMHlImsT+1xez4L7Bu3BcBHG6MxVWHGRQdFuORzEg==","shasum":"fc7a0451a0837420ba46916c17e20a97a3fae5bb","tarball":"https://registry.npmjs.org/@abhishekd358/word-counter/-/word-counter-1.0.0.tgz","fileCount":3,"unpackedSize":3320,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGkFvU+0Zz0+TrSPoLstVodZLedk7EJpQH8oi58/xx9iAiEAua1IIkqZEV2SjWulcsSFlJS9Ambc9kpACc7gi+fxbkY="}]},"_npmUser":{"name":"abhishekd358","email":"abhidhaware1234@gmail.com"},"directories":{},"maintainers":[{"name":"abhishekd358","email":"abhidhaware1234@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/word-counter_1.0.0_1762955441497_0.8072713367142679"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-12T13:50:41.432Z","1.0.0":"2025-11-12T13:50:41.667Z","modified":"2025-11-12T13:50:41.909Z"},"maintainers":[{"name":"abhishekd358","email":"abhidhaware1234@gmail.com"}],"description":"A CLI tool to count words in a text file created by github.com/abhishekd358","keywords":["cli","word","counter","abhishek","word-counter"],"author":{"name":"Abhishek D 💗"},"license":"MIT","readme":"## 🧮 Word Counter CLI\r\n\r\n**A simple command-line tool to count total and unique words in any text file — created by [Abhishek D 💗](https://github.com/abhishekd358)**\r\n\r\n---\r\n\r\n### 🚀 Installation\r\n\r\nYou can use it instantly with **npx** (no need to install):\r\n\r\n```bash\r\nnpx @abhishekd358/word-counter <file-path>\r\n```\r\n\r\nor install it globally:\r\n\r\n```bash\r\nnpm install -g @abhishekd358/word-counter\r\n```\r\n---\r\n\r\n### 💡 Example Commands\r\n\r\nRun below cmd in your terminal\r\n```bash\r\nnpx word-counter ./story.txt\r\n```\r\n\r\n**Output Example:**\r\n\r\n```\r\n📄 Word Count Result for: ./story.txt\r\n-----------------------------------\r\nhello           : 5\r\nworld           : 3\r\nchai            : 7\r\njavascript      : 4\r\n-----------------------------------\r\n🧮 Total Words: 19\r\n🔠 Unique Words: 4\r\n\r\n✅ Word count completed successfully!\r\n```\r\n\r\n---\r\n\r\n### 🧱 Tech Stack\r\n\r\n* Node.js (v18+)\r\n* ES Modules (`import/export`)\r\n* Built-in `fs/promises` (no extra dependencies)\r\n\r\n---\r\n\r\n### 👨‍💻 Author\r\n\r\n**Abhishek D 💗**\r\n📦 npm: [@abhishekd358/word-counter](https://www.npmjs.com/~abhishekd358)\r\n💻 GitHub: [abhishekd358](https://github.com/abhishekd358)\r\n\r\n---\r\n\r\n","readmeFilename":"readme.md","_rev":"1-d33604ff2cdf5308b5806f1fa7cf46fa"}