npm.io
7.6.17 • Published 2 years ago

@storybook/channel-websocket

Licence
MIT
Version
7.6.17
Deps
2
Size
3 kB
Vulns
0
Weekly
0
Stars
91.1K

Storybook Websocket Channel

Storybook Websocket Channel is a channel for Storybook that can be used when the Storybook Renderer should communicate with the Storybook Manager over the network. A channel can be created using the createChannel function.

import createChannel from '@storybook/channel-websocket';

const channel = createChannel({ url: 'ws://localhost:9001' });

For more information visit: storybook.js.org

Keywords