node package manager

eke

Build Status NPM Downloads

eke adverb \ˈēk\

Middle English, from Old English ēac; akin to Old High German ouh also, in addition

Synopsis

eke is a wrapper for require that lets you extend the imported module with a list of N objects.

require("eke")([, module1[, ...[, moduleN]]])

Install

npm install eke

Examples

var fat = require("eke")("greasy", {
  cocoa: "powder",
  butter: "stick"
})
// expect(cocoa in fat && butter in fat, true) 
 
var abc_to_z = require("eke")("a",
  require(b),
  require(c)/*,
  ....... */,
  require(z))

License

MIT © Jorge Bucaran