
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
nuxt-push-plugins
Advanced tools
Pushes Nuxt.js plugins to the end of the list instead of the start.
When calling this.addPlugin inside a Nuxt module, Nuxt does in fact not add the plugin to the end of the list, but to the beginning via Array.unshift. There are cases where you actually want to push plugins to the end of the list so that they can make use of already-added plugins. This package provides a helper function to do that.
# npm
$ npm install nuxt-push-plugins
# Yarn
$ yarn add nuxt-push-plugins
Import the function into your Nuxt module and call it by passing this and the plugins you want to add. It behaves like Array.push.
// module.js
import nuxtPushPlugins from 'nuxt-push-plugins'
export default function () {
// single plugin
nuxtPushPlugins(this, require.resolve('./plugin'))
// plugin object
nuxtPushPlugins(this, {
src: require.resolve('./plugin'),
mode: 'client',
})
// multiple plugins
nuxtPushPlugins(this,
require.resolve('./plugin'),
{ src: require.resolve('./plugin'), mode: 'client' },
)
}
Are you missing something or want to contribute? Feel free to file an issue or a pull request! ⚙️
Hey, I am Sebastian Landwehr, a freelance web developer, and I love developing web apps and open source packages. If you want to support me so that I can keep packages up to date and build more helpful tools, you can donate here:
If you want to send me a one time donation. The coffee is pretty good 😊.
Also for one time donations if you like PayPal.
Here you can support me regularly, which is great so I can steadily work on projects.
Thanks a lot for your support! ❤️
FAQs
Pushes Nuxt.js plugins to the end of the list instead of the start.
The npm package nuxt-push-plugins receives a total of 654 weekly downloads. As such, nuxt-push-plugins popularity was classified as not popular.
We found that nuxt-push-plugins demonstrated a not healthy version release cadence and project activity because the last version was released 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.