@zkochan/pnpm
Version:
Fast, disk space efficient package manager
130 lines (129 loc) • 4.67 kB
JSON
{
"_args": [
[
{
"raw": "osenv@^0.1.4",
"scope": null,
"escapedName": "osenv",
"name": "osenv",
"rawSpec": "^0.1.4",
"spec": ">=0.1.4 <0.2.0",
"type": "range"
},
"/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/local-resolver"
]
],
"_from": "osenv@>=0.1.4 <0.2.0",
"_id": "osenv@0.1.5",
"_inCache": true,
"_location": "/osenv",
"_nodeVersion": "8.9.1",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/osenv_0.1.5_1518743366771_0.010286411112286009"
},
"_npmUser": {
"name": "isaacs",
"email": "i@izs.me"
},
"_npmVersion": "5.6.0-canary.11",
"_phantomChildren": {},
"_requested": {
"raw": "osenv@^0.1.4",
"scope": null,
"escapedName": "osenv",
"name": "osenv",
"rawSpec": "^0.1.4",
"spec": ">=0.1.4 <0.2.0",
"type": "range"
},
"_requiredBy": [
"/@pnpm/local-resolver",
"/@zkochan/npm-package-arg",
"/node-gyp",
"/nopt",
"/npm-package-arg",
"/pkgs-graph/npm-package-arg",
"/pnpm-list/npm-package-arg"
],
"_resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
"_shasum": "85cdfafaeb28e8677f416e287592b5f3f49ea410",
"_shrinkwrap": null,
"_spec": "osenv@^0.1.4",
"_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/local-resolver",
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
"url": "http://blog.izs.me/"
},
"bugs": {
"url": "https://github.com/npm/osenv/issues"
},
"dependencies": {
"os-homedir": "^1.0.0",
"os-tmpdir": "^1.0.0"
},
"description": "Look up environment settings specific to different operating systems",
"devDependencies": {
"tap": "^11.1.0"
},
"directories": {
"test": "test"
},
"dist": {
"integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
"shasum": "85cdfafaeb28e8677f416e287592b5f3f49ea410",
"tarball": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
"fileCount": 4,
"unpackedSize": 4889
},
"files": [
"osenv.js"
],
"gitHead": "1c642b8f5ddb1f99671a300a466bf42ffb9f5ea2",
"homepage": "https://github.com/npm/osenv#readme",
"keywords": [
"environment",
"variable",
"home",
"tmpdir",
"path",
"prompt",
"ps1"
],
"license": "ISC",
"main": "osenv.js",
"maintainers": [
{
"name": "iarna",
"email": "me@re-becca.org"
},
{
"name": "isaacs",
"email": "i@izs.me"
},
{
"name": "othiym23",
"email": "ogd@aoaioxxysz.net"
},
{
"name": "robertkowalski",
"email": "rok@kowalski.gd"
}
],
"name": "osenv",
"optionalDependencies": {},
"readme": "# osenv\n\nLook up environment settings specific to different operating systems.\n\n## Usage\n\n```javascript\nvar osenv = require('osenv')\nvar path = osenv.path()\nvar user = osenv.user()\n// etc.\n\n// Some things are not reliably in the env, and have a fallback command:\nvar h = osenv.hostname(function (er, hostname) {\n h = hostname\n})\n// This will still cause it to be memoized, so calling osenv.hostname()\n// is now an immediate operation.\n\n// You can always send a cb, which will get called in the nextTick\n// if it's been memoized, or wait for the fallback data if it wasn't\n// found in the environment.\nosenv.hostname(function (er, hostname) {\n if (er) console.error('error looking up hostname')\n else console.log('this machine calls itself %s', hostname)\n})\n```\n\n## osenv.hostname()\n\nThe machine name. Calls `hostname` if not found.\n\n## osenv.user()\n\nThe currently logged-in user. Calls `whoami` if not found.\n\n## osenv.prompt()\n\nEither PS1 on unix, or PROMPT on Windows.\n\n## osenv.tmpdir()\n\nThe place where temporary files should be created.\n\n## osenv.home()\n\nNo place like it.\n\n## osenv.path()\n\nAn array of the places that the operating system will search for\nexecutables.\n\n## osenv.editor() \n\nReturn the executable name of the editor program. This uses the EDITOR\nand VISUAL environment variables, and falls back to `vi` on Unix, or\n`notepad.exe` on Windows.\n\n## osenv.shell()\n\nThe SHELL on Unix, which Windows calls the ComSpec. Defaults to 'bash'\nor 'cmd'.\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/npm/osenv.git"
},
"scripts": {
"postpublish": "git push origin --all; git push origin --tags",
"postversion": "npm publish",
"preversion": "npm test",
"test": "tap test/*.js"
},
"version": "0.1.5"
}