postrequire

v2.0.0
(Re)runs initialization code contained in a Node.js module.
mock node nodejs require stub test

build

npm install && gulp

coverage

c8 --reporter=html --reporter=text-summary npm test

test

mocha --check-leaks test/**/*.spec.js
npm i postrequire

Metadata

  • ISC
  • Whatever
  • Francesco Trotta
  • released 8/8/2022

Downloads

Maintainers