0.1.5 • Published 3 years ago
bottom-tip v0.1.5
Bottom Tip(an at-bottom message tip)
Note: you have to maintain logs manually with this module.
Prototype https://youtu.be/wjLxXS0CV4k
I intented to replace webpack-hud with it but it turned out to be not as useful as webpack-hud since messages from Webpack is quite messy.
Usage
npm i --save-dev bottom-tipimport render from "bottom-tip";
render("warn", "some warning message");
setTimeout(function() {
render("inactive", null);
}, 2000);Types:
inactiveokok~(show and then hide)warnerror
Develop
Try this project:
yarn vite
# open http://localhost:3000License
MIT