filter-keys
Filter the keys of an object using glob patterns.
Last updated 5 years ago by jonschlinkert .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install filter-keys 
SYNC missed versions from official npm registry.

filter-keys NPM version Build Status

Filter the keys of an object using glob patterns.

Install with npm

$ npm i filter-keys --save

Usage

var filterKeys = require('filter-keys');

filterKeys({foo: 'a', bar: 'b', baz: 'c'}, 'b*');
//=> ['bar', 'baz']

Related

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on September 08, 2015.

Current Tags

  • 1.1.0                                ...           latest (5 years ago)

7 Versions

  • 1.1.0                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 21
This Month 14
Last Day 0
Last Week 28
Last Month 115
Dependencies (1)
Dev Dependencies (2)

Copyright 2014 - 2017 © taobao.org |