I'm trying to implement this library in my node project however I cannot figure out how to reference my local files. The documentation says (buffer|file|uint8Array) but only gives an example for unit8Array I think I could figure out how to do buffer pretty easily but... I just have a list of local files I need the script to go through and parsing a file path as a string results in an error soooo how do I go about it?
Normally I can find examples elsewhere (ie StackOverflow) but I can't find any for this library :(
I'm trying to implement this library in my node project however I cannot figure out how to reference my local files. The documentation says (buffer|file|uint8Array) but only gives an example for unit8Array I think I could figure out how to do buffer pretty easily but... I just have a list of local files I need the script to go through and parsing a file path as a string results in an error soooo how do I go about it?
Normally I can find examples elsewhere (ie StackOverflow) but I can't find any for this library :(