1.0.10 • Published 9 months ago

underscore-methods-usage-statistics v1.0.10

Weekly downloads
9
License
MIT
Repository
github
Last release
9 months ago

underscore-methods-usage-statistics

node version npm version downloads count size license github-ci

🔨 Display statistics of Underscore.js methods.

All idea is to grep files with simple regular expression to find all instances of any underscore method called. Display simple report after process completed.

npm.io

Install

npm install -g underscore-methods-usage-statistics

Usage

underscore-methods-usage-statistics ~/projects/sample-project/

Example output:

Report: Underscore.js methods usage statistics:
 - 25 assert
 - 8 extend
 - 8 isObject
 - 7 isEmpty
 - 7 defaults
 - 7 findWhere
 - 6 isFunction
 - 4 isBoolean
 - 3 reject
 - 3 sortBy
 - 3 find
 - 3 has
 - 3 size
 - 3 result
 - 3 bindAll
 - 3 isString
 - 2 every
 - 1 unique
 - 1 pluck
 - 1 isArray
 - 1 isUndefined
 - 1 contains
 - 1 each
 - 1 isNull

Analyze 123 files.

Unit tests

npm test

License

The MIT License @ 2015

1.0.10

9 months ago

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

8 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago