{"id":23840389,"url":"https://github.com/dancer/npm-namer","last_synced_at":"2025-07-10T15:37:37.623Z","repository":{"id":255759712,"uuid":"853553077","full_name":"dancer/NPM-Namer","owner":"dancer","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-06T22:53:31.000Z","size":249,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T17:50:14.065Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dancer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-06T22:30:35.000Z","updated_at":"2024-09-14T05:41:47.000Z","dependencies_parsed_at":"2024-09-07T02:26:09.107Z","dependency_job_id":"7a9c0f5a-4ca8-4fd5-ad1b-0d785db46ea0","html_url":"https://github.com/dancer/NPM-Namer","commit_stats":null,"previous_names":["dancer/npm-namer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dancer%2FNPM-Namer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dancer%2FNPM-Namer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dancer%2FNPM-Namer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dancer%2FNPM-Namer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dancer","download_url":"https://codeload.github.com/dancer/NPM-Namer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240127086,"owners_count":19751938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-02T17:48:38.276Z","updated_at":"2025-02-22T04:42:45.153Z","avatar_url":"https://github.com/dancer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Check NPM Names\n\n![npm-check-logo](https://img.shields.io/npm/v/npm-name) ![license](https://img.shields.io/github/license/dancer/NPM-Namer)\n\nA simple command-line tool to check if package names are available on [npmjs.com](https://npmjs.com). It reads names from a file and outputs the available names into a separate file.\n\n## Features\n\n- ⚡️ **Fast \u0026 Efficient**: Uses a progress bar to show status as names are checked.\n- 🎨 **Colored Output**: Easily see which names are available (in green) and which aren't (in red).\n- 📝 **File-based Input/Output**: Reads package names from a text file and saves available names to a new file.\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/dancer/NPM-Namer.git\n   cd check-npm-names\n   ```\n\n2. Install the dependencies:\n   ```bash\n   npm install\n   ```\n\n## Usage\n\n1. Create a text file (`package-names.txt`) and list the package names you want to check, one name per line:\n   ```\n   package-name-1\n   package-name-2\n   package-name-3\n   ```\n\n2. Run the script:\n   ```bash\n   node check-npm-names.js\n   ```\n\n3. The script will generate a file named `available-names.txt` with all the available names.\n\n## Example\n\n```bash\nChecking 3 names from package-names.txt...\n  ███████████████████ 100% | 3/3\n  package-name-1: Available\n  package-name-2: Not Available\n  package-name-3: Available\n2 available names saved to available-names.txt\n```\n\n## Customization\n\n- **Input File**: By default, the script looks for a file named `package-names.txt`. You can modify this in the code to use a different input file.\n- **Output File**: Available names are saved to `available-names.txt`. This can also be changed in the script as needed.\n\n## Dependencies\n\n- [npm-name](https://www.npmjs.com/package/npm-name) — Check npm package name availability\n- [chalk](https://www.npmjs.com/package/chalk) — Terminal string styling for colored output\n- [cli-progress](https://www.npmjs.com/package/cli-progress) — Progress bar for the terminal\n- [p-limit](https://www.npmjs.com/package/p-limit) — Controls the concurrency of asynchronous tasks\n- [fs/promises](https://nodejs.org/api/fs.html#fspromises)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n---\n\n**Made with ❤️ by [DxD](https://github.com/dancer)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdancer%2Fnpm-namer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdancer%2Fnpm-namer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdancer%2Fnpm-namer/lists"}