Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
storybook-addon-sketch
Advanced tools
Download sketch files straight from storybook.
yarn add -D storybook-addon-sketch
# or
npm i --save storybook-addon-sketch
There are two ways you can install this addon.
Add the following to your presets.js
.
module.exports = ['storybook-addon-sketch/preset'];
Add the following to your addons.js
.
import 'storybook-addon-sketch/register';
Add the following to your storybook webpack.config.js
.
module.exports = ({ config }) => {
config.entry.push(require.resolve('storybook-addon-sketch/entry'));
};
And you are all done!
To configure any options for storybook-addon-sketch
change your addons.js
to the following
require('storybook-addon-sketch/register-options')(options);
If you want to let your storybook users also download all the default renderings for a story kind (ex: Input).
require('storybook-addon-sketch/register-options')({ kind: true });
You will also need to have ran story2sketch with the option outputBy
set to kind
and the output
set to out/sketch
. This will output all the sketch files to a specific folder that users can download from.
FAQs
Get the sketch files for your stories in Storybook
The npm package storybook-addon-sketch receives a total of 335 weekly downloads. As such, storybook-addon-sketch popularity was classified as not popular.
We found that storybook-addon-sketch 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.