{"id":14156097,"url":"https://github.com/pnpm/npm-conf","last_synced_at":"2025-08-06T02:31:38.362Z","repository":{"id":47346174,"uuid":"137617532","full_name":"pnpm/npm-conf","owner":"pnpm","description":"Get the npm config","archived":false,"fork":true,"pushed_at":"2024-08-09T15:51:09.000Z","size":76,"stargazers_count":10,"open_issues_count":1,"forks_count":12,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-30T00:54:52.642Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"kevva/npm-conf","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pnpm.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}},"created_at":"2018-06-16T23:52:54.000Z","updated_at":"2024-10-02T13:05:51.000Z","dependencies_parsed_at":"2023-01-30T19:01:29.668Z","dependency_job_id":null,"html_url":"https://github.com/pnpm/npm-conf","commit_stats":{"total_commits":81,"total_committers":11,"mean_commits":7.363636363636363,"dds":"0.37037037037037035","last_synced_commit":"2a4c2d730959886450e27dfc5621f883851760c0"},"previous_names":["zkochan/npm-conf"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnpm%2Fnpm-conf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnpm%2Fnpm-conf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnpm%2Fnpm-conf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pnpm%2Fnpm-conf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pnpm","download_url":"https://codeload.github.com/pnpm/npm-conf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228592933,"owners_count":17942285,"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-08-17T08:05:13.035Z","updated_at":"2024-12-09T03:31:01.886Z","avatar_url":"https://github.com/pnpm.png","language":"JavaScript","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# @pnpm/npm-conf [![Build Status](https://travis-ci.com/pnpm/npm-conf.svg?branch=master)](https://travis-ci.com/pnpm/npm-conf)\n\n\u003e Get the npm config\n\n\n## Install\n\n```\n$ pnpm add @pnpm/npm-conf\n```\n\n\n## Usage\n\n```js\nconst npmConf = require('@pnpm/npm-conf');\n\nconst conf = npmConf();\n\nconf.get('prefix')\n//=\u003e //=\u003e /Users/unicorn/.npm-packages\n\nconf.get('registry')\n//=\u003e https://registry.npmjs.org/\n```\n\nTo get a list of all available `npm` config options:\n\n```bash\n$ npm config list --long\n```\n\n\n## API\n\n### npmConf()\n\nReturns the `npm` config.\n\n### npmConf.defaults\n\nReturns the default `npm` config.\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpnpm%2Fnpm-conf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpnpm%2Fnpm-conf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpnpm%2Fnpm-conf/lists"}