45 lines
2.3 KiB
Markdown
45 lines
2.3 KiB
Markdown
# smartsass
|
|
smart wrapper for sass
|
|
|
|
## Availabililty
|
|
[](https://www.npmjs.com/package/smartsass)
|
|
[](https://GitLab.com/pushrocks/smartsass)
|
|
[](https://github.com/pushrocks/smartsass)
|
|
[](https://pushrocks.gitlab.io/smartsass/)
|
|
|
|
## Status for master
|
|
[](https://GitLab.com/pushrocks/smartsass/commits/master)
|
|
[](https://GitLab.com/pushrocks/smartsass/commits/master)
|
|
[](https://www.npmjs.com/package/smartsass)
|
|
[](https://david-dm.org/pushrocks/smartsass)
|
|
[](https://www.bithound.io/github/pushrocks/smartsass/master/dependencies/npm)
|
|
[](https://www.bithound.io/github/pushrocks/smartsass)
|
|
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
|
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
|
[](http://standardjs.com/)
|
|
|
|
## Usage
|
|
Use TypeScript for best in class instellisense.
|
|
|
|
```javascript
|
|
import * as smartsass from 'smartsass'
|
|
import * as bourbon from 'bourbon
|
|
import * as neat from 'neat'
|
|
|
|
let mySmartsass = new smartsass.Smartsass({
|
|
filePath: './some.css',
|
|
includePaths: bourbon.includePaths
|
|
})
|
|
|
|
mySmartsass.addIncludePaths(neat.includePaths)
|
|
|
|
let renderedString = mySmartsass.render()
|
|
```
|
|
|
|
For further information read the linked docs at the top of this README.
|
|
|
|
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
|
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
|
|
|
|
[](https://push.rocks)
|