Get CSS @imports from a string
npm install get-imports> Get CSS @imports from a string
``sh`
$ npm install --save get-imports
`js
var getImports = require('get-imports');
var str = '@import url(\'foo.css\'); foo @import url(\'bar.css\'); bar';
getImports(str);
//=> ['@import url('foo.css');', '@import url('bar.css');']
``
MIT © Kevin Mårtensson