AhMyth 9000392778 beta version il y a 8 ans
..
README.md 9000392778 beta version il y a 8 ans
index.js 9000392778 beta version il y a 8 ans
package.json 9000392778 beta version il y a 8 ans

README.md

get-imports Build Status

Get CSS @imports from a string

Install

$ npm install --save get-imports

Usage

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');']

License

MIT © Kevin Mårtensson