filter-css-properties
Filter the list of all available (possible) 178+ css2/3 properties with glob patterns
Last updated 5 years ago by tunnckocore .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install filter-css-properties 
SYNC missed versions from official npm registry.

npm mit license build status coverage status deps status

Filter the list of all available (possible) 178+ css2/3 properties with glob patterns

Install

npm install filter-css-properties
npm test

Usage

For more use-cases see the tests

var filterCssProperties = require('filter-css-properties');

filterCssProperties('*color*')
//=> [ 'background-color',
//  'border-bottom-color',
//  'border-color',
//  'border-left-color',
//  'border-right-color',
//  'border-top-color',
//  'color',
//  'column-rule-color',
//  'outline-color',
//  'text-decoration-color' ]

filterCssProperties(['*color*', '!border*'])
//=> [ 'background-color',
//  'color',
//  'column-rule-color',
//  'outline-color',
//  'text-decoration-color' ]

Author

Charlike Mike Reagent

License MIT license

Copyright (c) 2015 Charlike Mike Reagent, contributors.
Released under the MIT license.


Powered and automated by kdf, January 21, 2015

Current Tags

  • 1.0.0                                ...           latest (5 years ago)

2 Versions

  • 1.0.0                                ...           5 years ago
  • 0.0.0                                ...           5 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (3)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |