@storybook/channel-websocket
TypeScript icon, indicating that this package has built-in type declarations

7.6.17 • Public • Published

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

Dependencies (2)

Dev Dependencies (1)

Package Sidebar

Install

npm i @storybook/channel-websocket

Weekly Downloads

1,962,183

Version

7.6.17

License

MIT

Unpacked Size

3.37 kB

Total Files

6

Last publish

Collaborators

  • yannbf
  • kasperpeulen
  • valentinpalkovic
  • jreinhold
  • shilman
  • ndelangen
  • hypnosphi
  • tmeasday
  • igor-dv