
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@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 75,099 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.