Just now this is an experimental library so, if you have an error with this library or you can't use it don't worry, this is normal and with the version 1.0.0 I hope that this works correctly.
You can style your text into your page only calling a function and selecting your text making that easy to you users.
- Light library
- Easy use
- Style fast
Install
npm i styletxt
How to use?
const st = require('styletxt');
st.styleTxt('color', 'backgroundColor');
- Color: Use whatever color tha you use with CSS3 or directly use a hexadecimal color to custom your font color.
- BackgroundColor: Use whatever color tha you use with CSS3 or directly use a hexadecimal color to custom your background-color.