lodash-alias-names
Alias names of the Lodash methods
Installation
npm install lodash-alias-names
Usage
const lodashAliasNames = ;
lodashAliasNames
Type: Object
Lodash has some alias methods for backward compatibility. For exmaple _.extend
was renamed to _.assignIn
in v4.0.0 and at the same time re-added as an alias of _.assignIn
.
The exposed object is in the following form:
"originalLodashMethodName": "aliasLodashMethodName" // ... // ...
lodashAliasNamesforEach; //=> ['each']// This means "`_.forEach` has one alias: `_.each`. lodashAliasNames'prototype.value'; //=> ['prototype.toJSON', 'prototype.valueOf']// This means `_.prototype.value` has two aliases: `_.prototype.toJSON` and `_.prototype.valueOf`.