execute a function only once and cache but it has a reset function for testing
See examples at nonProd.test.js and prod.test.js
execute a function only once and cache but it has a reset function for testing
See examples at nonProd.test.js and prod.test.js
npm i @leobastiani/once
53
1.0.1
MIT
2.17 kB
6