{"id":16350807,"url":"https://github.com/kevva/npm-conf","last_synced_at":"2025-04-05T07:08:15.363Z","repository":{"id":57742117,"uuid":"92229879","full_name":"kevva/npm-conf","owner":"kevva","description":"Get the npm config","archived":false,"fork":false,"pushed_at":"2024-08-03T00:38:31.000Z","size":17,"stargazers_count":37,"open_issues_count":9,"forks_count":19,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-12T01:06:36.419Z","etag":null,"topics":["config","nodejs","npm"],"latest_commit_sha":null,"homepage":null,"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/kevva.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":"2017-05-23T23:35:20.000Z","updated_at":"2024-04-05T19:03:48.000Z","dependencies_parsed_at":"2024-06-18T13:36:08.665Z","dependency_job_id":"3b38321f-b317-4200-b4b8-edbf51ea21e1","html_url":"https://github.com/kevva/npm-conf","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevva%2Fnpm-conf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevva%2Fnpm-conf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevva%2Fnpm-conf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevva%2Fnpm-conf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevva","download_url":"https://codeload.github.com/kevva/npm-conf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299833,"owners_count":20916190,"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":["config","nodejs","npm"],"created_at":"2024-10-11T01:06:23.079Z","updated_at":"2025-04-05T07:08:15.345Z","avatar_url":"https://github.com/kevva.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm-conf [![Build Status](https://travis-ci.org/kevva/npm-conf.svg?branch=master)](https://travis-ci.org/kevva/npm-conf)\n\n\u003e Get the npm config\n\n\n## Install\n\n```\n$ npm install npm-conf\n```\n\n\n## Usage\n\n```js\nconst npmConf = require('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%2Fkevva%2Fnpm-conf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevva%2Fnpm-conf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevva%2Fnpm-conf/lists"}