picus
v1.0.2
Published
Customizable notification system for websites built with vanilla js
Downloads
2
Readme
Picus
Picus is a customizable notification system for websites built with vanilla.js. Picus is a lightweight library, taking less than 15KB. Picus is a work in progress, so we will continuously add more functionality, however, you can already use it for your projects.
All suggestions and bugs can be reported to our telegram group or the Picus GitHub issues.
Repository - Npm.js
Install
npm install picus
or
yarn add picus
Usage
import { push } from 'picus';
push('success', 'Success message', {
maxCount: 7,
lifetime: 5000,
position: 'bottom-right',
})
Global settings
import { init } from 'picus';
init({
maxCount: 7,
lifetime: 5000,
position: 'bottom-right',
})