
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@nuxt/scripts
Advanced tools
Load third-party scripts with better performance, privacy and DX in Nuxt Apps.
Better Privacy, Performance, and DX for Third-Party Scripts in Nuxt Apps.
[!IMPORTANT] Nuxt Scripts is in beta, use with caution as some APIs may change.
Loading third-party IIFE scripts using useHead
composable is easy. However,
things start getting more complicated quickly around SSR, lazy loading, and type safety.
Nuxt Scripts was created to solve these issues and more with the goal of making third-party scripts more performant, have better privacy and be better DX overall.
To get started, simply run:
npx nuxi@latest module add scripts
That's it! The Nuxt Scripts module should be downloaded and added to your Nuxt Config modules
.
Need some inspiration to start using Nuxt Scripts? Try out the following:
Licensed under the MIT license.
FAQs
Load third-party scripts with better performance, privacy and DX in Nuxt Apps.
The npm package @nuxt/scripts receives a total of 76,649 weekly downloads. As such, @nuxt/scripts popularity was classified as popular.
We found that @nuxt/scripts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.