Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Myth with Node.js
- $ npm install -g myth
- # Javascript
- var myth = require('myth');
- var fs = require('fs');
- var css = fs.readFileSync('index.css', 'utf8');
- var converted = myth(css);
- fs.writeFileSync('converted.css', converted);
Advertisement
Add Comment
Please, Sign In to add comment