{"id":17700403,"url":"https://github.com/antman261/npm-package-template","last_synced_at":"2025-08-09T23:35:34.041Z","repository":{"id":113697418,"uuid":"369090896","full_name":"Antman261/npm-package-template","owner":"Antman261","description":"A template for starting an npm package with testing, linting, styling, types, CI, and documentation.","archived":false,"fork":false,"pushed_at":"2021-05-22T12:37:11.000Z","size":62,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-30T00:03:44.500Z","etag":null,"topics":["npm","npm-package","template-repository","typescript"],"latest_commit_sha":null,"homepage":"https://antman261.github.io/npm-package-template/","language":"TypeScript","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/Antman261.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2021-05-20T05:35:21.000Z","updated_at":"2024-02-01T14:53:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"e441ef83-a3d0-4d56-ab1a-573321a5bd70","html_url":"https://github.com/Antman261/npm-package-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Antman261/npm-package-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antman261%2Fnpm-package-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antman261%2Fnpm-package-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antman261%2Fnpm-package-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antman261%2Fnpm-package-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Antman261","download_url":"https://codeload.github.com/Antman261/npm-package-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Antman261%2Fnpm-package-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269654006,"owners_count":24454317,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["npm","npm-package","template-repository","typescript"],"created_at":"2024-10-24T17:42:06.294Z","updated_at":"2025-08-09T23:35:34.016Z","avatar_url":"https://github.com/Antman261.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NPM Package Template\n\nThis is a template NPM package repository. Get started with the following commands:\n\n```shell\ngit clone https://github.com/Antman261/npm-package-template.git my-package\ncd my-package\nrm -rf .git\ngit init\ngit remote add origin https://github.com/\u003cYOUR USERNAME\u003e/\u003cYOUR REPOSITORY\u003e\nnvm use\nnpm i\n```\n\nWhere `my-package` is the name of your package\n\nNow you can begin developing your package!\n\n## Included package scripts\n\n* `npm run watch` Use this during development to run tests on change\n* `npm run build` Build your library\n* `npm run build-docs` Builds the documentation using [TypeDoc](http://typedoc.org) and [TypeDoc Markdown](https://github.com/tgreyuk/typedoc-plugin-markdown/tree/master/packages/typedoc-plugin-markdown)\n\n## Setting up GitHub Pages and CircleCI\n\n### GitHub Pages\n\nHosting your docs on GitHub Pages makes it easier to read the full documentation for your package. TypeDoc will generate markdown for your JSDoc comments. GitHub's Jekyll engine then parses and renders the markdown into HTML on their pages server.\n\nSet up a GitHub Pages site for your package as a *project site* with the following steps:\n\n1. Follow the instructions in the [GitHub Pages Docs](https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site) to set up Pages on your GitHub account or organisation if not already configured.\n1. Go to your repository for this package on GitHub and click `Settings`\n1. Click `Pages`\n1. Configure the branch as `main` (or `master`) and the directory to `/docs`\n1. Configure the remaining settings as per your own preferences\n\n### CircleCI\n\nA basic [CircleCI](https://circleci.com) config is included in this template. It will install dependencies and run tests. Use this to ensure that pull requests from contributors pass tests.\n\n1. Login to [CircleCI](https://circleci.com) with GitHub\n1. Click \"Projects\"\n1. Click \"Set up project\" for this repository and follow the instructions\n\nAlso consider setting up branch protection and requiring passing checks from CircleCI for pull requests.\n\n## Finish setting up your package\n\nYou'll need to update the following files and properties to finish setting up your package:\n\n* `package.json` =\u003e `\"name\"`\n* `package.json` =\u003e `\"description\"`\n* `package.json` =\u003e `\"repository.url\"`\n* `package.json` =\u003e `\"author\"`\n* `CONTRIBUTING.md` -- Update for your project\n* `LICENSE` -- Add your name to the copyright notice or replace with another license.\n* `README.md` -- Time to update the file you're reading! Add your own description and usage examples for your package.\n\nAfter completing the above you can use `npm publish` to publish your package, complete with type definitions and docs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantman261%2Fnpm-package-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantman261%2Fnpm-package-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantman261%2Fnpm-package-template/lists"}