npm.io

Prototypal inheritence Packages

create-factory-function

Syntactically concise, curry-friendly convenience method for factory function creation. Given a properties array and a prototype object, returns a factory function that returns objects with the specified prototype and properties.

factory functionfactorymethodfactory patterncreateprototypeprototypal inheritenceobject creatorobject creationobject
2.0.0 • Published 5 years ago

contact@npm.io