Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
gatsby-plugin-create-client-paths
Advanced tools
Gatsby-plugin for creating paths that exist only on the client
Please Note: With recent versions of Gatsby this plugin became obsolete. See migration notes below, or refer to the File System Route API documentation for details on how client only routes are now handled.
Use this plugin to simplify creating a “hybrid” Gatsby app with both statically rendered pages as well as "client-paths". These paths exist on the client only and do not correspond to index.html files in an app's built assets.
For more information refer to client-only routes & user authentication.
Extending from the use case below where the gatsby-plugin-create-client-paths
plugin has a prefix of /app/*
, the way you would do this with the File System Route API is by adopting this structure in your project:
|-- /src
|-- /pages
|-- /app
|-- [...].js
Additionally, you can also refer to the client-only-paths example.
Install:
npm install gatsby-plugin-create-client-paths
Then configure via gatsby-config.js
:
{
resolve: `gatsby-plugin-create-client-paths`,
options: { prefixes: [`/app/*`] },
},
In this example, all paths prefixed by /app/
will render the route described
in src/pages/app.js
.
FAQs
Gatsby-plugin for creating paths that exist only on the client
The npm package gatsby-plugin-create-client-paths receives a total of 9,782 weekly downloads. As such, gatsby-plugin-create-client-paths popularity was classified as popular.
We found that gatsby-plugin-create-client-paths demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 21 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 threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.