
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
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
FAQs
Wrapper for Vue 3 Toastify
The npm package nuxt-toastify receives a total of 545 weekly downloads. As such, nuxt-toastify popularity was classified as not popular.
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
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.