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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i safeguards

      Weekly Downloads

      4

      Version

      0.0.3

      License

      MIT

      Last publish

      Collaborators

      • crabdude