Setup

Installing nanoSQL

Browser

Simply copy one of the script links below and drop it into your page head.

<!-- ES6 Only (Faster & Smaller) -->
<script src="https://cdn.jsdelivr.net/npm/@nano-sql/core@2.2.7/dist/nano-sql.min.js" integrity="sha256-HbGybc64uPDRB38Ljg/S1Wy07GV1LwZSW9xMwW0dN7o=" crossorigin="anonymous"></script>
<!-- ES5 (Internet Explorer/Old Browser Support) -->
<!-- Promise must be polyfilled as well -->
<script src="https://cdn.jsdelivr.net/npm/@nano-sql/core@2.2.7/dist/nano-sql.min.es5.js" integrity="sha256-q+1cZU8FfLVC5yFQxrmxk9oP/smAbkkAPlxRBN5UEJM=" crossorigin="anonymous"></script>

NodeJS / Webpack / Browserify / etc

Run this in your project directory:

npm i @nano-sql/core --save

Then use in your project:

// typescript & babel
import { nSQL } from "@nano-sql/core";

// commonjs / node syntax
const nSQL = require("@nano-sql/core").nSQL;

Now that nanoSQL is setup in your environment you can create your first database!

Last Updated: 4/19/2019, 12:15:41 PM