{"_id":"@esm2cjs/path-key","name":"@esm2cjs/path-key","dist-tags":{"latest":"4.0.0"},"versions":{"4.0.0":{"name":"@esm2cjs/path-key","version":"4.0.0","description":"Get the PATH environment variable key cross-platform. This is a fork of sindresorhus/path-key, but with CommonJS support.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/esm2cjs/path-key.git"},"funding":"https://github.com/sponsors/AlCalzone","author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"exports":{".":{"import":"./esm/index.js","require":"./cjs/index.js"},"./package.json":"./package.json"},"engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["path","key","environment","env","variable","get","cross-platform","windows"],"devDependencies":{"@types/node":"^14.14.37","ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"publishConfig":{"access":"public"},"main":"cjs/index.js","module":"esm/index.js","types":"esm/index.d.ts","typesVersions":{"*":{"esm/index.d.ts":["esm/index.d.ts"],"cjs/index.d.ts":["esm/index.d.ts"],"*":["esm/*"]}},"xo":{"ignores":["cjs","**/*.test-d.ts"]},"gitHead":"bbfab0d79b84248690158a2bfdb647a9a2a30290","bugs":{"url":"https://github.com/esm2cjs/path-key/issues"},"homepage":"https://github.com/esm2cjs/path-key#readme","_id":"@esm2cjs/path-key@4.0.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-fKzZ3uIIP4j+7WfyG0MEkomGHL0hUXWCx1kY2Zct3GTdl4pyY+3k5lCUxjgdDa2Ld1BCjMNorXnRHiBP6jW6CQ==","shasum":"4c406fe897f9bb880d8619751ce72395867eb9e2","tarball":"https://registry.npmjs.org/@esm2cjs/path-key/-/path-key-4.0.0.tgz","fileCount":10,"unpackedSize":6521,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGyInz89ZHoKL9PmrV5YBCE15FljTfZ1yc9zAw4hEPb8AiAXdO4p1hdIPUPDCmx/LJ9kc5KsimFoOxZn/6MBqEyYjA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/jV4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmre8A//UEvM8S2B+ZG3MKdwAPmu26d1ncm/RV3pxRugIzs3IADI9PV/\r\npB8/nO9bP4vElv1amhDXoS4XN7J+/xLJQD/8TAI0ug7SlX3LJJip4c3wdFIb\r\npj/8mur/OsDcun5D1k5wpuxbXzdZrVvRksdVvavr7vwvPDGu9cRjVbyivZbk\r\nImXND7IXs2tLazDwA4Mg6XtZ2Zoq2vFMedFKUfIxGO7PvSl1GvIJbsEM9TNX\r\nKj64lEkFHagmhmTAN1XLW0PcPYsfsEPoXkz9Rj7q9s4ozkTpjUoW9dN3ypyl\r\nho1yg6SVPLYwEVeNnZi9r9uywkenEgf8XucRSddWJCvJ1GtomwjREN11CqGb\r\nOLic5BvZ2Ww06iR/RJelUTC8KGyzSRrxc5iwG6FfEs7WXK0+3hgEkK3Zz+NO\r\nQnZFFdvVwOk/1vvIIXtoNt6eUxidrOIycWd6xp7mGXKkTcO9sYMMPlWHCsXP\r\n3Bv7ULO2zzzjSCpCBv6iIVmbp/fRpcQAY7f7d0VcbbUqM3y1TYcYdpULSazh\r\nTEOUbdzxyKTcijzCLWzAIVz0uJpNqoZlGvytx8ReTcv3YNQ4NovLGHkRjm3t\r\ntSuguNquK0fwa0hoX/IInRI/71v1H3TcTI1L2RQnp0oAGmGRLUKIg3Wa/NxG\r\nnyIUqogBu0mG3gJXdgABuJtnMSuSL5fNMbw=\r\n=glho\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alcalzone","email":"d.griesel@gmx.net"},"directories":{},"maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/path-key_4.0.0_1660827000046_0.9168928417950828"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-18T12:49:59.844Z","4.0.0":"2022-08-18T12:50:00.196Z","modified":"2022-08-18T12:50:00.383Z"},"maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"description":"Get the PATH environment variable key cross-platform. This is a fork of sindresorhus/path-key, but with CommonJS support.","homepage":"https://github.com/esm2cjs/path-key#readme","keywords":["path","key","environment","env","variable","get","cross-platform","windows"],"repository":{"type":"git","url":"git+https://github.com/esm2cjs/path-key.git"},"author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"bugs":{"url":"https://github.com/esm2cjs/path-key/issues"},"license":"MIT","readme":"# @esm2cjs/path-key\n\nThis is a fork of https://github.com/sindresorhus/path-key, but automatically patched to support ESM **and** CommonJS, unlike the original repository.\n\n## Install\n\nUse an npm alias to install this package under the original name:\n\n```\nnpm i path-key@npm:@esm2cjs/path-key\n```\n\n```jsonc\n// package.json\n\"dependencies\": {\n    \"path-key\": \"npm:@esm2cjs/path-key\"\n}\n```\n\n## Usage\n\n```js\n// Using ESM import syntax\nimport pathKey from \"path-key\";\n\n// Using CommonJS require()\nconst pathKey = require(\"path-key\").default;\n```\n\n> **Note:**\n> Because the original module uses `export default`, you need to append `.default` to the `require()` call.\n\nFor more details, please see the original [repository](https://github.com/sindresorhus/path-key).\n\n## Sponsoring\n\nTo support my efforts in maintaining the ESM/CommonJS hybrid, please sponsor [here](https://github.com/sponsors/AlCalzone).\n\nTo support the original author of the module, please sponsor [here](https://github.com/sindresorhus/path-key).\n","readmeFilename":"readme.md"}