Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@meforma/vue-toaster

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meforma/vue-toaster - npm Package Compare versions

Comparing version 1.2.2 to 1.3.0

2

package.json
{
"name": "@meforma/vue-toaster",
"version": "1.2.2",
"version": "1.3.0",
"description": "Vue.js toaster notification",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -19,2 +19,4 @@ # Vue Toaster

You can install Toaster so it's usable globally:
```js

@@ -28,2 +30,12 @@ // In you main.js

You can also import Toaster locally:
```js
import { createToaster } from "@meforma/vue-toaster";
const toaster = createToaster({ /* options */ });
toaster.show(`Hey! I'm here`);
```
## Usage

@@ -30,0 +42,0 @@

import Toaster from './Toaster.vue'
import Api from './api.js'
import createToaster from './api.js'
import Positions from './defaults/positions.js'
const Plugin = (app, options = {}) => {
let methods = Api(options)
let methods = createToaster(options)
app.$toast = methods

@@ -14,2 +14,2 @@ app.config.globalProperties.$toast = methods

export default Toaster
export { Toaster, Positions }
export { Toaster, Positions, createToaster }
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc