/home/techb158/balavpn.abdallabala.com/node_modules/reusify
NameSizeModeActions
.github/-0777rm
benchmarks/-0777rm
eslint.config.js1960666editdlrm
LICENSE10870666editdlrm
package.json10740666editdlrm
README.md32420666editdlrm
reusify.d.ts2120666editdlrm
reusify.js4540666editdlrm
SECURITY.md4550666editdlrm
test.js14400666editdlrm
tsconfig.json1560666editdlrm
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/reusify/reusify.js (454B)
'use strict' function reusify (Constructor) { var head = new Constructor() var tail = head function get () { var current = head if (current.next) { head = current.next } else { head = new Constructor() tail = head } current.next = null return current } function release (obj) { tail.next = obj tail = obj } return { get: get, release: release } } module.exports = reusify