You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To speed up process while working on #5 I realized that this tool may be useful also to be used as node module rather than CLI only.
I spotted a couple of issues that may be worth working on
since UsedAssets is async, there is not way to know when Deadfile has finished his work, maybe extend EventEmitter and send events may be a solution?
reporting is enabled by default, this means logging in console, on a file and starting a reporting server which parses the file. This should be optional and results of Deadfile's work can be stored in a variable
I'd like to use it like
const instance = new Deadfile(opts);
instance.on('end', (results) => {
console.log(results) // console.log(instance.results)
// do your own stuff with results of deadfile
});
The text was updated successfully, but these errors were encountered:
To speed up process while working on #5 I realized that this tool may be useful also to be used as node module rather than CLI only.
I spotted a couple of issues that may be worth working on
UsedAssets
is async, there is not way to know whenDeadfile
has finished his work, maybe extendEventEmitter
and send events may be a solution?I'd like to use it like
The text was updated successfully, but these errors were encountered: