0.0.1 • Published 10 years ago
rework-suffixer v0.0.1
Rework Suffix
Suffix all of you css selectors with anything
npm i rework-suffixer
rework(str)
.use(function(node){return require('rework-suffixer')(node, {suffix: ".wow"})})
Turns
h1 body html div input[type="bam"] { color: red; }
/* into */
h1 body html div input[type="bam"].wow { color: red; }
API
- Options
This tool takes a single option object with a single pair of
suffix: ".bam"
0.0.1
10 years ago