1.0.1 • Published 7 years ago

@tiaanduplessis/mem-monitor v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

About

A silly little logging utility to show the memory usage of a process. Inspired by this excellent post.

Install

$ npm install @tiaanduplessis/mem-monitor
# OR
$ yarn add @tiaanduplessis/mem-monitor

Usage

require('mem-monitor')()

This will log the info to your console:

example image

You can optionally specifiy the interval at which the stats should update (defaults to 3000ms).

Contributing

Contributions are welcome!

  1. Fork it.
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Or open up a issue.

License

Licensed under the MIT License.

1.0.1

7 years ago

1.0.0

7 years ago