git ssb

0+

cel-desktop / ssb-pkg



Tree: 65191f9a9664f013ebe726bb95a1a54b086e1bd5

Files: 65191f9a9664f013ebe726bb95a1a54b086e1bd5 / test / test-79-npm / heapdump / heapdump.js

305 bytesRaw
1'use strict';
2
3var fs = require('fs');
4var heapdump = require('heapdump');
5var name = './heapdump.heapsnapshot';
6heapdump.writeSnapshot(name, function (error1, filename) {
7 if (error1) throw error1;
8 fs.unlink(filename, function (error2) {
9 if (error2) throw error2;
10 console.log('ok');
11 });
12});
13

Built with git-ssb-web