{"_id":"osenv","_rev":"65-e74348836a5cdcae5fdb3f4feb325c0a","name":"osenv","dist-tags":{"latest":"0.1.5"},"versions":{"0.0.1":{"name":"osenv","version":"0.0.1","keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"url":"http://blog.izs.me/","name":"Isaac Z. Schlueter","email":"i@izs.me"},"license":"BSD","_id":"osenv@0.0.1","maintainers":[{"name":"isaacs","email":"i@izs.me"}],"dist":{"shasum":"cf33b1fb1b34778cc88d440890e95027b841fad5","tarball":"https://registry.npmjs.org/osenv/-/osenv-0.0.1.tgz","integrity":"sha512-tV3xPy3Cu/a7R75kX7/YTm1CCEnqLvNsRaD9Z5j2gvlvPxnhoki8nYLS4dg+UhWklbFdcBy8cDr45mB//b0mAA==","signatures":[{"sig":"MEUCIQCOzbJ4jLK0U1tbORHILbO3kmyL7fZoVMoxm06ltTqaAQIgJIpOMrX7h4EPnHQluWNPgOxT1aJexaHzpjC20bu7c6A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"osenv.js","scripts":{"test":"tap test/*.js"},"deprecated":"This package is no longer supported.","repository":{"url":"git://github.com/isaacs/osenv","type":"git"},"description":"Look up environment settings specific to different operating systems","directories":{"test":"test"},"dependencies":{},"devDependencies":{"tap":"~0.2.5"}},"0.0.2":{"name":"osenv","version":"0.0.2","keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"url":"http://blog.izs.me/","name":"Isaac Z. Schlueter","email":"i@izs.me"},"license":"BSD","_id":"osenv@0.0.2","maintainers":[{"name":"isaacs","email":"i@izs.me"}],"dist":{"shasum":"1af1612efd71e1e3d1a72e17a33b869f95f58abe","tarball":"https://registry.npmjs.org/osenv/-/osenv-0.0.2.tgz","integrity":"sha512-qrZM2nP9ekQVS/6aVD4NCKVm09nNKZqBltEw1a5oZwy2wATkiF3YcYP4QTyh/M4Vp2WgRPujFfWW34RZtYBEhw==","signatures":[{"sig":"MEUCIB3f4v5b9FKQ1LvBlhqW7ruq/Svgv9pWcTV/1MzA5m+YAiEAtUxJ6zGkYKgBRPSqfPzXQYB0rRrSqZgso8iL2RStaDM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"osenv.js","scripts":{"test":"tap test/*.js"},"deprecated":"This package is no longer supported.","repository":{"url":"git://github.com/isaacs/osenv","type":"git"},"description":"Look up environment settings specific to different operating systems","directories":{"test":"test"},"dependencies":{},"devDependencies":{"tap":"~0.2.5"}},"0.0.3":{"name":"osenv","version":"0.0.3","keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"url":"http://blog.izs.me/","name":"Isaac Z. Schlueter","email":"i@izs.me"},"license":"BSD","_id":"osenv@0.0.3","maintainers":[{"name":"isaacs","email":"i@izs.me"}],"dist":{"shasum":"cd6ad8ddb290915ad9e22765576025d411f29cb6","tarball":"https://registry.npmjs.org/osenv/-/osenv-0.0.3.tgz","integrity":"sha512-VBk1bfdaO4gh3OWO8LBuDY2alp0buL8YzQ6t13xyc8PQPrnUg5AgQvINQx3UkS4dom8UGCL597q4Y2+M4TPvmw==","signatures":[{"sig":"MEUCIQDNF9m5f775JOasom+g/aKP6b1N+Jdw0VskLyOHRgtfqwIgTfS8+ssuFqLI0WDlPFgl4lEAI6BC+26RY+lvvn5KOhs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"osenv.js","scripts":{"test":"tap test/*.js"},"deprecated":"This package is no longer supported.","repository":{"url":"git://github.com/isaacs/osenv","type":"git"},"description":"Look up environment settings specific to different operating systems","directories":{"test":"test"},"dependencies":{},"devDependencies":{"tap":"~0.2.5"}},"0.1.0":{"name":"osenv","version":"0.1.0","keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"url":"http://blog.izs.me/","name":"Isaac Z. Schlueter","email":"i@izs.me"},"license":"BSD","_id":"osenv@0.1.0","maintainers":[{"name":"isaacs","email":"i@izs.me"},{"name":"robertkowalski","email":"rok@kowalski.gd"}],"homepage":"https://github.com/isaacs/osenv","bugs":{"url":"https://github.com/isaacs/osenv/issues"},"dist":{"shasum":"61668121eec584955030b9f470b1d2309504bfcb","tarball":"https://registry.npmjs.org/osenv/-/osenv-0.1.0.tgz","integrity":"sha512-PenJexmyQ/42JhvtcLRdVaWobP+JccHIclnQeTL2t66j6aAB79iVdOzwC1DtRDuv49e/QjFq7CMC5YYPVw1rcg==","signatures":[{"sig":"MEUCIQD/Nxj5GT1eMCZzVURHsCDfTmTZ44RG+hmx7bNknzjL3gIgbJiK0DUfp8y7mwQjzXILK2zROcadwL7WOv1qjm87Q5Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"osenv.js","_from":".","_shasum":"61668121eec584955030b9f470b1d2309504bfcb","scripts":{"test":"tap test/*.js"},"_npmUser":{"name":"robertkowalski","email":"rok@kowalski.gd"},"deprecated":"This package is no longer supported.","repository":{"url":"git://github.com/isaacs/osenv","type":"git"},"_npmVersion":"1.4.9","description":"Look up environment settings specific to different operating systems","directories":{"test":"test"},"dependencies":{},"devDependencies":{"tap":"~0.4.9"}},"0.1.1":{"name":"osenv","version":"0.1.1","keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"url":"http://blog.izs.me/","name":"Isaac Z. Schlueter","email":"i@izs.me"},"license":"ISC","_id":"osenv@0.1.1","maintainers":[{"name":"isaacs","email":"i@izs.me"},{"name":"robertkowalski","email":"rok@kowalski.gd"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"},{"name":"iarna","email":"me@re-becca.org"}],"homepage":"https://github.com/npm/osenv#readme","bugs":{"url":"https://github.com/npm/osenv/issues"},"dist":{"shasum":"ddc7c4bb86c64a3022e95f030ee028e9a5996c07","tarball":"https://registry.npmjs.org/osenv/-/osenv-0.1.1.tgz","integrity":"sha512-9RJq9Nei3qfU1MbYPDjHp1OOsbWsH2gz440i4ljUaipjh0QppBHorFcln78vJrfKEGmydjQ6y2VQrzhXu73EqQ==","signatures":[{"sig":"MEUCIQDykigIONqEMkdPTTZT8eQovQoq+fYOuJ0Ot5ZN7jrh2wIgXRPmFioQNLXX0ZOBCUqTMML7A2fT8UDcDwc8vAgjAdU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"osenv.js","_from":".","_shasum":"ddc7c4bb86c64a3022e95f030ee028e9a5996c07","gitHead":"769ada6737026254372e3013b702c450a9b781e9","scripts":{"test":"tap test/*.js"},"_npmUser":{"name":"isaacs","email":"isaacs@npmjs.com"},"deprecated":"This package is no longer supported.","repository":{"url":"git+https://github.com/npm/osenv.git","type":"git"},"_npmVersion":"2.10.0","description":"Look up environment settings specific to different operating systems","directories":{"test":"test"},"_nodeVersion":"2.0.1","dependencies":{},"devDependencies":{"tap":"~0.4.9"}},"0.1.2":{"name":"osenv","version":"0.1.2","keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"url":"http://blog.izs.me/","name":"Isaac Z. Schlueter","email":"i@izs.me"},"license":"ISC","_id":"osenv@0.1.2","maintainers":[{"name":"isaacs","email":"i@izs.me"},{"name":"robertkowalski","email":"rok@kowalski.gd"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"},{"name":"iarna","email":"me@re-becca.org"}],"homepage":"https://github.com/npm/osenv#readme","bugs":{"url":"https://github.com/npm/osenv/issues"},"dist":{"shasum":"f4d23ebeceaef078600fb78c0ea58fac5996a02d","tarball":"https://registry.npmjs.org/osenv/-/osenv-0.1.2.tgz","integrity":"sha512-DsV89q/jn7lRUvAu9iPudIWsJ+xd6iJuZs0/tDFIAefx2YqDFKUa+wMkQPCBqfSTPfJ4didixDyA+/AkpnzLFw==","signatures":[{"sig":"MEUCICklQyiOyelgYgEs+pW4T/f9yLmrIoJBcyg3pfb36Tr1AiEAkrq1l8YIbiYo+7Ardihu9KlvGsmG874hBN2szt01rK8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"osenv.js","_from":".","_shasum":"f4d23ebeceaef078600fb78c0ea58fac5996a02d","gitHead":"88a154d6d8ad39fefb9af2fe1b306cd12fb6d6d0","scripts":{"test":"tap test/*.js"},"_npmUser":{"name":"iarna","email":"me@re-becca.org"},"deprecated":"This package is no longer supported.","repository":{"url":"git+https://github.com/npm/osenv.git","type":"git"},"_npmVersion":"3.0.0-pre.11","description":"Look up environment settings specific to different operating systems","directories":{"test":"test"},"_nodeVersion":"2.2.1","dependencies":{"os-tmpdir":"^1.0.0"},"devDependencies":{"tap":"^1.2.0"}},"0.1.3":{"name":"osenv","version":"0.1.3","keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"url":"http://blog.izs.me/","name":"Isaac Z. Schlueter","email":"i@izs.me"},"license":"ISC","_id":"osenv@0.1.3","maintainers":[{"name":"isaacs","email":"i@izs.me"},{"name":"robertkowalski","email":"rok@kowalski.gd"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"},{"name":"iarna","email":"me@re-becca.org"}],"homepage":"https://github.com/npm/osenv#readme","bugs":{"url":"https://github.com/npm/osenv/issues"},"dist":{"shasum":"83cf05c6d6458fc4d5ac6362ea325d92f2754217","tarball":"https://registry.npmjs.org/osenv/-/osenv-0.1.3.tgz","integrity":"sha512-18fsEKxrUnXycnkcq1EE/i3tGFdhtugTycAlVM5PVazmrVTPA8XV/FCFA0482qJoR8OZa3WGzxxj3SNxJz5O7Q==","signatures":[{"sig":"MEQCICNGupcXDrArlynxC3yXoFuK03jbQoYuVGdkm9hR3tXTAiBIRRDoJlpOCKnvRD1a5+eMB+u8h9TG88hJ4Z4s1pm0wg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"osenv.js","_from":".","_shasum":"83cf05c6d6458fc4d5ac6362ea325d92f2754217","gitHead":"f746b3405d8f9e28054d11b97e1436f6a15016c4","scripts":{"test":"tap test/*.js"},"_npmUser":{"name":"isaacs","email":"isaacs@npmjs.com"},"deprecated":"This package is no longer supported.","repository":{"url":"git+https://github.com/npm/osenv.git","type":"git"},"_npmVersion":"3.0.0","description":"Look up environment settings specific to different operating systems","directories":{"test":"test"},"_nodeVersion":"2.2.1","dependencies":{"os-tmpdir":"^1.0.0","os-homedir":"^1.0.0"},"devDependencies":{"tap":"^1.2.0"}},"0.1.4":{"name":"osenv","version":"0.1.4","keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"url":"http://blog.izs.me/","name":"Isaac Z. Schlueter","email":"i@izs.me"},"license":"ISC","_id":"osenv@0.1.4","maintainers":[{"name":"isaacs","email":"i@izs.me"},{"name":"robertkowalski","email":"rok@kowalski.gd"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"},{"name":"iarna","email":"me@re-becca.org"}],"homepage":"https://github.com/npm/osenv#readme","bugs":{"url":"https://github.com/npm/osenv/issues"},"dist":{"shasum":"42fe6d5953df06c8064be6f176c3d05aaaa34644","tarball":"https://registry.npmjs.org/osenv/-/osenv-0.1.4.tgz","integrity":"sha512-W6FhbLxEWdiyX2/fCl2YBZUJOYWaCHJa+jJwUVMX0iFYJmwyd0uzKx4NxFdj3xo9C0pumQ6G/fvd1MbNhsqQbQ==","signatures":[{"sig":"MEYCIQDAB6OS+l/dSS3WKwnvAghryYbVLeY6LZj2mS+SzIjYrQIhAKXhNls/KekCTcFi/8Rt0NgfPMD7e//YH9lc7neyINyA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"osenv.js","_from":".","_shasum":"42fe6d5953df06c8064be6f176c3d05aaaa34644","gitHead":"ef718f0d20e38d45ec452b7faeefc692d3cd1062","scripts":{"test":"tap test/*.js"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"deprecated":"This package is no longer supported.","repository":{"url":"git+https://github.com/npm/osenv.git","type":"git"},"_npmVersion":"3.10.9","description":"Look up environment settings specific to different operating systems","directories":{"test":"test"},"_nodeVersion":"6.5.0","dependencies":{"os-tmpdir":"^1.0.0","os-homedir":"^1.0.0"},"devDependencies":{"tap":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/osenv-0.1.4.tgz_1481655889868_0.3980878754518926","host":"packages-18-east.internal.npmjs.com"}},"0.1.5":{"name":"osenv","version":"0.1.5","keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"url":"http://blog.izs.me/","name":"Isaac Z. Schlueter","email":"i@izs.me"},"license":"ISC","_id":"osenv@0.1.5","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"}],"homepage":"https://github.com/npm/osenv#readme","bugs":{"url":"https://github.com/npm/osenv/issues"},"dist":{"shasum":"85cdfafaeb28e8677f416e287592b5f3f49ea410","tarball":"https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz","fileCount":4,"integrity":"sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==","signatures":[{"sig":"MEYCIQDtkYsVU0z1j4qSI4Xx/lBDg7A7fGxpBbp66gapiKaB6AIhAPg+hEbsRQz2LgJgxnvqWnwpm5J7ItkaWuW1d9egH4Xf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4889},"main":"osenv.js","files":["osenv.js"],"gitHead":"1c642b8f5ddb1f99671a300a466bf42ffb9f5ea2","scripts":{"test":"tap test/*.js","preversion":"npm test","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"deprecated":"This package is no longer supported.","repository":{"url":"git+https://github.com/npm/osenv.git","type":"git"},"_npmVersion":"5.6.0-canary.11","description":"Look up environment settings specific to different operating systems","directories":{"test":"test"},"_nodeVersion":"8.9.1","dependencies":{"os-tmpdir":"^1.0.0","os-homedir":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^11.1.0"},"_npmOperationalInternal":{"tmp":"tmp/osenv_0.1.5_1518743366771_0.010286411112286009","host":"s3://npm-registry-packages"}}},"time":{"created":"2012-06-18T00:09:12.503Z","modified":"2026-04-22T19:42:37.059Z","0.0.1":"2012-06-18T00:09:13.936Z","0.0.2":"2012-06-18T00:43:30.797Z","0.0.3":"2012-06-18T00:50:55.051Z","0.1.0":"2014-05-26T17:58:12.322Z","0.1.1":"2015-05-20T07:15:31.410Z","0.1.2":"2015-06-12T01:44:07.722Z","0.1.3":"2015-06-29T22:56:01.295Z","0.1.4":"2016-12-13T19:04:51.765Z","0.1.5":"2018-02-16T01:09:26.829Z"},"bugs":{"url":"https://github.com/npm/osenv/issues"},"author":{"url":"http://blog.izs.me/","name":"Isaac Z. Schlueter","email":"i@izs.me"},"license":"ISC","homepage":"https://github.com/npm/osenv#readme","keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"repository":{"url":"git+https://github.com/npm/osenv.git","type":"git"},"description":"Look up environment settings specific to different operating systems","maintainers":[{"email":"saquibkhan@github.com","name":"saquibkhan"},{"email":"npm-cli+bot@github.com","name":"npm-cli-ops"},{"email":"reggi@github.com","name":"reggi"},{"email":"owlstronaut@github.com","name":"owlstronaut"}],"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","users":{"okmogwai":true,"wangnan0610":true,"zhenguo.zhao":true,"jian263994241":true,"scottfreecode":true,"shanewholloway":true}}