{"id":15590679,"url":"https://github.com/boennemann/get-npm-token","last_synced_at":"2025-08-30T18:31:03.229Z","repository":{"id":66097396,"uuid":"49722324","full_name":"boennemann/get-npm-token","owner":"boennemann","description":"username, email and password in – token out.","archived":false,"fork":false,"pushed_at":"2017-03-08T00:26:57.000Z","size":14,"stargazers_count":13,"open_issues_count":31,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-16T13:34:15.884Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://npm.im/get-npm-token","language":"JavaScript","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/boennemann.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":"2016-01-15T14:06:30.000Z","updated_at":"2023-09-08T17:05:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"5cccacaa-19a3-4257-9b8f-4ccb92672590","html_url":"https://github.com/boennemann/get-npm-token","commit_stats":{"total_commits":11,"total_committers":3,"mean_commits":"3.6666666666666665","dds":0.5454545454545454,"last_synced_commit":"18b52c8e205a4bb2e8e4af63d36245cde10cfa09"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boennemann%2Fget-npm-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boennemann%2Fget-npm-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boennemann%2Fget-npm-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boennemann%2Fget-npm-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boennemann","download_url":"https://codeload.github.com/boennemann/get-npm-token/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231515010,"owners_count":18388404,"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-10-02T23:25:11.661Z","updated_at":"2024-12-27T16:51:07.238Z","avatar_url":"https://github.com/boennemann.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# get-npm-token\n\n\u003e username, email and password in – token out.\n\n```js\nvar getToken = require('get-npm-token')\n\ngetToken('https://registry.npmjs.org/', 'boennemann', 'stephan@boennemann.me', '***', console.log)\n// the-token\n```\n\n```bash\nnpm install -g get-npm-token\nget-npm-token\n\u003e ? npm registry https://registry.npmjs.org/\n\u003e ? npm username? boennemann\n\u003e ? npm email stephan@boennemann.me\n\u003e ? npm password ***\n\u003e the-token\n```\n\nThe CLI securely caches answers in the npm config/os keychain (if available) so a repeated call looks like this:\n\n```bash\n\u003e ? npm registry (https://registry.npmjs.org/) # prefilled\n\u003e ? npm username? (boennemann) # prefilled\n\u003e ? npm email (stephan@boennemann.me) # prefilled\n\u003e # no more password required, use -f if you changed it\n\u003e another-token\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboennemann%2Fget-npm-token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboennemann%2Fget-npm-token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboennemann%2Fget-npm-token/lists"}