1.0.2 • Published 4 years ago
picus v1.0.2
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 picusor
yarn add picusUsage
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',
})