0.20.0 • Published 2 years ago

flybase-js v0.20.0

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
2 years ago

Flybase-js

JS is the isomorphic Flybase library

This library combines the flybase-js and flybase-node libraries into one single intermingable isomorphic library.

Installation

NPM

To install via NPM:

npm install flybase-js --save

CDN

To install with a CDN (content delivery network) add the following scripts to the bottom of your <body> tag, but before you use any Flybase services:

<script src="https://cdn.jsdelivr.net/npm/flybase-js"></script>

or even:

<script src="https://unpkg.com/flybase-js"></script>

Getting Started

<html>
	<head>
		<script src="node_modules/flybase-js/dist/js/flybase.js"></script>
	</head>
	<script>
		const flybase = new Flybase({
			apiKey: 'YOUR_API_KEY',
			database: 'YOUR-APP',
			collection: 'YOUR-COLLECTION'
		});

		flybase.print();
	</script>
</html>

Server

const Flybase = require("flybase-js");

const flybase = new Flybase({
	apiKey: 'YOUR_API_KEY',
	database: 'YOUR-APP',
	collection: 'YOUR-COLLECTION'
});

flybase.print();
0.20.0

2 years ago

0.19.0

2 years ago

0.18.0

2 years ago

0.17.0

2 years ago

0.16.0

2 years ago

0.14.0

2 years ago

0.13.0

2 years ago

0.12.0

2 years ago

0.11.0

2 years ago

0.10.0

2 years ago

0.9.0

2 years ago

0.8.0

2 years ago

0.7.0

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.1.5

2 years ago