node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

css-selector-replace-classes

css-selector-replace-classes

Replace CSS classes within a selector.

build status

browser support

example

var replaceClasses = require('css-selector-replace-classes')
 
replaceClasses('div.umm .yerp', {yerp: 'nerp'}) // returns 'div.umm .nerp' 

install

npm install css-selector-replace-classes

license

MIT