Nonvoluntary Professional Mangling

    hyperdrive-is-downloaded

    1.0.0 • Public • Published

    hyperdrive-is-downloaded

    Check if a hyperdrive has downloaded a given file locally.

    Usage

    npm i --save hyperdrive-is-downloaded

    const isDownloaded = require('hyperdrive-is-downloaded`)
     
    const drive = getHyperdriveSomehow()
     
    isDownloaded(drive, '/example.txt', (err, downloaded) => {
        if(err) handleYourErrors(err)
        else console.log('Is file downloaded:', downloaded)
    })

    Install

    npm i hyperdrive-is-downloaded

    DownloadsWeekly Downloads

    7

    Version

    1.0.0

    License

    AGPL-3.0

    Unpacked Size

    37.5 kB

    Total Files

    5

    Last publish

    Collaborators

    • rangermauve