Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

demozap

Package Overview
Dependencies
Maintainers
0
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

demozap

Create demo components in a zap

  • 1.3.82
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
72
decreased by-30.1%
Maintainers
0
Weekly downloads
 
Created
Source

DemoZap ⚡

npm version CI semantic-release TypeScript

Create demo components in a zap

Maintaining example code and demo separately makes it painful, it's easy to get them out of sync 🙅

Code can't lie, documentation can 💥

DemoZap CLI keeps your code up to date with demo 💪

Usage

  • Name component files as [component_name].demozap.jsx
  • Run npx demozap generate

Use created demos 🎉

Demo 💥

Install

# React
npm install -D react-demo-tab
# Svelte
npm install -D svelte-demo-tab
# Vue
npm install -D vue-demo-tab

Generated Demos

  • Generated demo files are prefixed with _:
    MyComponent.demozap.jsx_MyComponent.jsx
  • or set custom prefix:
    npx demozap generate --prefix=CustomPrefix

Built with DemoZap

Manually create demos

To manually create demos use DemoTab component.

Contributing

All contributions are welcome!

Keywords

FAQs

Package last updated on 04 Dec 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc