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

postcss-colorstring

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

postcss-colorstring

PostCSS plugin to turn any string into a valid color

latest
Source
npmnpm
Version
0.0.0
Version published
Maintainers
1
Created
Source

PostCSS colorstring Build Status

PostCSS plugin to turn any string into a valid color.

based on
http://stackoverflow.com/questions/8318911/why-does-html-think-chucknorris-is-a-color
http://scrappy-do.blogspot.be/2004/08/little-rant-about-microsoft-internet.html

Installation

$ npm install postcss-color-hcl

##Usage

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

Using this input.css:

.foo {
  color-ie:  Supercalifragilisticexpialidocious;
}

you will get:

.foo {
  color: #0c000c;
}

See PostCSS docs for examples for your environment.

Keywords

postcss

FAQs

Package last updated on 19 Sep 2016

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