Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build-prototype Build Status

Build object with all files in a directory

Install

$ npm install --save build-prototype

Usage

// ./methods/hello.js

module.exports = function hello(){
  return 'hello';
}
// ./test.js
var build = require('build-prototype');

var myObj = {}
build(myObj, path.resolve('./methods'))

myObj.hello() === 'hello' // True

License

MIT © Arnaud Dezandee

About

Build object with all files in a directory

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages