How to use the lifx-lan-client.Client function in lifx-lan-client

To help you get started, we’ve selected a few lifx-lan-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Sawtaytoes / LIFX-Controller / redux / lifxNetwork / addLifxNetworkClientEpic.js View on Github external
const addLifxNetworkClientEpic = (
	action$,
) => (
	action$
	.pipe(
		ofType(
			tasks
			.actions
			.START_TASK
		),
		ofTaskName(
			'serve',
			'undefined',
		),
		mapTo(
			lifxLanClient
			.Client
		),
		map(LifxClient => (
			new LifxClient()
		)),
		map(addLifxNetworkClient),
		catchEpicError(),
	)
)

lifx-lan-client

Node.js implementation of the LIFX LAN protocol

MIT
Latest version published 2 years ago

Package Health Score

49 / 100
Full package analysis

Popular lifx-lan-client functions