Constructor
new require("Unicorn")(name)
Creates a new unicorn.
Parameters
| Name | Type | Description | 
|---|---|---|
| name | string | Unicorn name. | 
A module representing a unicorn.
Methods
- 
    getArt() → {string}
- 
    
    Gets ASCII art with unicorn portrait. ReturnsstringMultiline string (LF eol) with a picture of a unicorn. 
- 
    getName() → {string}
- 
    
    Gets unicorn name. ReturnsstringUnicorn name.