Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flexibility-stylus

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flexibility-stylus

Flexibility stylus plugin

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
Maintainers
1
Weekly downloads
 
Created
Source

flexibility-stylus

This is a stylus plugin based on postcss-flexibility. It might help when you use the flexbox polyfill Flexibility and Stylus preprocessor.

And it simply does this:

add a -js-display: flex declaration before any display: flex declarations in your CSS

Installation

npm install --save-dev flexibility-stylus

Usage

You can use it like any other stylus plugins. For example, using the cli:

stylus src -o dist -w -u flexibility-stylus 

or using it in Node.js

var stylus = require('stylus');
var flex = require('flexibility-stylus');

stylus(css)
  .use(flex())
  .render(function(err, output){
    console.log(output);
  });

Keywords

FAQs

Package last updated on 22 Apr 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc