1.0.3 • Published 6 years ago

xmas-tree v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

xmas-tree Build Status

:christmas_tree: xmas-tree ascii art

Install

$ npm install --save xmas-tree

Usage

const xmasTree = require('xmas-tree');

console.log(xmasTree());

Output

           *
         _/ \_
        \     /
        /_' '_\
         /'+ \
        / o o \
       /  -' *-\
      /.  oo+...\
     /o- @ o @o' \
    *-------------*
       [_______]
        \_____/

Decorations are generated randomly

API

xmasTree([options])

options

size

Type: number Default: 15

color (for CLI)

Type: boolean Default: false

version

Type: boolean Default: false

CLI

$ npm install --global xmas-tree
$ xmas-tree --help

  Usage
    $ xmas-tree

  Options
    --size number
    --color
    --loop

  Examples
    $ xmas-tree
    $ xmas-tree --size 30
    $ xmas-tree --color
    $ xmas-tree --color --loop
    $ xmas-tree --version

Contributors

License

MIT © Jaewe Heo

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago