Prefix CSS selectors to avoid library clashes
npm install prefix-css-nodeUseful when loading say Twitter Bootstrap libraries for a widget on the page and we do not want to override the default style of that page.
``bash`
$ npm install -d
The library runs synchronously.
`coffee-script
prefix = require 'prefix-css-node'
css = """
body { background:pink }
a:after { content:"link", display:block }
"""
.By default,
html and body selectors are blacklisted, to change that or pass custom selectors to exclude, pass a list as the third parameter:`coffee-script
prefix.css css, 'bootstrap', [ 'html', 'body', 'a', '#div' ]
`Testing
`bash
$ npm test
``