Socket
Book a DemoInstallSign in
Socket

@takuma-ru/auto-story-generator

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@takuma-ru/auto-story-generator

Automatic real-time story file generation from React, Vue, Angular and Lit component files

latest
Source
npmnpm
Version
0.4.0
Version published
Weekly downloads
350
-59.63%
Maintainers
1
Weekly downloads
 
Created
Source

@takuma-ru/auto-story-generator

asg-thumbnail

Description

Automatic real-time story file generation from React, Vue, Angular and Lit component files

Getting Started

1. Install the package

npm i @takuma-ru/auto-story-generator

2. Add config

Add settings to main.ts in Storybook (./storybook/main.ts)

For React, Vite

import type { StorybookConfig } from "@storybook/react-vite";

import autoStoryGenerator from "@takuma-ru/auto-story-generator";

import { mergeConfig } from "vite";

const config: StorybookConfig = {
  viteFinal: async config =>
    mergeConfig(config, {
      plugins: [
        autoStoryGenerator.vite({
          preset: "react",
          imports: ["src/components/**/*.tsx"],
        }),
      ],
    }),
};

export default config;

Supported Frameworks

✅: Supported
🚧: Work in progress
❌: Not supported
📝: Not yet implemented

FrameworkSupported
React
Vue🚧
Lit
Angular🚧
Svelte📝
Custom📝

Contributors

Main contributor

takuma-ru : Core API, React presets more...

Special thanks

Keywords

storybook

FAQs

Package last updated on 19 May 2025

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