This package has been deprecated

Author message:

this does not work in modern node versions

nosync

1.0.0 • Public • Published

Want to prevent accidentally calling sync functions?

require("nosync") will clog that drain for you, by making all sync functions throw after the next tick.

This still allows you to do whatever you need to in the setup phase of your program, where synchronous IO is a good thing.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i nosync

Weekly Downloads

3

Version

1.0.0

License

none

Last publish

Collaborators

  • isaacs