{"id":19448374,"url":"https://github.com/csbun/test-github-package-npm","last_synced_at":"2026-06-06T23:32:20.717Z","repository":{"id":150165533,"uuid":"211075151","full_name":"csbun/test-github-package-npm","owner":"csbun","description":"this is a test npm package publish to github package.","archived":false,"fork":false,"pushed_at":"2019-09-27T14:12:06.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-07T23:22:26.602Z","etag":null,"topics":[],"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/csbun.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":"2019-09-26T11:41:16.000Z","updated_at":"2019-09-27T14:12:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1beee62-73e0-49c7-be4c-3483d20d2ff5","html_url":"https://github.com/csbun/test-github-package-npm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csbun%2Ftest-github-package-npm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csbun%2Ftest-github-package-npm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csbun%2Ftest-github-package-npm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csbun%2Ftest-github-package-npm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csbun","download_url":"https://codeload.github.com/csbun/test-github-package-npm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240636663,"owners_count":19832922,"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-11-10T16:26:27.565Z","updated_at":"2025-02-25T08:53:17.787Z","avatar_url":"https://github.com/csbun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# test-github-package-npm\n\nthis is a test npm package publish to [github package](https://help.github.com/en/articles/about-github-package-registry).\n\n## ❓ How\n\n### Configuring Account\n\n- [Creating a personal access token for the command line](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line)\n- Log in with npm using your username and personal access token\n\n```sh\nnpm login --registry=https://npm.pkg.github.com/OWNER\n\u003e Username: USERNAME\n\u003e Password: TOKEN\n\u003e Email: PUBLIC EMAIL ADDRESS\n```\n\n### Configuring package.json\n\nGitHub Package Registry only supports scoped NPM packages. Scoped packages have names with the format of `@owner/name` with lower case. And add an a publishConfig entry wiht `https://npm.pkg.github.com/`.\n\n```json\n{\n  \"name\": \"@csbun/test-github-package-npm\",\n  \"publishConfig\": {\n    \"registry\": \"https://npm.pkg.github.com/\"\n  },\n}\n```\n\n### Publish\n\n```sh\nnpm publish\n```\n\n## 🤫 Where\n\nVisit https://github.com/`@OWNER`/`@REPO`/packages\n\nFor Example:\n\n[https://github.com/csbun/test-github-package-npm/packages](https://github.com/csbun/test-github-package-npm/packages)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsbun%2Ftest-github-package-npm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsbun%2Ftest-github-package-npm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsbun%2Ftest-github-package-npm/lists"}