Nested Parenthetical Madness
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    pouncepublic

    Pounce

    Pounce is a kickass way to show GIFs in the Terminal. Here's what you need to do:

    Install Pounce with:

    npm install pounce

    Pounce currently only has one command: show, and it accepts three parameters:

    pounce.show("file.gif", scale, frame_interval);

    file.gif is the file path to the GIF file, scale is a value from 0 to 1, where 1 is the image's actual size, and frame_interval is how long each frame is displayed.

    So to throw it all together...

    var pounce = require("pounce");
     
    pounce.show("nyancat.gif", 1, 100);

    Here's a quick preview of what that code outputs. It's a bit glitchy because my Mac hates me.

    install

    npm i pounce

    Downloadslast 7 days

    0

    version

    0.0.6

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar