safeguards

0.0.3 • Public • Published

safeguards

A collection node.js of best practices safeguards

noSynchronousIO

Safeguards against require or "Sync" IO calls after main tick by replacing them with error throwing equivalents.

// THIS MUST BE THE LAST LINE EXECUTED IN THE MAIN MODULE
return require('safeguards').noSynchronousIO(module);

Readme

Keywords

none

Package Sidebar

Install

npm i safeguards

Weekly Downloads

0

Version

0.0.3

License

MIT

Last publish

Collaborators

  • crabdude