normalize-keywords
Normalize an array of keywords. Sorts and removes duplicates and common words (uses the 100 most common english words).
Last updated 12 years ago by jonschlinkert .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install normalize-keywords 
SYNC missed versions from official npm registry.

normalize-keywords NPM version

Normalize an array of keywords. Sorts and removes duplicates and common words (uses the 100 most common english words).

Install

Install with npm:

npm i normalize-keywords --save-dev

Run tests

npm test

Usage

var normalize = require('normalize-keywords');
var keywords = ['javascript', 'objects', 'object-hash'];

normalize(keywords);
//=> [ 'hash', 'javascript', 'object', 'object-hash' ]

normalize(keywords, {omit: ['object']});
//=> [ 'hash', 'javascript', 'object-hash' ]

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license


This file was generated by verb-cli on October 09, 2014.

Current Tags

  • 0.2.3                                ...           latest (12 years ago)

10 Versions

  • 0.2.3                                ...           12 years ago
  • 0.2.1                                ...           12 years ago
  • 0.2.0                                ...           12 years ago
  • 0.1.6                                ...           12 years ago
  • 0.1.5                                ...           12 years ago
  • 0.1.4                                ...           12 years ago
  • 0.1.3                                ...           12 years ago
  • 0.1.2                                ...           12 years ago
  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (4)
Dev Dependencies (4)
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |