{"_id":"windows-env","_rev":"5-b57bbb0385fa0ca7a5e8f1c05a842ab4","name":"windows-env","description":"Normalized environment variables for Windows XP and up","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"windows-env","version":"1.0.0","description":"Normalized environment variables for Windows XP and up","license":"MIT","author":{"name":"Vincent Weevers","email":"mail@vincentweevers.nl"},"scripts":{"test":"tape test.js"},"dependencies":{},"devDependencies":{"tape":"~4.5.1"},"keywords":["appdata","arch","env","programfiles","userprofile","windows"],"engines":{"node":">=0.10.0","npm":">=2.0.0"},"repository":{"type":"git","url":"git+https://github.com/vweevers/windows-env.git"},"bugs":{"url":"https://github.com/vweevers/windows-env/issues"},"homepage":"https://github.com/vweevers/windows-env","gitHead":"c10c0a13691110ffd5ec80732e34cb7b2912d603","_id":"windows-env@1.0.0","_shasum":"c1aba165c9457e4243663e92aaf1949c7841f82f","_from":".","_npmVersion":"2.14.16","_nodeVersion":"4.2.5","_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"maintainers":[{"name":"vweevers","email":"dev@vincentweevers.nl"}],"dist":{"shasum":"c1aba165c9457e4243663e92aaf1949c7841f82f","tarball":"https://registry.npmjs.org/windows-env/-/windows-env-1.0.0.tgz","integrity":"sha512-XSJLxEvnXEyWsBh5pxF8Z9FBUFlDdcZRGT1DDuveCCJxoRj1ADpdZIAJ6G/LGwDZwEGmkkMHZYBJY4Um1q7Tug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIOhWnshoYCvd6K4PGkSoml/M2mpNi9GX5T7oaX2RTMAiAnKuc5yxapy6IOtYqbeiYpdkImP8CSCz+c0H/Y/uPMLQ=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/windows-env-1.0.0.tgz_1457791071340_0.23172046802937984"}},"1.0.1":{"name":"windows-env","version":"1.0.1","description":"Normalized environment variables for Windows XP and up","license":"MIT","author":{"name":"Vincent Weevers","email":"mail@vincentweevers.nl"},"scripts":{"test":"tape test.js"},"dependencies":{},"devDependencies":{"tape":"~4.5.1"},"keywords":["appdata","arch","env","programfiles","userprofile","windows"],"engines":{"node":">=0.10.0","npm":">=2.0.0"},"repository":{"type":"git","url":"git+https://github.com/vweevers/windows-env.git"},"bugs":{"url":"https://github.com/vweevers/windows-env/issues"},"homepage":"https://github.com/vweevers/windows-env","gitHead":"79f3d77948dcb9cf4967506f90d5f665af19eba8","_id":"windows-env@1.0.1","_shasum":"a91d8a6c7c835531a66562273639e215781dadd3","_from":".","_npmVersion":"2.14.16","_nodeVersion":"4.2.5","_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"maintainers":[{"name":"vweevers","email":"dev@vincentweevers.nl"}],"dist":{"shasum":"a91d8a6c7c835531a66562273639e215781dadd3","tarball":"https://registry.npmjs.org/windows-env/-/windows-env-1.0.1.tgz","integrity":"sha512-V/q67IwjU9sirWPLqZR0xAjtbfCUOAE8NtfOGII0s/iQSjKE7/BLp2Lg0KRA10glxS8aqzOLmuI3wbEOuU2uZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBUyFrNcDnkclWher9iFyfpxDrxtg67Z+xMxlaMhzNsjAiEAjcczOdpsqrZk0nVcZLmsU02qOzxhK7IX6C7Q1HJ6MLQ="}]},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/windows-env-1.0.1.tgz_1457800700395_0.13128688768483698"}}},"readme":"# windows-env\r\n\r\n**Normalized environment variables for Windows XP and up.**\r\n\r\n[![npm status](http://img.shields.io/npm/v/windows-env.svg?style=flat-square)](https://www.npmjs.org/package/windows-env) [![Build status](https://img.shields.io/appveyor/ci/vweevers/windows-env.svg?style=flat-square)](https://ci.appveyor.com/project/vweevers/windows-env) [![Dependency status](https://img.shields.io/david/vweevers/windows-env.svg?style=flat-square)](https://david-dm.org/vweevers/windows-env)\r\n\r\n## example\r\n\r\n```js\r\nconst env = require('windows-env')\r\n\r\nconsole.log('32-bit Program Files: %s', env.PROGRAMFILES_X86)\r\n\r\n// This is true even if you run it with 32-bit Node.js\r\nif (env.X64) {\r\n  console.log('64-bit Program Files: %s', env.PROGRAMFILES_X64)\r\n}\r\n```\r\n\r\n## exports\r\n\r\nAll of `process.env` uppercased, and:\r\n\r\n- `PROGRAMFILES_X86`: `C:\\Program Files (x86)` on 64 bit Windows, else `C:\\Program Files`\r\n- `PROGRAMFILES_X64`: `C:\\Program Files` on 64 bit Windows, else undefined\r\n- `USERPROFILE`: `USERPROFILE` or `HOMEDRIVE` + `HOMEPATH`\r\n- `LOCALAPPDATA`: this is usually `USERPROFILE\\AppData\\Local`, falls back to `USERPROFILE\\Local Settings\\Application Data` for Windows XP\r\n- `X64`: true on 64 bit Windows, regardless of node's bitness\r\n\r\n## install\r\n\r\nWith [npm](https://npmjs.org) do:\r\n\r\n```\r\nnpm install windows-env\r\n```\r\n\r\n## license\r\n\r\n[MIT](http://opensource.org/licenses/MIT) © Vincent Weevers\r\n","maintainers":[{"name":"vweevers","email":"dev@vincentweevers.nl"}],"time":{"modified":"2022-06-29T02:08:21.689Z","created":"2016-03-12T13:57:53.551Z","1.0.0":"2016-03-12T13:57:53.551Z","1.0.1":"2016-03-12T16:38:22.807Z"},"homepage":"https://github.com/vweevers/windows-env","keywords":["appdata","arch","env","programfiles","userprofile","windows"],"repository":{"type":"git","url":"git+https://github.com/vweevers/windows-env.git"},"author":{"name":"Vincent Weevers","email":"mail@vincentweevers.nl"},"bugs":{"url":"https://github.com/vweevers/windows-env/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"mgedzius":true}}