How to use the figlet.metadata function in figlet

To help you get started, we’ve selected a few figlet examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bsorrentino / maven-confluence-plugin / ts / logo.ts View on Github external
return  Rx.Observable.create( (subscriber) => {
        figlet.metadata('Standard', function(err, options, headerComment) {
            if (err) {
                subscriber.onError(err);
                return;
            }

            subscriber.onNext( { font:font, options:options, headerComment:headerComment });
            subscriber.onCompleted();
        });
    } );
}
github bsorrentino / maven-confluence-plugin / dist / logo.js View on Github external
return Rx.Observable.create(function (subscriber) {
        figlet.metadata('Standard', function (err, options, headerComment) {
            if (err) {
                subscriber.onError(err);
                return;
            }
            subscriber.onNext({ font: font, options: options, headerComment: headerComment });
            subscriber.onCompleted();
        });
    });
}

figlet

Creates ASCII Art from text. A full implementation of the FIGfont spec.

MIT
Latest version published 6 months ago

Package Health Score

76 / 100
Full package analysis