{"id":16346634,"url":"https://github.com/matype/node-prefix","last_synced_at":"2025-11-08T10:30:28.221Z","repository":{"id":17684964,"uuid":"20490846","full_name":"matype/node-prefix","owner":"matype","description":"Refer to nodejs configuration prefix and global module install path","archived":false,"fork":false,"pushed_at":"2014-06-04T16:33:36.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-03T20:50:22.051Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matype.png","metadata":{"files":{"readme":"readme.markdown","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}},"created_at":"2014-06-04T16:19:06.000Z","updated_at":"2014-06-04T16:33:36.000Z","dependencies_parsed_at":"2022-09-10T17:53:17.975Z","dependency_job_id":null,"html_url":"https://github.com/matype/node-prefix","commit_stats":null,"previous_names":["morishitter/node-prefix","matype/node-prefix"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fnode-prefix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fnode-prefix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fnode-prefix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fnode-prefix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matype","download_url":"https://codeload.github.com/matype/node-prefix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239550230,"owners_count":19657541,"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-11T00:35:50.549Z","updated_at":"2025-11-08T10:30:28.170Z","avatar_url":"https://github.com/matype.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-prefix\n\nRefer to nodejs configuration prefix and global module install path\n\n## Installation\n\n```shell\n$ npm install node-prefix\n```\n\n## Example\n\n```javascript\nvar config = require('node-prefix')\n\nvar nodePrefix = config.prefix()\n// '/usr/local/lib'\n\nvar globalModulePath = config.global('moduleName')\n// '/usr/local/lib/node_modules/moduleName'\n```\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Masaaki Morishita\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatype%2Fnode-prefix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatype%2Fnode-prefix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatype%2Fnode-prefix/lists"}