jayfella c97084e992 Initial Commit 5 жил өмнө
..
LICENSE.md c97084e992 Initial Commit 5 жил өмнө
README.md c97084e992 Initial Commit 5 жил өмнө
index.js c97084e992 Initial Commit 5 жил өмнө
package.json c97084e992 Initial Commit 5 жил өмнө

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