You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.d.ts 588B

12345678910111213141516171819202122232425
  1. /**
  2. Colored symbols for various log levels.
  3. Includes fallbacks for Windows CMD which only supports a [limited character set](https://en.wikipedia.org/wiki/Code_page_437).
  4. @example
  5. ```
  6. import logSymbols = require('log-symbols');
  7. console.log(logSymbols.success, 'Finished successfully!');
  8. // Terminals with Unicode support: ✔ Finished successfully!
  9. // Terminals without Unicode support: √ Finished successfully!
  10. ```
  11. */
  12. declare const logSymbols: {
  13. readonly info: string;
  14. readonly success: string;
  15. readonly warning: string;
  16. readonly error: string;
  17. };
  18. export = logSymbols;