al

alfresco-logo

Produce a 25 character wide colored Alfresco logo

Showing:

Popularity

Downloads/wk

60

Maintenance

No Maintenance Data Available

Package

Dependencies

3

License

Apache-2.0

Type Definitions

Tree-Shakeable

No?

Categories

Readme

alfresco-logo

Produce a 25 character wide colored Alfresco logo

alfresco-cli-logo

As a library

In order to install this into your project you'll want to:

npm install --save alfresco-logo

Simply require this module and call it with two optional arguments. The first is the message to display under the logo. The second is an options object. Currently this only supports a single property left-pad which will be printed before each line.

var logo = require('alfresco-logo');
console.log(logo('Hello\nWorld', {'left-pad':'     '}));

The message will be split into lines and if they can be centered under the logo, they will be, if not they will left align with the logo.

You should be able to pass an ansi codes in the message and they should be honored.

CLI

If for some crazy reason you want to run this as a command line tool, you can npm install -g alfresco-logo. This will allow you to run alflogo to produce the logo.

If you'd like like for the logo to be "indented" you may append the --left-pad option like so:

alflogo --left-pad "     "

This will indent each line with 5 spaces (resulting in a total width of 30 characters per line.)

If you want a message to be displayed at the bottom of the logo you can pass it as the first argument to alflogo, or you can pass it in via stdin. Like so:

alflogo 'ng2-generator-app'
printf "Alfresco\nng2-generator-app" | alflogo

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial