0.1.1 • Published 4 years ago

repeat-checker v0.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

node-repeat-checker

A simple and light repeat operation checker.

Getting Start

const { MemoryChecker } = require('repeat-checker');

const checker = new MemoryChecker();

function () {
  if (!checker.checkAndSet('somekey', 1000)) {
    throw new Error('must call it after 1 second');
  }

  // some codes.
}

License

The project was published under MIT license.

0.1.0

4 years ago

0.1.1

4 years ago

0.0.2

4 years ago

0.0.1

5 years ago