split-keywords
v2.0.1
Published
split keywords string into array
Downloads
27
Readme
split-keywords
split keywords string into array
Install
npm install --save split-keywords
Usage
import splitKeywords from 'split-keywords';
splitKeywords('uni, corns'); // ['uni', 'corns']
splitKeywords(',uni,, corns,meow,'); // ['uni', 'corns', 'meow']
API
splitKeywords(keywords)
// splitKeywords :: String -> [String]
keywords
Required
Type: String
Keywords delimited by coma.
License
MIT © Vladimir Starkov