Skip to content

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

License

Notifications You must be signed in to change notification settings

nizaroni/kirby-dance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published