Skip to content

elicwhite/rewire-global

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#rewire-global

Build Status devDependency Status devDependency Status

Hook rewire into every required package.

Installation

$ npm install rewire-global --save-dev

Usage

require('rewire-global').enable();

var myModule = require('./my-module');
var myFunc = myModule.__get__('myFunc');

About

Rewire is enabled globally for all modules in node.

Resources

Stars

Watchers

Forks

Packages

No packages published