New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

xmas-tree

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xmas-tree

xmas-tree ascii art

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

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

  • Laura Brown

License

MIT © Jaewe Heo

Keywords

cli-app

FAQs

Package last updated on 31 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts