1.0.0 • Published 9 years ago

filter-css-properties v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

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