0.0.5 • Published 8 years ago
html-css-transformer v0.0.5
html-css-transformer
Install
npm i html-css-transformerUsage
const htmlCssTransformer = require('html-css-transformer')
htmlCssTransformer(/* input string */)For example, input:
<div class="wrapper">
<div class="sidebar"></div>
<div class="content"></div>
</div>Then the output will be:
.wrapper {
.sidebar {
}
.content {
}
}Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Author
html-css-transformer © ulivz, Released under the MIT License. Authored and maintained by ulivz with help from contributors (list).
github.com/ulivz · GitHub @ulivz