Skip to content

finngreiter/lolcats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lolcats

rainbows!

inspired by busyloop's lolcat

usage

npm i lolcats

const lolcats = require('lolcats');

// console.log from package
lolcats.print('hello', 'this is lolcats!');
// or
lolcats.print('hello this is lolcats!');
// or
lolcats.print('hello', 'this', 'is', 'lolcats!');

// console.log yourself
console.log(lolcats.rainbow('hello', 'this is lolcats!'));
// or
console.log(lolcats.rainbow('hello this is lolcats!'));
// or
console.log(lolcats.rainbow('hello', 'this', 'is', 'lolcats!'));

example

api

  • lolcats.rainbow(...x) returns a rainbow string
  • lolcats.print(...x) console.logs a rainbow string

About

rainbows!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published