css-deps

0.0.1 • Public • Published

css-deps

Walks CSS and LESS files and outputs paths to any url() dependencies found.

e.g.

$ ./bin/cssdeps.js examples/test.css 
/Users/RandomEtc/css-deps/examples/foo.png
/Users/RandomEtc/css-deps/examples/bar.gif

Useful if you have a build script that inlines images as data uris or adds asset-pipeline style hashes to file names based on content.

/css-deps/

    Package Sidebar

    Install

    npm i css-deps

    Weekly Downloads

    2

    Version

    0.0.1

    License

    BSD

    Last publish

    Collaborators

    • randometc