1.0.2 • Published 3 years ago

picus v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Picus

N|Solid

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

Version

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',
})