node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org ยป



Walks CSS files and replaces contents of url() dependencies with paths to a CDN.

$ CDN_PREFIX="/" CDN_URL="" ./bin/cssmd5.js public/test.css

Useful in conjunction with RandomEtc/css-deps and some judicious Makefiles.

Also includes some code for rewriting link/script URLs in Express templates, not wired up yet (TODO).