npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

netlify-plugin-snyk

v1.3.3

Published

A Snyk Netlify build plugin

Readme

About

A Snyk Netlify build plugin to add to your Netlify website's pipeline and guard you from deploying static websites with known JavaScript vulnerabilities.

Usage

How to add security controls to your website build pipeline in 3 easy steps?

  1. Add the plugin!

    If you're using Netlify's UI, browse the Plugins directory and add netlify-plugin-snyk to your website project.

    Otherwise, if you use Netlify's configuration then add the plugin to your project's dependencies:

    npm install netlify-plugin-snyk --save-dev

    and then declare the plugin via a netlify.toml configuration file as follows:

    # netlify.toml
    [[plugins]]
    package = "netlify-plugin-snyk"
  2. Configure the Snyk API token

    If you alreay have the Snyk CLI installed you can get the token via snyk config get api and add an entry in Netlify's Environment variable settings page with variable name SNYK_TOKEN.

    Note: For CI integrations and alike, we recommend creating a Service account (available on the pro plan) at an org-level to avoid coupling the Snyk token to a personal user account.

To obtain a Snyk API token visit your Snyk account page.

  1. Deploy safely 🐶

How it works?

  • The Snyk security test runs on the onPreBuild event which means it gets triggered first, before a build has even started so it can fail fast and quick if any issues are found and you can attend to fixin them first.
  • The security scan will automatically detect the package manager used in the project and will only scan production dependencies to reduce signal-to-noise ratio.

Configuration

Plugin inputs

The plugin can be configured via a plugins.inputs section on the netlify.toml file. For example:

[[plugins]]
  package = "netlify-plugin-snyk"

  [plugins.inputs]
    failOnPreviews = true
    yarnWorkspaces = false

Available plugin configuration via inputs:

| name | description | default | | ---------------- | -------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | | failOnPreviews | Set this to false if you want to allow deploy previews to pass with a failed Snyk security scan. | true and it means deploy previews will fail if Snyk detects security issues | | yarnWorkspaces | If your repository uses Yarn Workspaces set this to true which adds the --yarn-workspaces flag | false |

Future configuration options to be added:

  • Set the Snyk organization to associate with the scan
  • Set severity level thresholds on which to fail
  • Set the Snyk API token via an input configuration (but recommend against setting it in code)
  • Set the plugin to automatically monitor the project on the Snyk UI (configurable to 'never', 'all', 'deploys')

Contributing

Please consult CONTRIBUTING for guidelines on contributing to this project.