%PDF- %PDF-
Direktori : /home/waritko/.npm/registry.npmjs.org/osenv/ |
Current File : //home/waritko/.npm/registry.npmjs.org/osenv/.cache.json |
{"_id":"osenv","_rev":"14-0fd6afad254929fe55117ca33cf7c970","name":"osenv","description":"Look up environment settings specific to different operating systems","dist-tags":{"latest":"0.1.0"},"versions":{"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","tarball":"http://registry.npmjs.org/osenv/-/osenv-0.0.1.tgz"},"maintainers":[{"name":"isaacs","email":"i@izs.me"}]},"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","tarball":"http://registry.npmjs.org/osenv/-/osenv-0.0.2.tgz"},"maintainers":[{"name":"isaacs","email":"i@izs.me"}]},"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","tarball":"http://registry.npmjs.org/osenv/-/osenv-0.0.3.tgz"},"maintainers":[{"name":"isaacs","email":"i@izs.me"}]},"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":"isaacs","email":"i@izs.me"},{"name":"robertkowalski","email":"rok@kowalski.gd"}],"dist":{"shasum":"61668121eec584955030b9f470b1d2309504bfcb","tarball":"http://registry.npmjs.org/osenv/-/osenv-0.1.0.tgz"}}},"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","maintainers":[{"name":"isaacs","email":"i@izs.me"},{"name":"robertkowalski","email":"rok@kowalski.gd"}],"time":{"modified":"2014-05-26T17:58:12.322Z","created":"2012-06-18T00:09:12.503Z","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"},"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"repository":{"type":"git","url":"git://github.com/isaacs/osenv"},"users":{"wangnan0610":true},"keywords":["environment","variable","home","tmpdir","path","prompt","ps1"],"license":"BSD","readmeFilename":"README.md","homepage":"https://github.com/isaacs/osenv","bugs":{"url":"https://github.com/isaacs/osenv/issues"},"_attachments":{},"_etag":"\"7PB8CBTYK1R12RK1CIQ5PYNL0\""}