{"_id":"postcss-env-function","_rev":"3182637","name":"postcss-env-function","description":"Use env() variables in CSS","dist-tags":{"latest":"6.0.0"},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"time":{"modified":"2023-12-06T08:45:28.000Z","created":"2018-04-28T19:04:52.647Z","6.0.0":"2023-07-03T08:12:17.030Z","5.0.1":"2023-01-28T07:37:35.484Z","5.0.0":"2023-01-24T09:02:56.575Z","4.0.6":"2022-03-19T18:11:53.408Z","4.0.5":"2022-02-05T17:05:13.464Z","4.0.4":"2022-01-02T15:39:51.880Z","4.0.3":"2021-12-13T09:31:38.378Z","4.0.2":"2021-11-18T17:18:59.550Z","4.0.1":"2021-10-29T12:03:37.811Z","4.0.0":"2021-09-17T13:38:51.804Z","3.0.0":"2020-04-26T12:43:53.999Z","2.0.2":"2018-09-20T20:16:54.767Z","2.0.1":"2018-09-18T16:05:36.384Z","2.0.0":"2018-09-18T03:35:44.626Z","1.0.0":"2018-04-28T19:04:52.647Z"},"users":{},"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-env-function"},"versions":{"6.0.0":{"name":"postcss-env-function","description":"Use env() variables in CSS","version":"6.0.0","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"MIT-0","funding":[{"type":"github","url":"https://github.com/sponsors/csstools"},{"type":"opencollective","url":"https://opencollective.com/csstools"}],"engines":{"node":"^14 || ^16 || >=18"},"main":"dist/index.cjs","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"}},"dependencies":{"postcss-value-parser":"^4.2.0"},"peerDependencies":{"postcss":"^8.4"},"devDependencies":{"@csstools/postcss-tape":"*"},"scripts":{"build":"rollup -c ../../rollup/default.mjs","docs":"node ../../.github/bin/generate-docs/install.mjs","lint":"node ../../.github/bin/format-package-json.mjs","prepublishOnly":"npm run build && npm run test","test":"node .tape.cjs && node ./test/_import.mjs && node ./test/_require.cjs","test:rewrite-expects":"REWRITE_EXPECTS=true node .tape.cjs"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-env-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-env-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["constants","css","environments","envs","functions","postcss","postcss-plugin","variables"],"csstools":{"exportName":"postcssEnvFunction","humanReadableName":"PostCSS Environment Variables"},"volta":{"extends":"../../package.json"},"gitHead":"1299ee53c6b535e3ab760559c747f802bc100bd3","_id":"postcss-env-function@6.0.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"shasum":"4f112714dd65ac39513f63dc3947d6a82b552576","size":4938,"noattachment":false,"key":"/postcss-env-function/-/postcss-env-function-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-env-function/download/postcss-env-function-6.0.0.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-env-function_6.0.0_1688371936869_0.3248980291313175"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-03T08:12:17.030Z","publish_time":1688371937030,"_source_registry_name":"default","_cnpm_publish_time":1688371937030},"5.0.1":{"name":"postcss-env-function","description":"Use env() variables in CSS","version":"5.0.1","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","funding":{"type":"opencollective","url":"https://opencollective.com/csstools"},"engines":{"node":"^14 || ^16 || >=18"},"main":"dist/index.cjs","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"}},"dependencies":{"postcss-value-parser":"^4.2.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{"prebuild":"npm run clean","build":"rollup -c ../../rollup/default.mjs","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true }); fs.mkdirSync('./dist');\"","docs":"node ../../.github/bin/generate-docs/install.mjs","lint":"npm run lint:eslint && npm run lint:package-json","lint:eslint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","lint:package-json":"node ../../.github/bin/format-package-json.mjs","prepublishOnly":"npm run clean && npm run build && npm run test","test":"node .tape.cjs && npm run test:exports","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs","test:rewrite-expects":"REWRITE_EXPECTS=true node .tape.cjs"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-env-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-env-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["constants","css","environments","envs","functions","postcss","postcss-plugin","variables"],"csstools":{"exportName":"postcssEnvFunction","humanReadableName":"PostCSS Environment Variables"},"volta":{"extends":"../../package.json"},"gitHead":"5bdd286be6fff886fb2f00a478f92750022eb49c","_id":"postcss-env-function@5.0.1","_nodeVersion":"18.8.0","_npmVersion":"8.18.0","dist":{"shasum":"29bad355f29c1e71e0f68214c895b317e0c6b665","size":6934,"noattachment":false,"key":"/postcss-env-function/-/postcss-env-function-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-env-function/download/postcss-env-function-5.0.1.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-env-function_5.0.1_1674891455259_0.23373256901996253"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-28T07:37:35.484Z","publish_time":1674891455484,"_cnpm_publish_time":1674891455484},"5.0.0":{"name":"postcss-env-function","description":"Use env() variables in CSS","version":"5.0.0","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","funding":{"type":"opencollective","url":"https://opencollective.com/csstools"},"engines":{"node":"^14 || ^16 || >=18"},"main":"dist/index.cjs","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"}},"dependencies":{"postcss-value-parser":"^4.2.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{"prebuild":"npm run clean","build":"rollup -c ../../rollup/default.mjs","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true }); fs.mkdirSync('./dist');\"","docs":"node ../../.github/bin/generate-docs/install.mjs","lint":"npm run lint:eslint && npm run lint:package-json","lint:eslint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","lint:package-json":"node ../../.github/bin/format-package-json.mjs","prepublishOnly":"npm run clean && npm run build && npm run test","test":"node .tape.cjs && npm run test:exports","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs","test:rewrite-expects":"REWRITE_EXPECTS=true node .tape.cjs"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-env-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-env-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["constants","css","environments","envs","functions","postcss","postcss-plugin","variables"],"csstools":{"exportName":"postcssEnvFunction","humanReadableName":"PostCSS Environment Variables"},"volta":{"extends":"../../package.json"},"gitHead":"20105629f1a5b89b01fd0fc815994dc6c2bffcc8","_id":"postcss-env-function@5.0.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"shasum":"d8fd5bbfcc58b10e06f988966ba18a41a2da606c","size":6912,"noattachment":false,"key":"/postcss-env-function/-/postcss-env-function-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-env-function/download/postcss-env-function-5.0.0.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-env-function_5.0.0_1674550976405_0.4812652250563818"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-24T09:02:56.575Z","publish_time":1674550976575,"_cnpm_publish_time":1674550976575},"4.0.6":{"name":"postcss-env-function","description":"Use env() variables in CSS","version":"4.0.6","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","engines":{"node":"^12 || ^14 || >=16"},"main":"dist/index.cjs","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"}},"dependencies":{"postcss-value-parser":"^4.2.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{"build":"rollup -c ../../rollup/default.js","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"","docs":"node ../../.github/bin/generate-docs/install.mjs","lint":"npm run lint:eslint && npm run lint:package-json","lint:eslint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","lint:package-json":"node ../../.github/bin/format-package-json.mjs","prepublishOnly":"npm run clean && npm run build && npm run test","test":"node .tape.cjs && npm run test:exports","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs","test:rewrite-expects":"REWRITE_EXPECTS=true node .tape.cjs"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-env-function#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-env-function"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["constants","css","environments","envs","functions","postcss","postcss-plugin","variables"],"csstools":{"exportName":"postcssEnvFunction","humanReadableName":"PostCSS Environment Variables"},"volta":{"extends":"../../package.json"},"gitHead":"99a732a41a7c83b6ac5da44aa96b85881f598431","_id":"postcss-env-function@4.0.6","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"shasum":"7b2d24c812f540ed6eda4c81f6090416722a8e7a","size":6901,"noattachment":false,"key":"/postcss-env-function/-/postcss-env-function-4.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-env-function/download/postcss-env-function-4.0.6.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-env-function_4.0.6_1647713513215_0.7557344337139731"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-19T18:11:56.402Z","publish_time":1647713513408,"_cnpm_publish_time":1647713513408},"4.0.5":{"name":"postcss-env-function","version":"4.0.5","description":"Use env() variables in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-env-function#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"main":"dist/index.cjs","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"}},"scripts":{"build":"rollup -c ../../rollup/default.js","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"","lint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","prepublishOnly":"npm run clean && npm run build && npm run test","stryker":"stryker run --logLevel error","test":"postcss-tape --ci && npm run test:exports","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs"},"engines":{"node":"^12 || ^14 || >=16"},"dependencies":{"postcss-value-parser":"^4.2.0"},"devDependencies":{"postcss":"^8.3.6","postcss-tape":"^6.0.1"},"peerDependencies":{"postcss":"^8.4"},"keywords":["postcss","css","postcss-plugin","environments","variables","envs","constants","functions"],"repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-env-function"},"volta":{"extends":"../../package.json"},"gitHead":"7198f33593837f809c500dfb390fd3acc1a6c0b9","_id":"postcss-env-function@4.0.5","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"shasum":"b9614d50abd91e4c88a114644a9766880dabe393","size":6504,"noattachment":false,"key":"/postcss-env-function/-/postcss-env-function-4.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-env-function/download/postcss-env-function-4.0.5.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-env-function_4.0.5_1644080713309_0.08122678555253904"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-05T17:05:22.822Z","publish_time":1644080713464,"_cnpm_publish_time":1644080713464},"4.0.4":{"name":"postcss-env-function","version":"4.0.4","description":"Use env() variables in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-env-function#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"main":"dist/index.cjs","module":"dist/index.mjs","scripts":{"build":"rollup -c ../../rollup/default.js","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"","lint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","prepublishOnly":"npm run clean && npm run build && npm run test","stryker":"stryker run --logLevel error","test":"postcss-tape --ci && npm run test:exports","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs"},"engines":{"node":"^12 || ^14 || >=16"},"dependencies":{"postcss-value-parser":"^4.2.0"},"devDependencies":{"postcss":"^8.3.6","postcss-tape":"^6.0.1"},"peerDependencies":{"postcss":"^8.3"},"keywords":["postcss","css","postcss-plugin","environments","variables","envs","constants","functions"],"repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-env-function"},"volta":{"extends":"../../package.json"},"gitHead":"e5e27f6e260cae5bc04db4ddf02bca0aa31041dd","_id":"postcss-env-function@4.0.4","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"shasum":"4e85359ca4fcdde4ec4b73752a41de818dbe91cc","size":6402,"noattachment":false,"key":"/postcss-env-function/-/postcss-env-function-4.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-env-function/download/postcss-env-function-4.0.4.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-env-function_4.0.4_1641137991710_0.06888475919647186"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-02T15:40:06.857Z","publish_time":1641137991880,"_cnpm_publish_time":1641137991880},"4.0.3":{"name":"postcss-env-function","version":"4.0.3","description":"Use env() variables in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-env-function#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"main":"dist/index.cjs","module":"dist/index.mjs","bin":{"postcss-env-function":"dist/cli.mjs"},"scripts":{"build":"rollup -c ../../rollup/default.js","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"","lint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","prepublishOnly":"npm run clean && npm run build && npm run test","stryker":"stryker run --logLevel error","test":"postcss-tape --ci"},"engines":{"node":"^12 || ^14 || >=16"},"dependencies":{"postcss-value-parser":"^4.2.0"},"devDependencies":{"postcss":"^8.3.6","postcss-tape":"^6.0.1"},"peerDependencies":{"postcss":"^8.3"},"keywords":["postcss","css","postcss-plugin","environments","variables","envs","constants","functions"],"repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-env-function"},"gitHead":"be5dee87cb5305238fa30397b7a8e3abadf217a5","_id":"postcss-env-function@4.0.3","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"cd56e3898d87b69c35d9b44b1df050a59757b803","size":36571,"noattachment":false,"key":"/postcss-env-function/-/postcss-env-function-4.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-env-function/download/postcss-env-function-4.0.3.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-env-function_4.0.3_1639387898219_0.057226430582479004"},"_hasShrinkwrap":false,"publish_time":1639387898378,"_cnpm_publish_time":1639387898378},"4.0.2":{"name":"postcss-env-function","version":"4.0.2","description":"Use env() variables in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-env-function.git"},"homepage":"https://github.com/csstools/postcss-env-function#readme","bugs":{"url":"https://github.com/csstools/postcss-env-function/issues"},"main":"dist/index.cjs","module":"dist/index.mjs","scripts":{"build":"npx rollup -c .rollup.js","build:watch":"npx rollup -c .rollup.js --watch","lint":"npx eslint --cache src","lint:fix":"npx eslint --cache --fix","pretest":"npm run build","test":"npm run lint && npm run tape","tape":"postcss-tape","prepublishOnly":"npm test"},"engines":{"node":">=12"},"dependencies":{"postcss-values-parser":"6.0.1"},"peerDependencies":{"postcss":"^8.3"},"devDependencies":{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@rollup/plugin-babel":"^5.3.0","eslint":"^8.1.0","postcss":"^8.3.6","postcss-tape":"^6.0.1","pre-commit":"^1.2.2","rollup":"^2.58.3"},"babel":{"presets":[["@babel/env",{"targets":"maintained node versions"}]]},"eslintConfig":{"env":{"es6":true},"extends":"eslint:recommended","parserOptions":{"ecmaVersion":12,"sourceType":"module","ecmaFeatures":{"modules":true}},"rules":{"semi":["error","never"]}},"rollup":{"input":"src/index.js","plugins":["@rollup/plugin-babel"],"output":[{"exports":"default","file":"dist/index.cjs","format":"cjs"},{"file":"dist/index.mjs","format":"esm"}]},"keywords":["postcss","css","postcss-plugin","environments","variables","envs","constants","functions"],"gitHead":"751f50d26c1a9ec74ebf3fd111ffc6974d6cb734","_id":"postcss-env-function@4.0.2","_nodeVersion":"14.17.6","_npmVersion":"7.24.1","dist":{"shasum":"5509d008ff0f069fa18bd2eace4f3fdb18150c28","size":7199,"noattachment":false,"key":"/postcss-env-function/-/postcss-env-function-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-env-function/download/postcss-env-function-4.0.2.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-env-function_4.0.2_1637255939412_0.5537650886699101"},"_hasShrinkwrap":false,"publish_time":1637255939550,"_cnpm_publish_time":1637255939550},"4.0.1":{"name":"postcss-env-function","version":"4.0.1","description":"Use env() variables in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-env-function.git"},"homepage":"https://github.com/csstools/postcss-env-function#readme","bugs":{"url":"https://github.com/csstools/postcss-env-function/issues"},"main":"dist/index.cjs","module":"dist/index.mjs","scripts":{"build":"npx rollup -c .rollup.js","build:watch":"npx rollup -c .rollup.js --watch","lint":"npx eslint --cache src","lint:fix":"npx eslint --cache --fix","pretest":"npm run build","test":"npm run lint && npm run tape","tape":"postcss-tape","prepublishOnly":"npm test"},"engines":{"node":">=12"},"dependencies":{"postcss-values-parser":"6.0.1"},"peerDependencies":{"postcss":"^8.3"},"devDependencies":{"@babel/core":"7.15.8","@babel/preset-env":"7.15.8","@rollup/plugin-babel":"5.3.0","eslint":"8.1.0","postcss":"8.3.6","postcss-tape":"6.0.1","pre-commit":"1.2.2","rollup":"2.58.3"},"babel":{"presets":[["@babel/env",{"targets":"maintained node versions"}]]},"eslintConfig":{"env":{"es6":true},"extends":"eslint:recommended","parserOptions":{"ecmaVersion":12,"sourceType":"module","ecmaFeatures":{"modules":true}},"rules":{"semi":["error","never"]}},"rollup":{"input":"src/index.js","plugins":["@rollup/plugin-babel"],"output":[{"exports":"default","file":"dist/index.cjs","format":"cjs"},{"file":"dist/index.mjs","format":"esm"}]},"keywords":["postcss","css","postcss-plugin","environments","variables","envs","constants","functions"],"gitHead":"019c35fdc518cf0f76bd65d2c789cf57108cb96b","_id":"postcss-env-function@4.0.1","_nodeVersion":"14.17.0","_npmVersion":"7.11.2","dist":{"shasum":"9a870199fdffe60a3354165b26f28820a3d100ef","size":7325,"noattachment":false,"key":"/postcss-env-function/-/postcss-env-function-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-env-function/download/postcss-env-function-4.0.1.tgz"},"_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-env-function_4.0.1_1635509017657_0.3307771666095072"},"_hasShrinkwrap":false,"publish_time":1635509017811,"_cnpm_publish_time":1635509017811},"4.0.0":{"name":"postcss-env-function","version":"4.0.0","description":"Use env() variables in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-env-function.git"},"homepage":"https://github.com/csstools/postcss-env-function#readme","bugs":{"url":"https://github.com/csstools/postcss-env-function/issues"},"main":"dist/index.js","module":"dist/index.mjs","scripts":{"build":"npx rollup -c .rollup.js","build:watch":"npx rollup -c .rollup.js --watch","lint":"npx eslint --cache src","lint:fix":"npx eslint --cache --fix","pretest":"npm run build","test":"npm run lint && npm run tape","tape":"postcss-tape","prepublishOnly":"npm test"},"engines":{"node":">=12"},"dependencies":{"postcss-values-parser":"6.0.0"},"peerDependencies":{"postcss":"^8.3"},"devDependencies":{"@babel/core":"7.15.5","@babel/eslint-parser":"7.15.4","@babel/preset-env":"7.15.6","@rollup/plugin-babel":"5.3.0","eslint":"7.32.0","postcss":"8.3.6","postcss-tape":"6.0.1","pre-commit":"1.2.2","rollup":"2.56.3"},"babel":{"presets":[["@babel/env",{"targets":"maintained node versions"}]]},"eslintConfig":{"env":{"es6":true,"node":true},"extends":"eslint:recommended","parser":"@babel/eslint-parser"},"rollup":{"input":"src/index.js","plugins":["@rollup/plugin-babel"],"output":[{"file":"dist/index.js","format":"cjs"},{"file":"dist/index.mjs","format":"esm"}]},"keywords":["postcss","css","postcss-plugin","environments","variables","envs","constants","functions"],"gitHead":"74fc649861a83b93a1b3af9c5f2274644d6edc27","_id":"postcss-env-function@4.0.0","_nodeVersion":"16.6.1","_npmVersion":"7.20.3","dist":{"shasum":"3f049ceb8449ddfe111dd547b3c530202e335a7f","size":6966,"noattachment":false,"key":"/postcss-env-function/-/postcss-env-function-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-env-function/download/postcss-env-function-4.0.0.tgz"},"_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-env-function_4.0.0_1631885931665_0.35142548200383916"},"_hasShrinkwrap":false,"publish_time":1631885931804,"_cnpm_publish_time":1631885931804},"3.0.0":{"name":"postcss-env-function","version":"3.0.0","description":"Use env() variables in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-env-function.git"},"homepage":"https://github.com/csstools/postcss-env-function#readme","bugs":{"url":"https://github.com/csstools/postcss-env-function/issues"},"main":"dist/index.js","module":"dist/index.mjs","scripts":{"build":"npx rollup -c .rollup.js","build:watch":"npx rollup -c .rollup.js --watch","lint":"npx eslint --cache src","lint:fix":"npx eslint --cache --fix","pretest":"npm install && npm run build","test":"npm run lint && npm run tape","tape":"npx postcss-tape","prepublishOnly":"npm test"},"engines":{"node":">=8.0.0"},"dependencies":{"postcss":"^7.0.27","postcss-values-parser":"^3.2.0"},"devDependencies":{"@babel/core":"^7.9.0","@babel/preset-env":"^7.9.5","babel-eslint":"^10.1.0","eslint":"^6.8.0","postcss-tape":"^5.0.2","pre-commit":"^1.2.2","rollup":"^2.7.2","rollup-plugin-babel":"^4.4.0"},"babel":{"presets":[["@babel/env",{"targets":"maintained node versions"}]]},"eslintConfig":{"env":{"es6":true,"node":true},"extends":"eslint:recommended","parser":"babel-eslint"},"rollup":{"input":"src/index.js","plugins":["rollup-plugin-babel"],"output":[{"file":"dist/index.js","format":"cjs"},{"file":"dist/index.mjs","format":"esm"}]},"keywords":["postcss","css","postcss-plugin","environments","variables","envs","constants","functions"],"gitHead":"2fd564e01f89833d795575289a91792b5d95cb7e","_id":"postcss-env-function@3.0.0","_nodeVersion":"14.0.0","_npmVersion":"6.14.4","dist":{"shasum":"c375a280d820f1f7d9289743ebc73d39c1a7b0ea","size":7047,"noattachment":false,"key":"/postcss-env-function/-/postcss-env-function-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-env-function/download/postcss-env-function-3.0.0.tgz"},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-env-function_3.0.0_1587905033903_0.21954575764536477"},"_hasShrinkwrap":false,"publish_time":1587905033999,"_cnpm_publish_time":1587905033999},"2.0.2":{"name":"postcss-env-function","version":"2.0.2","description":"Use env() variables in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-env-function.git"},"homepage":"https://github.com/jonathantneal/postcss-env-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-env-function/issues"},"main":"index.cjs.js","module":"index.es.mjs","scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:ec":"echint --ignore index.*.js test","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=6.0.0"},"dependencies":{"postcss":"^7.0.2","postcss-values-parser":"^2.0.0"},"devDependencies":{"@babel/core":"^7.1.0","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/preset-env":"^7.1.0","babel-eslint":"^9.0.0","eslint":"^5.6.0","eslint-config-dev":"^2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.66.1","rollup-plugin-babel":"^4.0.3"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","environments","variables","envs","constants","functions"],"gitHead":"ff7a08d9a02390bd26b5233884bb4a7fb2558f20","_id":"postcss-env-function@2.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"0f3e3d3c57f094a92c2baf4b6241f0b0da5365d7","size":11000,"noattachment":false,"key":"/postcss-env-function/-/postcss-env-function-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-env-function/download/postcss-env-function-2.0.2.tgz"},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-env-function_2.0.2_1537474614632_0.19417476030470504"},"_hasShrinkwrap":false,"publish_time":1537474614767,"_cnpm_publish_time":1537474614767},"2.0.1":{"name":"postcss-env-function","version":"2.0.1","description":"Use env() variables in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-env-function.git"},"homepage":"https://github.com/jonathantneal/postcss-env-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-env-function/issues"},"main":"index.cjs.js","module":"index.es.mjs","scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:ec":"echint --ignore index.*.js test","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=6.0.0"},"dependencies":{"postcss":"^7.0.2","postcss-values-parser":"^2.0.0"},"devDependencies":{"@babel/core":"^7.1.0","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/preset-env":"^7.1.0","babel-eslint":"^9.0.0","eslint":"^5.6.0","eslint-config-dev":"^2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.66.0","rollup-plugin-babel":"^4.0.3"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","environments","variables","envs","constants","functions"],"gitHead":"00063ded17b1ccd4c68c676f5fb7a049f69a0aa3","_id":"postcss-env-function@2.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"d1f38482f79e3a9840ac4ec16da229bd3032b7c1","size":10958,"noattachment":false,"key":"/postcss-env-function/-/postcss-env-function-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-env-function/download/postcss-env-function-2.0.1.tgz"},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-env-function_2.0.1_1537286736195_0.6756069316835029"},"_hasShrinkwrap":false,"publish_time":1537286736384,"_cnpm_publish_time":1537286736384},"2.0.0":{"name":"postcss-env-function","version":"2.0.0","description":"Use env() variables in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-env-function.git"},"homepage":"https://github.com/jonathantneal/postcss-env-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-env-function/issues"},"main":"index.cjs.js","module":"index.es.mjs","scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:ec":"echint --ignore index.*.js test","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"postcss":"^7.0.2","postcss-values-parser":"^1.5.0"},"devDependencies":{"@babel/core":"^7.0.0","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/preset-env":"^7.0.0","babel-eslint":"^9.0.0","eslint":"^5.6.0","eslint-config-dev":"^2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.66.0","rollup-plugin-babel":"^4.0.1"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","environments","variables","envs","constants","functions"],"gitHead":"20f253f30dcfbcec7044daa3d5e05b3bf4349756","_id":"postcss-env-function@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"39b886bba4653462e399fad30998e4b6b392eb85","size":10940,"noattachment":false,"key":"/postcss-env-function/-/postcss-env-function-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-env-function/download/postcss-env-function-2.0.0.tgz"},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-env-function_2.0.0_1537241744480_0.10502087719307829"},"_hasShrinkwrap":false,"publish_time":1537241744626,"_cnpm_publish_time":1537241744626},"1.0.0":{"name":"postcss-env-function","version":"1.0.0","description":"[![NPM Version][npm-img]][npm-url] [![Build Status][cli-img]][cli-url] [![Windows Build Status][win-img]][win-url] [![Support Chat][git-img]][git-url]","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-env-function.git"},"homepage":"https://github.com/jonathantneal/postcss-env-function#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-env-function/issues"},"main":"index.cjs.js","module":"index.es.js","files":["index.cjs.js","index.es.js"],"scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:ec":"echint --ignore index.*.js test","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"postcss":"^6.0.22","postcss-values-parser":"^1.5.0"},"devDependencies":{"babel-core":"^6.26.3","babel-eslint":"^8.2.3","babel-preset-env":"^1.6.1","eslint":"^4.19.1","eslint-config-dev":"^2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.58.2","rollup-plugin-babel":"^3.0.4"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","environments","variables","envs","constants","functions"],"gitHead":"c7f2f6c3fa4dc1feac82e5c4bc75aec33ee88e9d","_id":"postcss-env-function@1.0.0","_npmVersion":"6.0.0","_nodeVersion":"10.0.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"0d81b53b3d789d55d1cac8125ec64f89e916a2f7","size":5479,"noattachment":false,"key":"/postcss-env-function/-/postcss-env-function-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-env-function/download/postcss-env-function-1.0.0.tgz"},"maintainers":[{"name":"alaguna","email":"a.laguna@funcion13.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"romainmenke","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-env-function_1.0.0_1524942292598_0.6858563390005432"},"_hasShrinkwrap":false,"publish_time":1524942292647,"_cnpm_publish_time":1524942292647}},"readme":"# PostCSS Environment Variables [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS Logo\" width=\"90\" height=\"90\" align=\"right\">][postcss]\n\n[<img alt=\"NPM Version\" src=\"https://img.shields.io/npm/v/postcss-env-function.svg\" height=\"20\">][npm-url]\n[<img alt=\"CSS Standard Status\" src=\"https://cssdb.org/images/badges/environment-variables.svg\" height=\"20\">][css-url]\n[<img alt=\"Build Status\" src=\"https://github.com/csstools/postcss-plugins/actions/workflows/test.yml/badge.svg\" height=\"20\">][cli-url]\n[<img alt=\"Discord\" src=\"https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white\">][discord]\n\n[PostCSS Environment Variables] lets you use `env()` variables in CSS, following the [CSS Environment Variables] specification.\n\n⚠️ Custom Environment Variables were never defined in a specification and we are no longer including this in `postcss-preset-env`.<br>\nIn the future there might be renewed interest in Custom Environment Variables.\n\nWe advice users of this plugin to seek alternatives such as [postcss-design-tokens](https://github.com/csstools/postcss-plugins/tree/postcss-preset-env--v8/plugins/postcss-design-tokens#readme)\n\n```pcss\n@media (max-width: env(--branding-small)) {\n  body {\n    padding: env(--branding-padding);\n  }\n}\n\n/* becomes */\n\n@media (min-width: 600px) {\n  body {\n    padding: 20px;\n  }\n}\n\n/* when the `importFrom` option is: {\n  \"environmentVariables\": {\n    \"--branding-small\": \"600px\",\n    \"--branding-padding\": \"20px\"\n  }\n} */\n```\n\n## Usage\n\nAdd [PostCSS Environment Variables] to your project:\n\n```bash\nnpm install postcss postcss-env-function --save-dev\n```\n\nUse it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss')\nconst postcssEnvFunction = require('postcss-env-function')\n\npostcss([\n  postcssEnvFunction(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */)\n```\n\n[PostCSS Environment Variables] runs in all Node environments, with special instructions for:\n\n| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |\n| --- | --- | --- | --- | --- |\n\n## Options\n\n### importFrom\n\nThe `importFrom` option specifies sources where Environment Variables can be imported from, which might be JS and JSON files, functions, and directly passed objects.\n\n```js\npostcssEnvFunction({\n  importFrom: 'path/to/file.js' /* module.exports = {\n      environmentVariables: {\n        '--branding-padding': '20px',\n        '--branding-small': '600px'\n      }\n    } */\n})\n```\n\n```pcss\n@media (max-width: env(--branding-small)) {\n  body {\n    padding: env(--branding-padding);\n  }\n}\n\n/* becomes */\n\n@media (min-width: 600px) {\n  body {\n    padding: 20px;\n  }\n}\n```\n\nMultiple sources can be passed into this option, and they will be parsed in the order they are received. JavaScript files, JSON files, functions, and objects will need to namespace Custom Properties using the `environmentVariables` or `environment-variables` key.\n\n```js\npostcssEnvFunction({\n  importFrom: [\n    /* Import from a CommonJS file:\n    \n    module.exports = {\n      environmentVariables: {\n        '--branding-padding': '20px'\n      }\n    } */\n    'path/to/file.js',\n\n    /* Import from a JSON file:\n\n    {\n      \"environment-variables\": {\n        \"--branding-padding\": \"20px\"\n      }\n    } */\n    'and/then/this.json',\n\n    /* Import from an JavaScript Object: */\n    {\n      environmentVariables: { '--branding-padding': '20px' }\n    },\n\n    /* Import from a JavaScript Function: */\n    () => {\n      const environmentVariables = { '--branding-padding': '20px' }\n\n      return { environmentVariables }\n    }\n  ]\n})\n```\n\nSee example imports written in [JS](test/import-variables.js) and [JSON](test/import-variables.json).\nCurrently only valid [custom property names] (beginning with `--`) are accepted.\nNot all valid [declaration value names] are accepted.\n\n### disableDeprecationNotice\n\nSilence the deprecation notice that is printed to the console when using `importFrom``.\n\n> postcss-env-function is deprecated and will be removed.\n> Check the discussion on github for more details. https://github.com/csstools/postcss-plugins/discussions/192\n\n[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test\n[css-url]: https://cssdb.org/#environment-variables\n[discord]: https://discord.gg/bUadyRwkJS\n[npm-url]: https://www.npmjs.com/package/postcss-env-function\n\n[CSS Environment Variables]: https://drafts.csswg.org/css-env-1/\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Environment Variables]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-env-function\n\n[custom property names]: https://drafts.csswg.org/css-variables-1/#typedef-custom-property-name\n[declaration value names]: https://drafts.csswg.org/css-syntax-3/#typedef-declaration-value\n","_attachments":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-env-function#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"license":"MIT-0"}