procrastination

0.0.0 • Public • Published

procrastination

⏳ I'll describe it later

const { wrap } = require('procrastination');

let count = 0;
const once = wrap(function() {
	return ++count;
});

once(); // 1
once(); // 1

once call count is 1

Readme

Keywords

none

Package Sidebar

Install

npm i procrastination

Weekly Downloads

2

Version

0.0.0

License

MIT

Unpacked Size

2.95 kB

Total Files

5

Last publish

Collaborators

  • omrilotan