rewire-global

1.0.11 • Public • Published

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');

Readme

Keywords

none

Package Sidebar

Install

npm i rewire-global

Weekly Downloads

206

Version

1.0.11

License

ISC

Last publish

Collaborators

  • eliwhite