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.3.3/dist/nano-sql.min.js" integrity="sha256-rMu9OODIi1wTkpKMdSY8rbmelYOo3/uoGohEZDbHaVU=" 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.3.3/dist/nano-sql.min.es5.js" integrity="sha256-1sHMq8+9Zy1Qk+egrnjU151TOx43wsTQy/oX4g7fNs8=" 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: 5/21/2019, 5:23:36 AM