kirby-dance

0.1.0 • Public • Published

kirby-dance

<('.'<) (>'.')> <('.'<) (>'.')>

Generate strings of dancing Kirbies in Node.js and the browser.

Example

var kirbyDance = require('kirby-dance');
 
console.log(kirbyDance(4)); // "<('.'<) (>'.')> <('.'<) (>'.')>"
 
console.log(kirbyDance(-7)); // "(>'.')> <('.'<) (>'.')> <('.'<) (>'.')> <('.'<) (>'.')>"

API

kirbyDance(n)

Returns a string of n dancing Kirbies, where n is an integer. If n is negative, it reverses the dance.

License

ISC

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i kirby-dance

    Weekly Downloads

    1

    Version

    0.1.0

    License

    ISC

    Last publish

    Collaborators

    • khalifenizar