Notify President Madagascar

    @cotar/tar
    TypeScript icon, indicating that this package has built-in type declarations

    5.1.1 • Public • Published

    @cotar/tar

    Create tars from very large files, using hardlinks to deduplicate files

    import {TarBuilder} from '@cotar/tar';
    
    const tb = new TarBuilder('./output.tar');
    
    
    for (const fileName in fileList) {
        const fileData = await fs.promises.readFile(fileName)
        await tb.write(fileName, fileData);
    }
    
    await tb.close();

    Keywords

    none

    Install

    npm i @cotar/tar

    DownloadsWeekly Downloads

    1

    Version

    5.1.1

    License

    MIT

    Unpacked Size

    9.88 kB

    Total Files

    10

    Last publish

    Collaborators

    • blacha
    • linzds