Socket
Book a DemoInstallSign in
Socket

@dudadev/postcss-flexibility

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

@dudadev/postcss-flexibility

PostCSS plugin for Flexibility polyfill

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

PostCSS Flexibility

[![NPM version][npm-img]][npm-url] Build Status Dependency Status [devDependency Status][daviddm-dev-url] [![Code coverage status][coveralls-img]][coveralls-url] [![XO code style][xo-img]][xo-url]

PostCSS plugin for Flexibility.

.foo {
	display: flex;
}

will be processed to:

.foo {
	-js-display: flex;
	display: flex;
}

Installation

$ npm install --save-dev postcss-flexibility

Usage

postcss([ require('postcss-flexibility') ])

See PostCSS docs for examples for your environment.

Excluding rules

You can exclude rule from transformation by adding /* flexibility-disable */ comment.

.foo {
	/* flexibility-disable */
	display: flex;
}

will be processed to:

.foo {
	/* flexibility-disable */
	display: flex;
}

--

License

MIT © Valentin Semirulnik

[daviddm-dev-url]: https://david-dm.org/7rulnik/postcss-flexibility#info=devDependencies) [npm-img]: https://badge.fury.io/js/postcss-flexibility.svg [npm-url]: https://www.npmjs.com/package/postcss-flexibility [xo-img]: https://img.shields.io/badge/code_style-XO-5ed9c7.svg [xo-url]: https://github.com/sindresorhus/xo [coveralls-img]: https://coveralls.io/repos/github/7rulnik/postcss-flexibility/badge.svg?branch=master [coveralls-url]: https://coveralls.io/github/7rulnik/postcss-flexibility?branch=master

Keywords

postcss

FAQs

Package last updated on 07 May 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