{"id":19879604,"url":"https://github.com/mathisloge/node-pre-gyp-github-ts","last_synced_at":"2026-05-13T04:38:18.495Z","repository":{"id":143768046,"uuid":"449325902","full_name":"mathisloge/node-pre-gyp-github-ts","owner":"mathisloge","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-21T10:33:39.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T17:51:42.433Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@mathisloge/node-pre-gyp-github","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mathisloge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-18T14:52:13.000Z","updated_at":"2022-01-18T19:48:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"24ebd7eb-7e47-4c36-b41f-0bf964e5b66c","html_url":"https://github.com/mathisloge/node-pre-gyp-github-ts","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathisloge%2Fnode-pre-gyp-github-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathisloge%2Fnode-pre-gyp-github-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathisloge%2Fnode-pre-gyp-github-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathisloge%2Fnode-pre-gyp-github-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathisloge","download_url":"https://codeload.github.com/mathisloge/node-pre-gyp-github-ts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241309107,"owners_count":19941724,"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-12T17:08:57.253Z","updated_at":"2026-05-13T04:38:18.465Z","avatar_url":"https://github.com/mathisloge.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-pre-gyp-github\n\nPublishes release assets to already existing releases.\nDepends on https://github.com/mapbox/node-pre-gyp\n\n\n# Usage\n\n\n\n```json \n{\n    \"binary\": {\n        \"module_name\": \"myproject\",\n        \"module_path\": \"./lib/binding/napi-v{napi_build_version}\",\n        \"remote_path\": \"v{version}\",\n        \"package_name\": \"{platform}-{arch}-napi-v{napi_build_version}.tar.gz\",\n        \"host\": \"https://github.com/\u003cmyorg\u003e/\u003cmyproject\u003e/releases/download\",\n        \"napi_versions\": [\n            3\n        ]\n    },\n    \"scripts\": {\n        \"package\": \"node-pre-gyp package\",\n        \"publish\": \"npm run package \u0026\u0026 node-pre-gyp-github publish\"\n    },\n}\n```\nAttention: the `remote_path` have to resolve to a valid release tag!\n\nBefore publishing, you need to provide the `NODE_PRE_GYP_GITHUB_TOKEN` which is compatible to the original https://github.com/bchr02/node-pre-gyp-github.\n\n### How do I get the NODE_PRE_GYP_GITHUB_TOKEN? \n\nNeeded rights:\n\n* `write:packages` (for uploading release assets)\n* `delete:packages` (for replacing release assets)\n\nSee the how to https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathisloge%2Fnode-pre-gyp-github-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathisloge%2Fnode-pre-gyp-github-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathisloge%2Fnode-pre-gyp-github-ts/lists"}