0.15.1 • Published 6 months ago

gluesql v0.15.1

Weekly downloads
5
License
Apache-2.0
Repository
github
Last release
6 months ago

GlueSQL.js

npm GitHub LICENSE Chat Coverage Status

GlueSQL.js is a SQL database for web browsers and Node.js. It works as an embedded database and entirely runs in the browser. GlueSQL.js supports in-memory storage backend, localStorage, sessionStorage and indexedDB backend supports.

Learn more at the https://gluesql.org/docs

Installation

Yarn

yarn add gluesql

npm

npm install gluesql

JavaScript modules

import { gluesql } from 'https://cdn.jsdelivr.net/npm/gluesql@0.15.0/gluesql.js';

Usage

import { gluesql } from 'gluesql';

const db = await gluesql();

await db.query(`
  CREATE TABLE User (id INTEGER, name TEXT);
  INSERT INTO User VALUES (1, "Hello"), (2, "World");
`);

const [{ rows }] = await db.query('SELECT * FROM User;');

console.log(rows);

License

This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.

0.15.0-rc.1

6 months ago

0.15.0

6 months ago

0.15.1

6 months ago

0.14.1-dev.0

12 months ago

0.14.4-rc.2

10 months ago

0.14.4-rc.1

10 months ago

0.14.4-rc.0

10 months ago

0.14.4-rc.6

10 months ago

0.14.4-rc.5

10 months ago

0.14.4-rc.4

10 months ago

0.14.4-rc.3

10 months ago

0.14.0

12 months ago

0.14.1

12 months ago

0.14.2

12 months ago

0.14.3

12 months ago

0.13.0

2 years ago

0.12.0

2 years ago

0.11.0

2 years ago

0.10.2-rc.1

2 years ago

0.10.2-rc.2

2 years ago

0.10.2-rc.0

2 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.13

4 years ago

0.1.12

4 years ago

0.1.11

4 years ago

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.5

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago