- support browsers: remove the module which not supported in browsers
Support more font families. Now you can use the fontFamily
option to specify the type of font as below:
import * as fontFamily from 'yoo-hoo/lib/fonts/ansi-shadow';
yo('yoo-hoo', {
fontFamily,
});
- support print rainbow fonts 🌈
- support padding start
- char height should be calculated from the source texts
- use a string text instead of a variable for the default font set module, so that it can work in webpack
- codes should be numbers in the font set module
Init release 🎉
- easily use to print notable logos and banners in the console
- a built-in font set
- support both nodejs and browers
- support setting max line length
- support colorful paint
- support rendering by yourself