{"id":19185753,"url":"https://github.com/boilertown/node-package-boilerplate","last_synced_at":"2026-04-16T12:41:37.655Z","repository":{"id":57922339,"uuid":"528791029","full_name":"boilertown/node-package-boilerplate","owner":"boilertown","description":"A boilerplate with opinionated setup to help you kickstart your own Node.js package.","archived":false,"fork":false,"pushed_at":"2023-03-01T05:07:40.000Z","size":732,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-04T05:19:14.165Z","etag":null,"topics":["cjs","esm","nodejs","npm","npm-package","typescript"],"latest_commit_sha":null,"homepage":"","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/boilertown.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":"2022-08-25T09:58:14.000Z","updated_at":"2024-01-11T08:55:49.000Z","dependencies_parsed_at":"2024-11-09T11:11:55.428Z","dependency_job_id":"c43a14f1-4e9e-450c-82b0-473a2c08331b","html_url":"https://github.com/boilertown/node-package-boilerplate","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boilertown%2Fnode-package-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boilertown%2Fnode-package-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boilertown%2Fnode-package-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boilertown%2Fnode-package-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boilertown","download_url":"https://codeload.github.com/boilertown/node-package-boilerplate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240261499,"owners_count":19773474,"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":["cjs","esm","nodejs","npm","npm-package","typescript"],"created_at":"2024-11-09T11:11:49.975Z","updated_at":"2026-04-16T12:41:32.606Z","avatar_url":"https://github.com/boilertown.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e♨️ Node Package Boilerplate\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cp\u003e\n    A boilerplate with opinionated setup to help you kickstart your own Node.js package.\n  \u003c/p\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/boilertown/node-package-boilerplate?style=flat-square\" alt=\"MIT license\" \u003e\n\u003c/div\u003e\n\n## The Setup\n\n- [TypeScript][typescript-url]\n- Linting with [Eslint][eslint-url] and code formatting with [Prettier][prettier-url]\n- Conventional commit messages with [Commitlint][commitlint-url]\n- Build with [Rollup][rollup-url]\n- [Vitest][vitest-url] for Unit test\n- Automated release with [changesets][changesets-url]\n- Build library for Node.js 14 or newer.\n- Support both CJS \u0026 ESM.\n\n## Get Started\n\n- Use [Boilertown](https://github.com/boilertown/create-boilertown) CLI.\n\n  ```sh\n  # npm\n  npm create boilertown@latest -- -b node-package-boilerplate\n\n  # yarn\n  yarn create boilertown -b node-package-boilerplate\n\n  # pnpm\n  pnpm create boilertown -b node-package-boilerplate\n\n  # bun\n  bun create boilertown/node-package-boilerplate [package-name]\n  ```\n\n- Click the green \"Use this template\" button to generate a new repository with the same structure and files.\n\n  \u003cimg src=\"https://docs.github.com/assets/cb-36544/images/help/repository/use-this-template-button.png\" alt=\"Use this template button\" width=\"500\"\u003e\n\n  [Ref: Github Docs](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template)\n\n## Development\n\n- Build the package to release:\n\n  ```sh\n  pnpm build\n  ```\n\n- Create changeset:\n\n  ```sh\n  pnpm changeset\n  ```\n\n## Release \u0026 Publish\n\nThis boilerplate uses [changesets][changesets-url] to automatically generate `CHANGELOG`, create releases and publish to NPM registry via GitHub Actions. You can see action details at [release.yml](/.github/workflows//release.yml).\n\nTo automating publish your Node.js package, follow these steps:\n\n- Create a `NPM_TOKEN`. [See this article for more details](https://docs.npmjs.com/creating-and-viewing-access-tokens). Make sure the type of access token is **Automation**.\n\n- [Follow this instruction](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository) to add the created token to your GitHub Actions secrets. Name of the secret is `NPM_TOKEN`.\n\n- Install [changeset bot](https://github.com/apps/changeset-bot).\n\n- [Adding changeset and commit](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md#i-am-in-a-single-package-repository).\n\n**P/S**: Remember to check the `Allow GitHub Actions to create and approve pull requests` in your repo Settings \u003e Actions \u003e General \u0026 scroll to Workflow permissions.\n\n## Contributing\n\n**node-package-boilerplate** ❤️ your contributions. If you have any ideas, suggestions, fixes, feel free to contribute.\n\n[boilertown-url]: https://github.com/boilertown\n[typescript-url]: https://www.typescriptlang.org\n[eslint-url]: https://eslint.org\n[commitlint-url]: https://github.com/conventional-changelog/commitlint\n[prettier-url]: https://prettier.io\n[changesets-url]: https://github.com/changesets/changesets\n[rollup-url]: https://rollupjs.org\n[vitest-url]: https://vitest.dev/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboilertown%2Fnode-package-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboilertown%2Fnode-package-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboilertown%2Fnode-package-boilerplate/lists"}