{"_id":"osenv","_rev":"1992","name":"osenv","description":"Look up environment settings specific to different operating systems","dist-tags":{"latest":"0.1.5"},"maintainers":[{"name":"fritzy","email":""},{"name":"gar","email":""},{"name":"lukekarrys","email":""},{"name":"nlf","email":""},{"name":"npm-cli-ops","email":""},{"name":"saquibkhan","email":""}],"time":{"modified":"2022-10-18T09:43:36.000Z","created":"2012-06-18T00:09:13.936Z","0.1.5":"2018-02-16T01:09:26.829Z","0.1.4":"2016-12-13T19:04:51.765Z","0.1.3":"2015-06-29T22:56:01.295Z","0.1.2":"2015-06-12T01:44:07.722Z","0.1.1":"2015-05-20T07:15:31.410Z","0.1.0":"2014-05-26T17:58:12.322Z","0.0.3":"2012-06-18T00:50:55.051Z","0.0.2":"2012-06-18T00:43:30.797Z","0.0.1":"2012-06-18T00:09:13.936Z"},"users":{},"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"repository":{"type":"git","url":"git+https://github.com/npm/osenv.git"},"versions":{"0.1.5":{"name":"osenv","version":"0.1.5","main":"osenv.js","directories":{"test":"test"},"dependencies":{"os-homedir":"^1.0.0","os-tmpdir":"^1.0.0"},"devDependencies":{"tap":"^11.1.0"},"scripts":{"test":"tap test/*.js","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --all; git push origin --tags"},"repository":{"type":"git","url":"git+https://github.com/npm/osenv.git"},"keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"license":"ISC","description":"Look up environment settings specific to different operating systems","files":["osenv.js"],"gitHead":"1c642b8f5ddb1f99671a300a466bf42ffb9f5ea2","bugs":{"url":"https://github.com/npm/osenv/issues"},"homepage":"https://github.com/npm/osenv#readme","_id":"osenv@0.1.5","_npmVersion":"5.6.0-canary.11","_nodeVersion":"8.9.1","_npmUser":{"name":"isaacs","email":"i@izs.me"},"dist":{"shasum":"85cdfafaeb28e8677f416e287592b5f3f49ea410","size":2299,"noattachment":false,"key":"/osenv/-/osenv-0.1.5.tgz","tarball":"http://name.csiicloud.com:7001/osenv/download/osenv-0.1.5.tgz"},"maintainers":[{"name":"fritzy","email":""},{"name":"gar","email":""},{"name":"lukekarrys","email":""},{"name":"nlf","email":""},{"name":"npm-cli-ops","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/osenv_0.1.5_1518743366771_0.010286411112286009"},"_hasShrinkwrap":false,"publish_time":1518743366829,"_cnpm_publish_time":1518743366829},"0.1.4":{"name":"osenv","version":"0.1.4","main":"osenv.js","directories":{"test":"test"},"dependencies":{"os-homedir":"^1.0.0","os-tmpdir":"^1.0.0"},"devDependencies":{"tap":"^8.0.1"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git+https://github.com/npm/osenv.git"},"keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"license":"ISC","description":"Look up environment settings specific to different operating systems","gitHead":"ef718f0d20e38d45ec452b7faeefc692d3cd1062","bugs":{"url":"https://github.com/npm/osenv/issues"},"homepage":"https://github.com/npm/osenv#readme","_id":"osenv@0.1.4","_shasum":"42fe6d5953df06c8064be6f176c3d05aaaa34644","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.5.0","_npmUser":{"name":"isaacs","email":"i@izs.me"},"dist":{"shasum":"42fe6d5953df06c8064be6f176c3d05aaaa34644","size":3641,"noattachment":false,"key":"/osenv/-/osenv-0.1.4.tgz","tarball":"http://name.csiicloud.com:7001/osenv/download/osenv-0.1.4.tgz"},"maintainers":[{"name":"fritzy","email":""},{"name":"gar","email":""},{"name":"lukekarrys","email":""},{"name":"nlf","email":""},{"name":"npm-cli-ops","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/osenv-0.1.4.tgz_1481655889868_0.3980878754518926"},"publish_time":1481655891765,"_cnpm_publish_time":1481655891765,"_hasShrinkwrap":false},"0.1.3":{"name":"osenv","version":"0.1.3","main":"osenv.js","directories":{"test":"test"},"dependencies":{"os-homedir":"^1.0.0","os-tmpdir":"^1.0.0"},"devDependencies":{"tap":"^1.2.0"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git+https://github.com/npm/osenv.git"},"keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"license":"ISC","description":"Look up environment settings specific to different operating systems","gitHead":"f746b3405d8f9e28054d11b97e1436f6a15016c4","bugs":{"url":"https://github.com/npm/osenv/issues"},"homepage":"https://github.com/npm/osenv#readme","_id":"osenv@0.1.3","_shasum":"83cf05c6d6458fc4d5ac6362ea325d92f2754217","_from":".","_npmVersion":"3.0.0","_nodeVersion":"2.2.1","_npmUser":{"name":"isaacs","email":"isaacs@npmjs.com"},"dist":{"shasum":"83cf05c6d6458fc4d5ac6362ea325d92f2754217","size":3618,"noattachment":false,"key":"/osenv/-/osenv-0.1.3.tgz","tarball":"http://name.csiicloud.com:7001/osenv/download/osenv-0.1.3.tgz"},"maintainers":[{"name":"fritzy","email":""},{"name":"gar","email":""},{"name":"lukekarrys","email":""},{"name":"nlf","email":""},{"name":"npm-cli-ops","email":""},{"name":"saquibkhan","email":""}],"publish_time":1435618561295,"_cnpm_publish_time":1435618561295,"_hasShrinkwrap":false},"0.1.2":{"name":"osenv","version":"0.1.2","main":"osenv.js","directories":{"test":"test"},"dependencies":{"os-tmpdir":"^1.0.0"},"devDependencies":{"tap":"^1.2.0"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git+https://github.com/npm/osenv.git"},"keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"license":"ISC","description":"Look up environment settings specific to different operating systems","gitHead":"88a154d6d8ad39fefb9af2fe1b306cd12fb6d6d0","bugs":{"url":"https://github.com/npm/osenv/issues"},"homepage":"https://github.com/npm/osenv#readme","_id":"osenv@0.1.2","_shasum":"f4d23ebeceaef078600fb78c0ea58fac5996a02d","_from":".","_npmVersion":"3.0.0-pre.11","_nodeVersion":"2.2.1","_npmUser":{"name":"iarna","email":"me@re-becca.org"},"dist":{"shasum":"f4d23ebeceaef078600fb78c0ea58fac5996a02d","size":3351,"noattachment":false,"key":"/osenv/-/osenv-0.1.2.tgz","tarball":"http://name.csiicloud.com:7001/osenv/download/osenv-0.1.2.tgz"},"maintainers":[{"name":"fritzy","email":""},{"name":"gar","email":""},{"name":"lukekarrys","email":""},{"name":"nlf","email":""},{"name":"npm-cli-ops","email":""},{"name":"saquibkhan","email":""}],"publish_time":1434073447722,"_cnpm_publish_time":1434073447722,"_hasShrinkwrap":false},"0.1.1":{"name":"osenv","version":"0.1.1","main":"osenv.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"tap":"~0.4.9"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git+https://github.com/npm/osenv.git"},"keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"license":"ISC","description":"Look up environment settings specific to different operating systems","gitHead":"769ada6737026254372e3013b702c450a9b781e9","bugs":{"url":"https://github.com/npm/osenv/issues"},"homepage":"https://github.com/npm/osenv#readme","_id":"osenv@0.1.1","_shasum":"ddc7c4bb86c64a3022e95f030ee028e9a5996c07","_from":".","_npmVersion":"2.10.0","_nodeVersion":"2.0.1","_npmUser":{"name":"isaacs","email":"isaacs@npmjs.com"},"dist":{"shasum":"ddc7c4bb86c64a3022e95f030ee028e9a5996c07","size":3234,"noattachment":false,"key":"/osenv/-/osenv-0.1.1.tgz","tarball":"http://name.csiicloud.com:7001/osenv/download/osenv-0.1.1.tgz"},"maintainers":[{"name":"fritzy","email":""},{"name":"gar","email":""},{"name":"lukekarrys","email":""},{"name":"nlf","email":""},{"name":"npm-cli-ops","email":""},{"name":"saquibkhan","email":""}],"publish_time":1432106131410,"_cnpm_publish_time":1432106131410,"_hasShrinkwrap":false},"0.1.0":{"name":"osenv","version":"0.1.0","main":"osenv.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"tap":"~0.4.9"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/isaacs/osenv"},"keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"license":"BSD","description":"Look up environment settings specific to different operating systems","bugs":{"url":"https://github.com/isaacs/osenv/issues"},"homepage":"https://github.com/isaacs/osenv","_id":"osenv@0.1.0","_shasum":"61668121eec584955030b9f470b1d2309504bfcb","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"robertkowalski","email":"rok@kowalski.gd"},"maintainers":[{"name":"fritzy","email":""},{"name":"gar","email":""},{"name":"lukekarrys","email":""},{"name":"nlf","email":""},{"name":"npm-cli-ops","email":""},{"name":"saquibkhan","email":""}],"dist":{"shasum":"61668121eec584955030b9f470b1d2309504bfcb","size":3474,"noattachment":false,"key":"/osenv/-/osenv-0.1.0.tgz","tarball":"http://name.csiicloud.com:7001/osenv/download/osenv-0.1.0.tgz"},"publish_time":1401127092322,"_cnpm_publish_time":1401127092322,"_hasShrinkwrap":false},"0.0.3":{"name":"osenv","version":"0.0.3","main":"osenv.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"tap":"~0.2.5"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/isaacs/osenv"},"keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"license":"BSD","description":"Look up environment settings specific to different operating systems","_id":"osenv@0.0.3","dist":{"shasum":"cd6ad8ddb290915ad9e22765576025d411f29cb6","size":3477,"noattachment":false,"key":"/osenv/-/osenv-0.0.3.tgz","tarball":"http://name.csiicloud.com:7001/osenv/download/osenv-0.0.3.tgz"},"maintainers":[{"name":"fritzy","email":""},{"name":"gar","email":""},{"name":"lukekarrys","email":""},{"name":"nlf","email":""},{"name":"npm-cli-ops","email":""},{"name":"saquibkhan","email":""}],"publish_time":1339980655051,"_hasShrinkwrap":false,"_cnpm_publish_time":1339980655051},"0.0.2":{"name":"osenv","version":"0.0.2","main":"osenv.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"tap":"~0.2.5"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/isaacs/osenv"},"keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"license":"BSD","description":"Look up environment settings specific to different operating systems","_id":"osenv@0.0.2","dist":{"shasum":"1af1612efd71e1e3d1a72e17a33b869f95f58abe","size":3346,"noattachment":false,"key":"/osenv/-/osenv-0.0.2.tgz","tarball":"http://name.csiicloud.com:7001/osenv/download/osenv-0.0.2.tgz"},"maintainers":[{"name":"fritzy","email":""},{"name":"gar","email":""},{"name":"lukekarrys","email":""},{"name":"nlf","email":""},{"name":"npm-cli-ops","email":""},{"name":"saquibkhan","email":""}],"publish_time":1339980210797,"_hasShrinkwrap":false,"_cnpm_publish_time":1339980210797},"0.0.1":{"name":"osenv","version":"0.0.1","main":"osenv.js","directories":{"test":"test"},"dependencies":{},"devDependencies":{"tap":"~0.2.5"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/isaacs/osenv"},"keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"license":"BSD","description":"Look up environment settings specific to different operating systems","_id":"osenv@0.0.1","dist":{"shasum":"cf33b1fb1b34778cc88d440890e95027b841fad5","size":3204,"noattachment":false,"key":"/osenv/-/osenv-0.0.1.tgz","tarball":"http://name.csiicloud.com:7001/osenv/download/osenv-0.0.1.tgz"},"maintainers":[{"name":"fritzy","email":""},{"name":"gar","email":""},{"name":"lukekarrys","email":""},{"name":"nlf","email":""},{"name":"npm-cli-ops","email":""},{"name":"saquibkhan","email":""}],"publish_time":1339978153936,"_hasShrinkwrap":false,"_cnpm_publish_time":1339978153936}},"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","_attachments":{},"homepage":"https://github.com/npm/osenv#readme","bugs":{"url":"https://github.com/npm/osenv/issues"},"license":"ISC"}