{"id":15290145,"url":"https://github.com/npm/npm-normalize-package-bin","last_synced_at":"2025-04-22T21:42:42.745Z","repository":{"id":42459099,"uuid":"226960383","full_name":"npm/npm-normalize-package-bin","owner":"npm","description":"Turn any flavor of allowable package.json bin into a normalized object","archived":false,"fork":false,"pushed_at":"2025-04-09T16:23:15.000Z","size":127,"stargazers_count":7,"open_issues_count":1,"forks_count":5,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-19T13:16:07.509Z","etag":null,"topics":["npm-cli"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/npm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-09T20:22:36.000Z","updated_at":"2025-04-09T16:23:18.000Z","dependencies_parsed_at":"2023-12-06T20:40:11.388Z","dependency_job_id":"62f5fa49-6ee4-4512-b30b-ff19cd08e479","html_url":"https://github.com/npm/npm-normalize-package-bin","commit_stats":{"total_commits":69,"total_committers":9,"mean_commits":7.666666666666667,"dds":0.6376811594202898,"last_synced_commit":"4594c6855a937f2d1296fe5b61adf318a9bf529b"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npm%2Fnpm-normalize-package-bin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npm%2Fnpm-normalize-package-bin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npm%2Fnpm-normalize-package-bin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npm%2Fnpm-normalize-package-bin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/npm","download_url":"https://codeload.github.com/npm/npm-normalize-package-bin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250330269,"owners_count":21412953,"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":["npm-cli"],"created_at":"2024-09-30T16:05:38.054Z","updated_at":"2025-04-22T21:42:42.718Z","avatar_url":"https://github.com/npm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm-normalize-package-bin\n\nTurn any flavor of allowable package.json bin into a normalized object.\n\n## API\n\n```js\nconst normalize = require('npm-normalize-package-bin')\nconst pkg = {name: 'foo', bin: 'bar'}\nconsole.log(normalize(pkg)) // {name:'foo', bin:{foo: 'bar'}}\n```\n\nAlso strips out weird dots and slashes to prevent accidental and/or\nmalicious bad behavior when the package is installed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpm%2Fnpm-normalize-package-bin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnpm%2Fnpm-normalize-package-bin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpm%2Fnpm-normalize-package-bin/lists"}