{"id":23407231,"url":"https://github.com/toolshive/create-npm-package","last_synced_at":"2025-04-09T00:33:13.714Z","repository":{"id":269290179,"uuid":"900690787","full_name":"ToolsHive/Create-NPM-Package","owner":"ToolsHive","description":"A CLI tool for creating starter templates for npm packages using TypeScript or JavaScript, tailored to simplify package development.","archived":false,"fork":false,"pushed_at":"2025-02-03T19:23:10.000Z","size":185,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-14T18:49:41.890Z","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/ToolsHive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-09T09:43:25.000Z","updated_at":"2024-12-09T11:11:56.000Z","dependencies_parsed_at":"2024-12-25T08:01:49.695Z","dependency_job_id":null,"html_url":"https://github.com/ToolsHive/Create-NPM-Package","commit_stats":null,"previous_names":["toolshive/create-npm-package"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToolsHive%2FCreate-NPM-Package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToolsHive%2FCreate-NPM-Package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToolsHive%2FCreate-NPM-Package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToolsHive%2FCreate-NPM-Package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ToolsHive","download_url":"https://codeload.github.com/ToolsHive/Create-NPM-Package/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247949967,"owners_count":21023420,"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":"2024-12-22T14:18:23.669Z","updated_at":"2025-04-09T00:33:13.689Z","avatar_url":"https://github.com/ToolsHive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=center\u003eCreate NPM Package 🚀\u003c/h1\u003e\r\n\u003cbr\u003e\r\n\r\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\r\n[![CodeQL Security Analysis](https://github.com/ToolsHive/Create-NPM-Package/actions/workflows/codeql.yml/badge.svg)](https://github.com/ToolsHive/Create-NPM-Package/actions/workflows/codeql.yml)\r\n[![Dependabot Updates](https://github.com/ToolsHive/Create-NPM-Package/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/ToolsHive/Create-NPM-Package/actions/workflows/dependabot/dependabot-updates)\r\n![GitHub last commit](https://img.shields.io/github/last-commit/ToolsHive/Create-NPM-Package)\r\n![Windows](https://img.shields.io/badge/platform-windows-blue)\r\n![Linux](https://img.shields.io/badge/platform-linux-yellowgreen)\r\n![macOS](https://img.shields.io/badge/platform-macOS-orange)\r\n[![GitHub](https://img.shields.io/github/license/ToolsHive/Create-NPM-Package)](https://github.com/ToolsHive/Create-NPM-Package/blob/main/LICENSE)\r\n![code-size](https://img.shields.io/github/languages/code-size/ToolsHive/Create-NPM-Package)\r\n![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)\r\n\r\nA CLI tool for creating starter templates for npm packages using TypeScript or JavaScript, tailored to simplify package development.\r\n\r\n## 📚 Table of Contents\r\n- [📚 Table of Contents](#-table-of-contents)\r\n- [✨ Features](#-features)\r\n- [💻 System Requirements](#-system-requirements)\r\n- [📥 Installation](#-installation)\r\n- [🛠️ Usage](#️-usage)\r\n- [❓ FAQ](#-faq)\r\n- [🐞 Troubleshooting](#-troubleshooting)\r\n- [🤝 Contributing](#-contributing)\r\n- [📜 License](#-license)\r\n\r\n## ✨ Features\r\n- 🔥 Quickly scaffold a new npm package project.\r\n- 🎯 Select between TypeScript or JavaScript for your starter template.\r\n- 🛠️ Generates a pre-configured `package.json` with the selected template.\r\n- 🧹 Sets up essential files for a clean and maintainable project structure.\r\n- ✅ Includes basic configurations for linting and formatting.\r\n- 🎉 Easy-to-use CLI for seamless setup and initialization.\r\n- 📦 No need to install globally, just use with `npx`.\r\n\r\n## 💻 System Requirements\r\n- **Node.js**: \u003e= 18.20.1\r\n- **npm**: \u003e= 9.2.0\r\n  \r\n\u003e ⚠️ Ensure these are installed on your system before using this tool.\r\n\r\n## 📥 Installation\r\n\r\nYou can install this package globally using npm to use the CLI tool directly in your terminal:\r\n\r\n```bash\r\nnpm install -g @ToolsHive/Create-NPM-Package\r\n```\r\n\r\n## 🛠️ Usage\r\n\r\nTo create a new npm package starter template, run the following command:\r\n\r\n```bash\r\nnpx @ToolsHive/Create-NPM-Package\r\n```\r\n\r\n## ❓ FAQ\r\n\r\n**Q: Do I need to install this package globally?**\r\n\r\nA: No, you can use it directly with `npx`, so there’s no need for a global installation.\r\n\r\n**Q: Does this tool support both JavaScript and TypeScript?**\r\n\r\nA: Yes, during setup, you can choose between TypeScript or JavaScript for your project.\r\n\r\n## 🐞 Troubleshooting\r\n\r\n- **🚫 Error: \"Command not found\"**  \r\n  Ensure you have Node.js and npm installed. Run `node -v` and `npm -v` to check.\r\n\r\n- **🔒 Permissions Error on Installation**  \r\n  Use `sudo` for global installations:\r\n\r\n  ```bash\r\n  sudo npm install -g @ToolsHive/Create-NPM-Package\r\n  ```\r\n\r\n- **💻 Installation Issues on Windows**\r\nUse PowerShell or Command Prompt with administrative rights.\r\n\r\n## 🤝 Contributing\r\nContributions are welcome! Please open an issue or submit a pull request for any improvements or features.\r\n\r\n## 📜 License\r\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoolshive%2Fcreate-npm-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoolshive%2Fcreate-npm-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoolshive%2Fcreate-npm-package/lists"}