Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for uppercase labels #16

Closed
klaudiosinani opened this issue May 24, 2018 · 0 comments
Closed

Add support for uppercase labels #16

klaudiosinani opened this issue May 24, 2018 · 0 comments
Labels
feature request Request for a new feature

Comments

@klaudiosinani
Copy link
Owner

klaudiosinani commented May 24, 2018

Is your feature request related to a problem? Please describe.
Add the ability to switch labels to uppercase, while preserving lowercase as the default state.

Describe the solution you'd like
Include an uppercaseLabel option that can be utilized through the config() method.

Additional context

// example.js
const signale = require('signale');

signale.config({uppercaseLabel: false}); // Default state
signale.success('Successful operation');
//=>  ✔  success    Successful operation

signale.config({uppercaseLabel: true});
signale.success('Successful operation');
//=>  ✔  SUCCESS    Successful operation
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant