![Understanding the Security Concerns of npm Shrinkwrap](https://cdn.sanity.io/images/cgdhsj6q/production/37156cfb4523f411022d98b3b06138985ac81496-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Understanding the Security Concerns of npm Shrinkwrap
Explore the security risks of using npm shrinkwrap, the potential for outdated dependencies, and best practices for mitigating these concerns in your projects.
@storybook/addon-ondevice-notes
Advanced tools
Write notes for your react-native Storybook stories.
Readme
The Notes Addon allows you to write notes (text or markdown) for your stories in Storybook.
yarn add -D @storybook/addon-ondevice-notes
Then, add following content to .storybook/main.js
:
module.exports = {
addons: ['@storybook/addon-ondevice-notes'],
};
Use the notes
parameter to add a note to stories:
export default {
title: 'My title',
component: MyComponent,
parameters: {
notes: `
# Here I can add some markdown
Put a full new line between each element.
`,
},
};
See the example app for more examples.
FAQs
Write notes for your react-native Storybook stories.
The npm package @storybook/addon-ondevice-notes receives a total of 30,736 weekly downloads. As such, @storybook/addon-ondevice-notes popularity was classified as popular.
We found that @storybook/addon-ondevice-notes demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 13 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.
Security News
Explore the security risks of using npm shrinkwrap, the potential for outdated dependencies, and best practices for mitigating these concerns in your projects.
Security News
Node.js is taking steps towards removing Corepack from its distribution, aiming for changes in the next major release.
Security News
OpenSSF has released a guide to help package repositories adopt Trusted Publishers, which enhances security by using short-lived identity tokens for authentication, reducing the risks associated with long-lived secrets.