Socket
Socket
Sign inDemoInstall

eke

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eke

Require thy module and eke extend hit.


Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 01 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc