DBI backend module
Node.JS port of https://github.com/lunixoid/dbibackend
Install
npm i switch-dbi
Use:
const eventListenerExample = { /*eventTitles = [ 'connected', 'waitDevice', 'proccessCmdExit', 'proccessCmdList', 'proccessCmdFileRange', 'readFileRange', 'unknownCmd', 'error', ]*/ console }; const DBI = ; const dbi = 'path/to/file1.nsp' 'path/to/file2.nsp' eventListenerExample // optional ; dbi start // async ;