node-watcher

Watcher by @nodester :: is a module to manage|limit resources in a shared environment

Usage no npm install needed!

<script type="module">
  import nodeWatcher from 'https://cdn.skypack.dev/node-watcher';
</script>

README

Watcher by Nodester

Watcher is a simple module who will be watching a given process, due to maxmem use or disk space abuse, then It'll emit a SIGINT Sign then it'll send a notice to the master process. To restart the process.

The main purpose of this module is because we, at nodester, are needed to control the memory use by users apps. And disk space in use.

Licence

GNU Affero Alejandro Morales Gámez