nika-begiashvili / libarchivejs

Archive library for browsers
MIT License
288 stars 35 forks source link

working example for creating and writing archive files in node and browser #63

Closed ganeshkbhat closed 9 months ago

ganeshkbhat commented 10 months ago

Any working example present for creating and writing archive files in node and browser? https://github.com/nika-begiashvili/libarchivejs/issues/54

nika-begiashvili commented 10 months ago

Unfortunately this version doesn't support node or creating archives but I'm currently working on version 2 https://github.com/nika-begiashvili/libarchivejs/tree/v2 which will support both

sp90 commented 10 months ago

@nika-begiashvili just saw the release of v2 amazing stuff, anything that i can help with to get it ready for npm publish?

nika-begiashvili commented 10 months ago

It's published! please let me know if you encounter any bugs

sp90 commented 10 months ago

@nika-begiashvili want a separate ticket for @types/libarchive.js v2?

sp90 commented 10 months ago

Think i resolved the typing by using libarchive.js/src/libarchive over 'libarchive.js as the import source

nika-begiashvili commented 10 months ago

There are typescript built files in dist, I'm probably missing a way to expose it, I'll look into it

nika-begiashvili commented 10 months ago

Added "types" field to package.json, can you please check if it works in latest version ? @sp90

sp90 commented 9 months ago

Now works as expected amazing 👍 this can def be closed now