UNPKG

prototypes

Version:

Some common prototypes for node.js: string.startsWith(), object.countProperties() and more. Facilities for functional programming with objects: object.forEach(), object.filter(). Functions are added safely using Object.defineProperty().

17 lines (12 loc) 285 B
'use strict'; /** * Export all prototypes. * (C) 2013 Alex Fernández. */ // requires require('./lib/string.js'); require('./lib/array.js'); var mathLib = require('./lib/math.js'); var objectLib = require('./lib/object.js'); // exports module.exports={...objectLib, ...mathLib}