Package Exports
- array-occurrence
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (array-occurrence) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
array-occurrence 
Get the number of occurrences of an item in an array
Install
$ npm install --save array-occurrenceUsage
var arrayOccurrence = require('array-occurrence');
arrayOccurrence(['foo', 'bar', 'foo'], 'foo');
//=> 2API
arrayOccurrence(input, search)
input
Type: array
Array to search in.
search
Type: Any type
Item to search for.
License
MIT © Andreas Gillström