https://github.com/ulivz/html-css-transformer
Html CSS Transformer
https://github.com/ulivz/html-css-transformer
Last synced: 6 months ago
JSON representation
Html CSS Transformer
- Host: GitHub
- URL: https://github.com/ulivz/html-css-transformer
- Owner: ulivz
- License: mit
- Created: 2017-12-17T06:40:14.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-30T16:51:20.000Z (about 6 years ago)
- Last Synced: 2025-03-04T12:42:05.172Z (7 months ago)
- Language: JavaScript
- Homepage: http://v2js.com/html-css-transformer
- Size: 167 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# html-css-transformer
[](https://npmjs.com/package/html-css-transformer) [](https://npmjs.com/package/html-css-transformer) [](https://circleci.com/gh/ULIVZ/html-css-transformer/tree/master) [](https://codecov.io/gh/ULIVZ/html-css-transformer)
[](https://github.com/ULIVZ/donate)## Install
```bash
npm i html-css-transformer
```## Usage
```js
const htmlCssTransformer = require('html-css-transformer')
htmlCssTransformer(/* input string */)
```For example, input:
```html
```Then the output will be:
```scss
.wrapper {
.sidebar {
}
.content {
}
}
```## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## Author
**html-css-transformer** © [ulivz](https://github.com/ULIVZ), Released under the [MIT](./LICENSE) License.
Authored and maintained by ulivz with help from contributors ([list](https://github.com/ULIVZ/html-css-transformer/contributors)).> [github.com/ulivz](https://github.com/ulivz) · GitHub [@ulivz](https://github.com/ULIVZ)