UNPKG
wipe-node-cache
Version:
latest (2.1.2)
2.1.2
2.1.1
2.1.0
2.0.0
1.1.0
1.0.2
1.0.1
1.0.0
Wipes node.js cache in a controlled way.
github.com/theKashey/wipeNodeCache
theKashey/wipeNodeCache
wipe-node-cache
/
test
/
src
/
a.js
14 lines
(13 loc)
•
198 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var
counter =
1
;
var
b =
require
(
'./b.js'
);
module
.
exports
= {
fn
:
function
(
) {
return
counter++; },
b_fn
:
function
(
){
return
b.
fn
(); },
c_fn
:
function
(
){
return
b.
c_fn
(); } };