
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
nuxt-toastify
Advanced tools
Wrapper for Vue3 Toastify for easy & instant Notifications/Toasts in Nuxt 3 App.
Install the module to your Nuxt application with one command:
npx nuxi module add nuxt-toastify
While the module is zero config, if you want to override configs you can start by adding toastify
config in nuxt.config.ts
:
export default defineNuxtConfig({
modules: ['nuxt-toastify'],
toastify: {
autoClose: 2000,
position: 'top-right',
theme: 'auto',
},
})
Refer to Container Props for all configs and it's default values.
Call useToastify
in your project to trigger toasts.
<template>
<div>
<button @click="testToastify">Click me</button>
</div>
</template>
<script setup>
function testToastify() {
useToastify("Wow so easy !", {
autoClose: 1000,
position: ToastifyOption.POSITION.TOP_RIGHT,
});
}
</script>
Refer to Toast Props for all configs and default values to pass to composable useToastify
.
That's it! You can now use Nuxt Toastify in your Nuxt app ✨
Any valid pull requests will be accepted. Thank you.
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release
v1.0.0
FAQs
Wrapper for Vue 3 Toastify
We found that nuxt-toastify demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.