0.3.0 • Published 8 months ago

@nitrogenbuilder/client v0.3.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

@nitrogenbuilder/client

This package provides the nitrogen-client.js script to be loaded on your client-side web pages. You should only load this script if the nitrogen-builder=true query parameter is present in the URL. This script will load the Nitrogen Builder client-side code and connect to the Nitrogen Builder server.

Installation

npm install @nitrogenbuilder/client

Vanilla JS Example

if (window.location.search.includes('nitrogen-builder=true')) {
	const script = document.createElement('script');
	// Make sure the version is what you expect
	script.src =
		'https://cdn.jsdelivr.net/npm/@nitrogenbuilder/client@0.2/nitrogen-client.js';
	script.async = true;
	document.head.appendChild(script);
}
0.3.0

8 months ago

0.2.3

12 months ago

0.2.2

1 year ago

0.2.5

12 months ago

0.2.4

12 months ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

2 years ago