New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

stylusify

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylusify

Browserify transform to require stylus files

latest
Source
npmnpm
Version
2.1.0
Version published
Maintainers
1
Created
Source

stylusify

Browserify transform to require stylus files.

Install

npm install --save stylusify

Use

browserify -t stylusify entry.js
var style = require('./style.styl')
console.log(typeof style, style)
// => string, body {  background-color: #ffc0cb;} 

Options

browserify -t [stylusify --inline-images] entry.js    // url(yolo.png) => url("data:image/png;base64,iVBOR...")
browserify -t [stylusify --autoprefix] entry.js       // display: -ms-flexbox 

Changelog

2.1.0

  • Added support for autoprefixer

2.0.0

  • Added support for inlining images :rocket:

1.0.2

  • Properly escaping css string

1.0.1

  • Removed som logging

1.0.0

  • Initial release :tada:

enjoy

Keywords

browserify

FAQs

Package last updated on 28 Aug 2015

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