Novice Pokémon Master

    snekshot

    2.0.4 • Public • Published

    snekshot

    General Usage:

    • ~$ snekshot
    • ~$ sneklink <some link here>

    API

    const s = require('snekshot');
     
    // upload some file
    s({
      filename: 'aaa.png',
      file: fs.readFileSync('./aaa.png'),
      bucket: 'your.bucket',
      key: '<.<',
      secret: '>.>',
    });
     
    // make a shortlink
    s({
      filename: 'short',
      file: Buffer.from('Redirecting...'),
      redirect: 'https://google.com',
      bucket: 'your.bucket',
      key: ':3',
      secret: ':D',
    });

    Keywords

    none

    Install

    npm i snekshot

    DownloadsWeekly Downloads

    6

    Version

    2.0.4

    License

    MIT

    Last publish

    Collaborators

    • snek