Skip to content

Commit 871f1b9

Browse files
authored
Update README.md
add links to the new sql.js.org
1 parent edab4c6 commit 871f1b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![npm](https://img.shields.io/npm/v/sql.js)](https://www.npmjs.com/package/sql.js)
77
[![CDNJS version](https://img.shields.io/cdnjs/v/sql.js.svg)](https://cdnjs.com/libraries/sql.js)
88

9-
For the impatients, try the demo here: https://sql-js.github.io/sql.js/examples/GUI/
9+
For the impatients, try the demo here: https://sql.js.org/examples/GUI/
1010

1111
*sql.js* is a port of [SQLite](http://sqlite.org/about.html) to Webassembly, by compiling the SQLite C code with [Emscripten](https://emscripten.org/docs/introducing_emscripten/about_emscripten.html), with [contributed math and string extension functions](https://www.sqlite.org/contrib?orderby=date) included. It uses a [virtual database file stored in memory](https://emscripten.org/docs/porting/files/file_systems_overview.html), and thus **doesn't persist the changes** made to the database. However, it allows you to **import** any existing sqlite file, and to **export** the created database as a [JavaScript typed array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays).
1212

@@ -18,7 +18,7 @@ Sql.js predates WebAssembly, and thus started as an [asm.js](https://en.wikipedi
1818

1919

2020
## Documentation
21-
A [full documentation](https://sql-js.github.io/sql.js/documentation/class/Database.html) generated from comments inside the source code, is available.
21+
A [full documentation](https://sql.js.org/documentation/class/Database.html) generated from comments inside the source code, is available.
2222

2323
## Usage
2424

@@ -32,7 +32,7 @@ const initSqlJs = require('sql.js');
3232
const SQL = await initSqlJs({
3333
// Required to load the wasm binary asynchronously. Of course, you can host it wherever you want
3434
// You can omit locateFile completely when running in node
35-
locateFile: file => `https://cdnjs.cloudflare.com/ajax/libs/sql.js/1.1.0/dist/${file}`
35+
locateFile: file => `https://sql.js.org/dist/${file}`
3636
});
3737

3838
// Create a database

0 commit comments

Comments
 (0)