Skip to content

Commit f5e8298

Browse files
author
Dane Springmeyer
committed
make mention of node v10 support
1 parent 113be5a commit f5e8298

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Asynchronous, non-blocking [SQLite3](http://sqlite.org/) bindings for [Node.js](
1010

1111
## Supported platforms
1212

13-
The `sqlite3` module works with Node.js v4.x, v5.x, v6.x and v7.x.
13+
The `sqlite3` module works with Node.js v4.x, v6.x, v8.x, and v10.x.
1414

1515
Binaries for most Node versions and platforms are provided by default via [node-pre-gyp](https://github.com/mapbox/node-pre-gyp).
1616

@@ -130,7 +130,7 @@ For instructions for building sqlcipher see
130130
To run node-sqlite3 against sqlcipher you need to compile from source by passing build options like:
131131

132132
npm install sqlite3 --build-from-source --sqlite_libname=sqlcipher --sqlite=/usr/
133-
133+
134134
node -e 'require("sqlite3")'
135135

136136
If your sqlcipher is installed in a custom location (if you compiled and installed it yourself),
@@ -143,7 +143,7 @@ Set the location where `brew` installed it:
143143
export LDFLAGS="-L`brew --prefix`/opt/sqlcipher/lib"
144144
export CPPFLAGS="-I`brew --prefix`/opt/sqlcipher/include"
145145
npm install sqlite3 --build-from-source --sqlite_libname=sqlcipher --sqlite=`brew --prefix`
146-
146+
147147
node -e 'require("sqlite3")'
148148

149149
### On most Linuxes (including Raspberry Pi)
@@ -154,9 +154,9 @@ Set the location where `make` installed it:
154154
export CPPFLAGS="-I/usr/local/include -I/usr/local/include/sqlcipher"
155155
export CXXFLAGS="$CPPFLAGS"
156156
npm install sqlite3 --build-from-source --sqlite_libname=sqlcipher --sqlite=/usr/local --verbose
157-
157+
158158
node -e 'require("sqlite3")'
159-
159+
160160
### Custom builds and Electron
161161

162162
Running sqlite3 through [electron-rebuild](https://github.com/electron/electron-rebuild) does not preserve the sqlcipher extension, so some additional flags are needed to make this build Electron compatible. Your `npm install sqlite3 --build-from-source` command needs these additional flags (be sure to replace the target version with the current Electron version you are working with):

0 commit comments

Comments
 (0)