@nlabs/storybook-channel-websocket
v3.4.3
Published
[![Build Status on CircleCI](https://circleci.com/gh/nitrogenlabs/storybook.svg?style=shield)](https://circleci.com/gh/nitrogenlabs/storybook) [![CodeFactor](https://www.codefactor.io/repository/github/nitrogenlabs/storybook/badge)](https://www.codefactor
Downloads
4
Readme
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 '@nlabs/storybook-channel-websocket';
const channel = createChannel({ url: 'ws://localhost:9001' });
For more information visit: storybook.nitrogenlabs.com