Electron-compile support (compile for release-time on the fly on build). Docker images to build Electron app for Linux or Windows on any platform. Proton Native and Muon support. Downloads all required tools files on demand automatically (e.g. To code sign windows application, to make AppX), no need to setup. Close ( ); Features • Straightforward query and parameter binding interface • Full Buffer/Blob support • Extensive • API • • Big test suite • Written in modern C++ and tested for memory leaks • Bundles Sqlite3 3.15.0 as a fallback if the installing system doesn't include SQLite API See the in the wiki. Installing You can use to download and install: • The latest sqlite3 package: npm install sqlite3 • GitHub's master branch: npm install The module uses to download a pre-compiled binary for your platform, if it exists. Otherwise, it uses node-gyp to build the extension. It is also possible to make your own build of sqlite3 from its source instead of its npm package (). It is possible to use the installed package in instead of the vanilla Node.js. See for details. Source install To skip searching for pre-compiled binaries, and force a build from source, use npm install --build-from-source The sqlite3 module depends only on libsqlite3. However, by default, an internal/bundled copy of sqlite will be built and statically linked, so an externally installed sqlite3 is not required. If you wish to install against an external sqlite then you need to pass the --sqlite argument to npm wrapper: npm install --build-from-source --sqlite=/usr/local If building against an external sqlite3 make sure to have the development headers available. Mac OS X ships with these by default. If you don't have them installed, install the -dev package with your package manager, e.g. Apt-get install libsqlite3-dev for Debian/Ubuntu. Make sure that you have at least libsqlite3 >= 3.6. Note, if building against homebrew-installed sqlite on OS X you can do: npm install --build-from-source --sqlite=/usr/local/opt/sqlite/ Building for node-webkit Because of ABI differences, sqlite3 must be built in a custom to be used with. To build node-sqlite3 for node-webkit: • Install globally: npm install nw-gyp -g (unless already installed) • Build the module with the custom flags of --runtime, --target_arch, and --target. Npm install --build-from-source --runtime=node-webkit --target_arch=ia32 --target= $( NODE_WEBKIT_VERSION ) Remember the following: • You must provide the right --target_arch flag. Ia32 is needed to target 32bit node-webkit builds, while x64 will target 64bit node-webkit builds (if available for your platform). • After the sqlite3 package is built for node-webkit it cannot run in the vanilla Node.js (and vice versa). • For example, npm test of the node-webkit's package would fail. Open source image editing for mac pro. Visit the “” article in the node-webkit's wiki for more details.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |