simple-methodize-x
Methodize a prototype method. Compliant to 8 arguments.
Last updated 5 years ago by xotic750 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install simple-methodize-x 
SYNC missed versions from official npm registry.

Travis status Dependency status devDependency status npm version jsDelivr hits bettercodehub score Coverage Status

simple-methodize-x

Methodize a prototype method. Compliant to 8 arguments.

module.exports*

Methodize a prototype method. Compliant to 8 arguments.

Kind: Exported member
Returns: Function - The static method. Throws:

  • TypeError If prototypeMethod is not a function.
Param Type Description
prototypeMethod Function The prototype method.

Example

import methodize from 'simple-methodize-x';

const push = methodize([].push);
const array = [];
push(array, 1);
push(array, 2);
console.log(array); // [1, 2]

Current Tags

  • 1.0.4                                ...           latest (5 years ago)

5 Versions

  • 1.0.4                                ...           5 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Total 1
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE