npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vue-notify

v1.0.9

Published

A system for managing static and dynamic notifications in Vue/Vuex

Readme

Vue-Notify

A notification system for the Vue Ecosystem (Vue + Vuex)

Vue-Notify provides a easy to use plugin for Vue that leverages the extensibility of the Vuex store and provides the ability to create and manage dynamic and static notification queues.

The idea of this plugin is to be style / component agnostic. There is the option to use the built in styling or components but the core function of the plugin is to provide the underlying methods / structures and leave the styling / animation etc to the developer.

Features

  • Notifications with timers that can be configured per queue or per notification
  • Styleable via css or classes
  • Multiple notification Queues
  • Dynamic or Static notifications (For toast style and bell/counter style notifications)
  • Advanced queue options like "Dessimate", "Remove Early", "Remove Oldest", "Remove Youngest", "Extend"
  • Queues accessible via Vuex store (this.$store) and your own methods or via the Vue-Notify plugin with it's provided methods(this.$notify).

Requirements

Required Packages

  • Vue 2+
  • Vuex

Install

Step 1)


npm install vue-notify

Step 2

Then import and utilise the plugin

Important Note

It is important to pass in the instance of your Vuex store next to notify in Vue.use() as Vue-Notify leverages it in the plugin.


import { notify } from 'vue-notify'

Vue.use(notify, store, options)

The third parameter here is the options object for configuration of the Vue-Notify instance.

Step 3

Finally add the plugin as a Vuex module. This allows Vuex to include our store as a namespaced substore (module) and gives it the ability to be accessed via Vuex normal store methods.

So, firstly import.


import { notifyStore } from 'vue-notify'

And then register it as a module on the store object


modules: {
  notify: notifyStore
},

Usage

By default, notify instantiates with a "default" notification queue. More can be added via the newQueue() method. All functions assume the default queue if no queue is explicitly passed into the methods as a parameter.

| Method | Description | Parameters | Output | | ------ | ----------- | ---------- | ------ | | Vue.$notify.add() | Adds a new notification to a queue. | - | - | | Vue.$notify.newQueue() | Adds a new queue to carry notifications. | - | - | | Vue.$notify.count() | Returns the number of notifications in a queue. | - | - | | Vue.$notify.listQueues() | Returns all queues. | - | - | | Vue.$notify.notes() | Returns all the notifications in a queue. | - | - | | Vue.$notify.dessimate() | Removes all notifications from a queue. | - | - | | Vue.$notify.removeNewest() | Removes the youngest / newest notification from the queue array. i.e. Index 0. | - | - | | Vue.$notify.removeOldest() | Removes the oldest notification from a queue (array). i.e. Index -1 | - | - | | Vue.$notify.startTimer() | Starts the timeout until a notification disappears. | - | - | | Vue.$notify.removeNotification() | Removes a specific notification at a given index in a queue. | - | - |

Configuration

Congiguration options are yet to be implemented. They are currently being worked on.

Licence

MIT