{"_id":"postcss-easy-import","_rev":"4087117","name":"postcss-easy-import","description":"PostCSS plugin to inline @import rules content with extra features","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"simonsmith","email":""},{"name":"trysound","email":"trysound@yandex.ru"}],"time":{"modified":"2025-12-02T22:11:45.000Z","created":"2016-01-29T18:14:48.369Z","4.0.0":"2022-02-25T11:54:57.448Z","3.0.0":"2017-09-11T10:27:22.519Z","2.1.0":"2017-06-05T20:52:57.420Z","2.0.0":"2017-01-12T17:29:49.308Z","1.0.1":"2016-01-30T09:46:49.630Z","1.0.0":"2016-01-29T18:14:48.369Z"},"users":{},"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"repository":{"type":"git","url":"git+https://github.com/TrySound/postcss-easy-import.git"},"versions":{"4.0.0":{"name":"postcss-easy-import","version":"4.0.0","description":"PostCSS plugin to inline @import rules content with extra features","keywords":["postcss","css","postcss-plugin","import","glob","partial"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"contributors":[{"name":"Simon Smith","email":"me@simonsmith.io","url":"https://simonsmith.io"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/TrySound/postcss-easy-import.git"},"bugs":{"url":"https://github.com/TrySound/postcss-easy-import/issues"},"homepage":"https://github.com/TrySound/postcss-easy-import","dependencies":{"globby":"^6.1.0","is-glob":"^4.0.0","lodash":"^4.17.4","object-assign":"^4.0.1","pify":"^3.0.0","postcss-import":"^14.0.0","resolve":"^1.1.7"},"devDependencies":{"ava":"^0.19.1","eslint":"^3.11.1","eslint-config-postcss":"^2.0.0","postcss":"^8.4.6"},"peerDependencies":{"postcss":"^8.4.6"},"scripts":{"test":"ava","posttest":"eslint .","prepublish":"npm test"},"eslintConfig":{"extends":"postcss/es5"},"engines":{"node":">=10.0.0"},"gitHead":"b5c5c1cdb0f9dc8028ab6d81ca537c7fd6208010","_id":"postcss-easy-import@4.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"8ada07d857c2578f38a832b841714a7ddefccbee","size":3654,"noattachment":false,"key":"/postcss-easy-import/-/postcss-easy-import-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-easy-import/download/postcss-easy-import-4.0.0.tgz"},"_npmUser":{"name":"simonsmith","email":"me@simonsmith.io"},"directories":{},"maintainers":[{"name":"simonsmith","email":""},{"name":"trysound","email":"trysound@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-easy-import_4.0.0_1645790097290_0.06926818483627728"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-25T11:58:48.587Z","publish_time":1645790097448,"_cnpm_publish_time":1645790097448},"3.0.0":{"name":"postcss-easy-import","version":"3.0.0","description":"PostCSS plugin to inline @import rules content with extra features","keywords":["postcss","css","postcss-plugin","import","glob","partial"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"contributors":[{"name":"Simon Smith","email":"me@simonsmith.io","url":"https://simonsmith.io"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/TrySound/postcss-easy-import.git"},"bugs":{"url":"https://github.com/TrySound/postcss-easy-import/issues"},"homepage":"https://github.com/TrySound/postcss-easy-import","dependencies":{"globby":"^6.1.0","is-glob":"^4.0.0","lodash":"^4.17.4","object-assign":"^4.0.1","pify":"^3.0.0","postcss":"^6.0.11","postcss-import":"^10.0.0","resolve":"^1.1.7"},"devDependencies":{"ava":"^0.19.1","eslint":"^3.11.1","eslint-config-postcss":"^2.0.0"},"files":["index.js","lib"],"scripts":{"test":"ava","posttest":"eslint .","prepublish":"npm test"},"eslintConfig":{"extends":"postcss/es5"},"gitHead":"b80ba1d5fc80322341b124bac08f9c66e5f117d3","_id":"postcss-easy-import@3.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.3.0","_npmUser":{"name":"simonsmith","email":"me@simonsmith.io"},"dist":{"shasum":"8eaaf5ae59566083d0cae98735dfd803e3ab194d","size":4131,"noattachment":false,"key":"/postcss-easy-import/-/postcss-easy-import-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-easy-import/download/postcss-easy-import-3.0.0.tgz"},"maintainers":[{"name":"simonsmith","email":""},{"name":"trysound","email":"trysound@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-easy-import-3.0.0.tgz_1505125641667_0.6782084151636809"},"directories":{},"publish_time":1505125642519,"_hasShrinkwrap":false,"_cnpm_publish_time":1505125642519,"_cnpmcore_publish_time":"2021-12-16T13:11:33.271Z"},"2.1.0":{"name":"postcss-easy-import","version":"2.1.0","description":"PostCSS plugin to inline @import rules content with extra features","keywords":["postcss","css","postcss-plugin","import","glob","partial"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"contributors":[{"name":"Simon Smith","email":"me@simonsmith.io","url":"https://simonsmith.io"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/TrySound/postcss-easy-import.git"},"bugs":{"url":"https://github.com/TrySound/postcss-easy-import/issues"},"homepage":"https://github.com/TrySound/postcss-easy-import","dependencies":{"globby":"^6.1.0","is-glob":"^3.1.0","lodash":"^4.17.4","object-assign":"^4.0.1","pify":"^2.3.0","postcss":"^5.0.15","postcss-import":"^9.1.0","resolve":"^1.1.7"},"devDependencies":{"ava":"^0.19.1","eslint":"^3.11.1","eslint-config-postcss":"^2.0.0"},"files":["index.js","lib"],"scripts":{"test":"ava","posttest":"eslint .","prepublish":"npm test"},"eslintConfig":{"extends":"postcss/es5"},"gitHead":"449fc6f98b6800bd665ca1e9cd141a79cf88e78a","_id":"postcss-easy-import@2.1.0","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"simonsmith","email":"me@simonsmith.io"},"dist":{"shasum":"1d49f8a7c404415cfee4e5cb7a15fdf866c13022","size":4090,"noattachment":false,"key":"/postcss-easy-import/-/postcss-easy-import-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-easy-import/download/postcss-easy-import-2.1.0.tgz"},"maintainers":[{"name":"simonsmith","email":""},{"name":"trysound","email":"trysound@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-easy-import-2.1.0.tgz_1496695976527_0.7338889297097921"},"directories":{},"publish_time":1496695977420,"_hasShrinkwrap":false,"_cnpm_publish_time":1496695977420,"_cnpmcore_publish_time":"2021-12-16T13:11:33.892Z"},"2.0.0":{"name":"postcss-easy-import","version":"2.0.0","description":"PostCSS plugin to inline @import rules content with extra features","keywords":["postcss","css","postcss-plugin","import","glob","partial"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"contributors":[{"name":"Simon Smith","email":"me@simonsmith.io","url":"https://simonsmith.io"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/trysound/postcss-easy-import.git"},"bugs":{"url":"https://github.com/TrySound/postcss-easy-import/issues"},"homepage":"https://github.com/TrySound/postcss-easy-import","dependencies":{"globby":"^6.1.0","is-glob":"^3.1.0","lodash":"^4.17.4","object-assign":"^4.0.1","pify":"^2.3.0","postcss":"^5.0.15","postcss-import":"^9.1.0","resolve":"^1.1.7"},"devDependencies":{"ava":"^0.16.0","eslint":"^3.11.1","eslint-config-postcss":"^2.0.0"},"files":["index.js","lib"],"scripts":{"test":"ava","posttest":"eslint .","prepublish":"npm test"},"eslintConfig":{"extends":"postcss/es5"},"gitHead":"a3942e97af0cf82b8063eca15e58190bb00936ab","_id":"postcss-easy-import@2.0.0","_shasum":"a874d4de054b9242545bf553e438c1823c108512","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"simonsmith","email":"me@simonsmith.io"},"dist":{"shasum":"a874d4de054b9242545bf553e438c1823c108512","size":3971,"noattachment":false,"key":"/postcss-easy-import/-/postcss-easy-import-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-easy-import/download/postcss-easy-import-2.0.0.tgz"},"maintainers":[{"name":"simonsmith","email":""},{"name":"trysound","email":"trysound@yandex.ru"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/postcss-easy-import-2.0.0.tgz_1484242188780_0.046845356933772564"},"directories":{},"publish_time":1484242189308,"_hasShrinkwrap":false,"_cnpm_publish_time":1484242189308,"_cnpmcore_publish_time":"2021-12-16T13:11:34.138Z"},"1.0.1":{"name":"postcss-easy-import","version":"1.0.1","description":"PostCSS plugin to inline @import rules content with extra features","keywords":["postcss","css","postcss-plugin","import","glob","partial"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/trysound/postcss-easy-import.git"},"bugs":{"url":"https://github.com/TrySound/postcss-easy-import/issues"},"homepage":"https://github.com/TrySound/postcss-easy-import","dependencies":{"globby":"^4.0.0","object-assign":"^4.0.1","pify":"^2.3.0","postcss":"^5.0.13","postcss-import":"^8.0.1","resolve":"^1.1.7"},"devDependencies":{"ava":"^0.11.0","eslint":"^1.10.3","eslint-config-postcss":"^1.0.0"},"files":["index.js","lib"],"scripts":{"pretest":"eslint .","test":"ava"},"eslintConfig":{"extends":"eslint-config-postcss/es5"},"gitHead":"c547a9cb5d35ce07d9bb9c18cec2c9684ed51888","_id":"postcss-easy-import@1.0.1","_shasum":"a04877c53f665f171edbdafbb4e80b32839ba0a9","_from":".","_npmVersion":"3.6.0","_nodeVersion":"0.12.7","_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"maintainers":[{"name":"simonsmith","email":""},{"name":"trysound","email":"trysound@yandex.ru"}],"dist":{"shasum":"a04877c53f665f171edbdafbb4e80b32839ba0a9","size":3091,"noattachment":false,"key":"/postcss-easy-import/-/postcss-easy-import-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-easy-import/download/postcss-easy-import-1.0.1.tgz"},"directories":{},"publish_time":1454147209630,"_hasShrinkwrap":false,"_cnpm_publish_time":1454147209630,"_cnpmcore_publish_time":"2021-12-16T13:11:34.360Z"},"1.0.0":{"name":"postcss-easy-import","version":"1.0.0","description":"PostCSS plugin to inline @import rules content with extra features","keywords":["postcss","css","postcss-plugin","import","glob","partial"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/trysound/postcss-easy-import.git"},"bugs":{"url":"https://github.com/TrySound/postcss-easy-import/issues"},"homepage":"https://github.com/TrySound/postcss-easy-import","dependencies":{"globby":"^4.0.0","object-assign":"^4.0.1","pify":"^2.3.0","postcss":"^5.0.13","postcss-import":"^8.0.1","resolve":"^1.1.7"},"devDependencies":{"ava":"^0.11.0","eslint":"^1.10.3","eslint-config-postcss":"^1.0.0"},"files":["index.js"],"scripts":{"pretest":"eslint .","test":"ava"},"eslintConfig":{"extends":"eslint-config-postcss/es5"},"gitHead":"00e9e4649cc82d77f84ceeda6472a82467133cf3","_id":"postcss-easy-import@1.0.0","_shasum":"d718e894c0163755de5f7e29b61e3d0c076d39c2","_from":".","_npmVersion":"3.6.0","_nodeVersion":"0.12.7","_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"maintainers":[{"name":"simonsmith","email":""},{"name":"trysound","email":"trysound@yandex.ru"}],"dist":{"shasum":"d718e894c0163755de5f7e29b61e3d0c076d39c2","size":2144,"noattachment":false,"key":"/postcss-easy-import/-/postcss-easy-import-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-easy-import/download/postcss-easy-import-1.0.0.tgz"},"directories":{},"publish_time":1454091288369,"_hasShrinkwrap":false,"_cnpm_publish_time":1454091288369,"_cnpmcore_publish_time":"2021-12-16T13:11:34.609Z"}},"readme":"# postcss-easy-import [![Build Status][ci-img]][ci]\n\n[PostCSS] plugin to inline @import rules content with extra features.\n\n[postcss-import]: https://github.com/postcss/postcss-import\n[PostCSS]: https://github.com/postcss/postcss\n[ci-img]: https://travis-ci.org/TrySound/postcss-easy-import.svg\n[ci]: https://travis-ci.org/TrySound/postcss-easy-import\n\n## Usage\n\n```js\npostcss([ require('postcss-easy-import') ])\n```\n\nSee [PostCSS] docs for examples for your environment.\n\n## Resolving files with globs\n\nThe path to the file will be checked and if it contains a glob it will be used\nto locate it. These can be mixed and matched with normal module paths:\n\n```css\n@import \"suitcss-utils-display\"; /* node_modules */\n@import \"./theme.css\"; /* relative path */\n@import \"./components/*.css\"; /* glob */\n@import \"suitcss-utils-size/lib/*.css\"; /* glob inside node_modules */\n```\n\n## Options\n\nThis plugin is a [postcss-import] extension which introduces its own `resolve` option.\n\n### `prefix`\n\nType: `false` or `string`\nDefault: `false`\n\nAllows partial-like importing with a prefix before the filename.\n\n```css\n@import 'modules/partial.css';\n/* will import modules/_partial.css */\n```\n\nPrefixed versions are always favoured. Otherwise the non-prefix version is used:\n\n```\n├── _baz.css\n├── baz.css\n├── bar.css\n```\n\nThe matched files would be `['_baz.css', 'bar.css']`.\n\n### `extensions`\n\nType: `array` or `string`\nDefault: `.css`\n\nDefines file extensions which will be looked for.\n\n# License\n\nMIT © [Bogdan Chadkin](mailto:trysound@yandex.ru)\n","_attachments":{},"homepage":"https://github.com/TrySound/postcss-easy-import","bugs":{"url":"https://github.com/TrySound/postcss-easy-import/issues"},"license":"MIT"}