0.15.1 • Published 2 years ago

gluesql v0.15.1

Weekly downloads
5
License
Apache-2.0
Repository
github
Last release
2 years 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

2 years ago

0.15.0

2 years ago

0.15.1

2 years ago

0.14.1-dev.0

2 years ago

0.14.4-rc.2

2 years ago

0.14.4-rc.1

2 years ago

0.14.4-rc.0

2 years ago

0.14.4-rc.6

2 years ago

0.14.4-rc.5

2 years ago

0.14.4-rc.4

2 years ago

0.14.4-rc.3

2 years ago

0.14.0

2 years ago

0.14.1

2 years ago

0.14.2

2 years ago

0.14.3

2 years ago

0.13.0

3 years ago

0.12.0

3 years ago

0.11.0

3 years ago

0.10.2-rc.1

3 years ago

0.10.2-rc.2

3 years ago

0.10.2-rc.0

3 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.5

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago