Skip to content

Commit 182681a

Browse files
authored
Fix links in README
See #358
1 parent 294d3af commit 182681a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# SQLite compiled to JavaScript
2-
[![CI status](https://github.com/kripken/sql.js/workflows/CI/badge.svg)](https://github.com/kripken/sql.js/actions)
2+
[![CI status](https://github.com/sql-js/sql.js/workflows/CI/badge.svg)](https://github.com/sql-js/sql.js/actions)
33
[![npm](https://img.shields.io/npm/v/sql.js)](https://www.npmjs.com/package/sql.js)
44
[![CDNJS version](https://img.shields.io/cdnjs/v/sql.js.svg)](https://cdnjs.com/libraries/sql.js)
55

6-
For the impatients, try the demo here: http://kripken.github.io/sql.js/examples/GUI
6+
For the impatients, try the demo here: https://sql-js.github.io/sql.js/examples/GUI/
77

8-
*sql.js* is a port of [SQLite](http://sqlite.org/about.html) to Webassembly, by compiling the SQLite C code with [Emscripten](http://kripken.github.io/emscripten-site/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://kripken.github.io/emscripten-site/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).
8+
*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).
99

1010
There are no C bindings or node-gyp compilation here, sql.js is a simple JavaScript file, that can be used like any traditional JavaScript library. If you are building a native application in JavaScript (using Electron for instance), or are working in node.js, you will likely prefer to use [a native binding of SQLite to JavaScript](https://www.npmjs.com/package/sqlite3).
1111

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

1616

1717
## Documentation
18-
A [full documentation](http://kripken.github.io/sql.js/documentation/#http://kripken.github.io/sql.js/documentation/class/Database.html) generated from comments inside the source code, is available.
18+
A [full documentation](https://sql-js.github.io/sql.js/documentation/class/Database.html) generated from comments inside the source code, is available.
1919

2020
## Usage
2121

@@ -79,7 +79,7 @@ var binaryArray = db.export();
7979
```
8080

8181
## Demo
82-
There are a few examples [available here](https://kripken.github.io/sql.js/index.html). The most full-featured is the [Sqlite Interpreter](https://kripken.github.io/sql.js/examples/GUI/index.html).
82+
There are a few examples [available here](https://sql-js.github.io/sql.js/index.html). The most full-featured is the [Sqlite Interpreter](https://sql-js.github.io/sql.js/examples/GUI/index.html).
8383

8484
## Examples
8585
The test files provide up to date example of the use of the api.
@@ -153,7 +153,7 @@ xhr.onload = e => {
153153
};
154154
xhr.send();
155155
```
156-
See: https://github.com/kripken/sql.js/wiki/Load-a-database-from-the-server
156+
See: https://github.com/sql-js/sql.js/wiki/Load-a-database-from-the-server
157157

158158

159159
### Use from node.js
@@ -184,7 +184,7 @@ var buffer = new Buffer(data);
184184
fs.writeFileSync("filename.sqlite", buffer);
185185
```
186186

187-
See : https://github.com/kripken/sql.js/blob/master/test/test_node_file.js
187+
See : https://github.com/sql-js/sql.js/blob/master/test/test_node_file.js
188188

189189
### Use as web worker
190190
If you don't want to run CPU-intensive SQL queries in your main application thread,
@@ -270,8 +270,8 @@ Although asm.js files were distributed as a single Javascript file, WebAssembly
270270

271271

272272

273-
## Versions of sql.js included in the [distributed artifacts](https://github.com/kripken/sql.js/releases/latest)
274-
For each [relase](https://github.com/kripken/sql.js/releases/), you will find a file called `sqljs.zip` in the *release assets*. It will contain:
273+
## Versions of sql.js included in the [distributed artifacts](https://github.com/sql-js/sql.js/releases/latest)
274+
For each [relase](https://github.com/sql-js/sql.js/releases/), you will find a file called `sqljs.zip` in the *release assets*. It will contain:
275275
- `sql-wasm.js` : The Web Assembly version of Sql.js. Minified and suitable for production. Use this. If you use this, you will need to include/ship `sql-wasm.wasm` as well.
276276
- `sql-wasm-debug.js` : The Web Assembly, Debug version of Sql.js. Larger, with assertions turned on. Useful for local development. You will need to include/ship `sql-wasm-debug.wasm` if you use this.
277277
- `sql-asm.js` : The older asm.js version of Sql.js. Slower and larger. Provided for compatibility reasons.
@@ -281,6 +281,6 @@ For each [relase](https://github.com/kripken/sql.js/releases/), you will find a
281281

282282
## Compiling
283283

284-
- Install the EMSDK, [as described here](https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html)
284+
- Install the EMSDK, [as described here](https://emscripten.org/docs/getting_started/downloads.html)
285285
- Run `npm run rebuild`
286286

0 commit comments

Comments
 (0)