Socket
Book a DemoInstallSign in
Socket

builder-styles-raw

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

builder-styles-raw

Returns the raw version of the style files

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

Builder-styles-raw Build Status

Returns the raw version of the style files. Useful in case you want to render your styles with a preprocessor.

Install

With npm do:

npm install builder-styles-raw --save-dev

Usage

var builder = require('component-builder')
var raw = require('builder-styles-raw')
var stylus = require('stylus');

builder.styles(tree)
  .use('styles', raw())
  .end(function(err, string) {
    stylus.render(string, function(err, css) {
      fs.writeFileSync(dest, css);
    });
  });

License

MIT

Keywords

component

FAQs

Package last updated on 28 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts