-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 8.18 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 8.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "sqlite3",
"description": "Asynchronous, non-blocking SQLite3 bindings",
"version": "2.1.15",
"homepage": "http://github.com/developmentseed/node-sqlite3",
"author": {
"name": "Development Seed",
"email": "info@developmentseed.org",
"url": "http://developmentseed.org/"
},
"contributors": [
{
"name": "Konstantin Käfer",
"email": "mail@kkaefer.com"
},
{
"name": "Dane Springmeyer",
"email": "dane@developmentseed.org"
},
{
"name": "Will White",
"email": "will@developmentseed.org"
},
{
"name": "Orlando Vazquez",
"email": "ovazquez@gmail.com"
},
{
"name": "Artem Kustikov",
"email": "kustikoff@gmail.com"
},
{
"name": "Eric Fredricksen",
"email": "efredricksen@gmail.com"
},
{
"name": "John Wright",
"email": "mrjjwright@gmail.com"
},
{
"name": "Ryan Dahl",
"email": "ry@tinyclouds.org"
},
{
"name": "Tom MacWright",
"email": "tom@developmentseed.org"
},
{
"name": "Carter Thaxton",
"email": "carter.thaxton@gmail.com"
},
{
"name": "Audrius Kažukauskas",
"email": "audrius@neutrino.lt"
},
{
"name": "Johannes Schauer",
"email": "josch@pyneo.org"
},
{
"name": "Nathan Rajlich",
"email": "nathan@tootallnate.net"
},
{
"name": "AJ ONeal",
"email": "coolaj86@gmail.com"
},
{
"name": "Mithgol"
}
],
"repository": {
"type": "git",
"url": "git://github.com/developmentseed/node-sqlite3.git"
},
"engines": {
"node": ">= 0.6.13 && < 0.11.0"
},
"scripts": {
"pretest": "node test/support/createdb.js",
"test": "mocha -R spec --timeout 200000",
"install": "node-gyp rebuild"
},
"licenses": [
{
"type": "BSD"
}
],
"main": "./lib/sqlite3",
"gypfile": true,
"readme": "# NAME\n\nnode-sqlite3 - Asynchronous, non-blocking [SQLite3](http://sqlite.org/) bindings for [Node.js](http://nodejs.org/) 0.2-0.4 (versions 2.0.x), **0.6.13+, 0.8.x, and 0.10.x** (versions 2.1.x).\n\n(Can also run in [node-webkit](https://github.com/rogerwang/node-webkit) if it uses a supported version of Node's engine.)\n\n[](https://travis-ci.org/developmentseed/node-sqlite3)\n[](https://npmjs.org/package/sqlite3)\n\n\n# USAGE\n\n**Note:** the module must be [installed](#installing) before use.\n\n``` js\nvar sqlite3 = require('sqlite3').verbose();\nvar db = new sqlite3.Database(':memory:');\n\ndb.serialize(function() {\n db.run(\"CREATE TABLE lorem (info TEXT)\");\n\n var stmt = db.prepare(\"INSERT INTO lorem VALUES (?)\");\n for (var i = 0; i < 10; i++) {\n stmt.run(\"Ipsum \" + i);\n }\n stmt.finalize();\n\n db.each(\"SELECT rowid AS id, info FROM lorem\", function(err, row) {\n console.log(row.id + \": \" + row.info);\n });\n});\n\ndb.close();\n```\n\n\n\n# FEATURES\n\n* Straightforward query and parameter binding interface\n* Full Buffer/Blob support\n* Extensive [debugging support](https://github.com/developmentseed/node-sqlite3/wiki/Debugging)\n* [Query serialization](https://github.com/developmentseed/node-sqlite3/wiki/Control-Flow) API\n* [Extension support](https://github.com/developmentseed/node-sqlite3/wiki/Extensions)\n* Big test suite\n* Written in modern C++ and tested for memory leaks\n\n\n\n# API\n\nSee the [API documentation](https://github.com/developmentseed/node-sqlite3/wiki) in the wiki.\n\n\n# INSTALLING\n\nYou can use [`npm`](https://github.com/isaacs/npm) to download and install:\n\n* The latest `sqlite3` package: `npm install sqlite3`\n\n* GitHub's `master` branch: `npm install https://github.com/developmentseed/node-sqlite3/tarball/master`\n\nIn both cases the module is automatically built with npm's internal version of `node-gyp`,\nand thus your system must meet [node-gyp's requirements](https://github.com/TooTallNate/node-gyp#installation).\n\nIt is also possible to make your own build of `sqlite3` from its source instead of its npm package ([see below](#building-from-the-source)).\n\nIt is possible to use the installed package in [node-webkit](https://github.com/rogerwang/node-webkit) instead of the vanilla Node.js, but a rebuild is required before use (see the next section).\n\n\n# REBUILDING FOR NODE-WEBKIT\n\nBecause of ABI differences, only a rebuilt version of `sqlite3` can be used in [node-webkit](https://github.com/rogerwang/node-webkit).\n\nAfter the `sqlite3` module is installed (according to the previous section), do the following:\n\n1. Install [`nw-gyp`](https://github.com/rogerwang/nw-gyp) globally: `npm install nw-gyp -g` *(unless already installed)*\n\n2. Use `nw-gyp` to rebuild the module: `nw-gyp rebuild --target=0.6.2`\n\nRemember the following:\n\n* In the `nw-gyp rebuild` command, specify the actual target version of your node-webkit. The command must be run in sqlite3's directory (where its `package.json` resides).\n\n* After the `sqlite3` package is rebuilt for node-webkit it cannot run in the vanilla Node.js (and vice versa).\n * For example, `npm test` of the node-webkit's package would fail.\n * If you need `sqlite3` package both for Node.js and node-webkit, then you should make two separate installations of `sqlite3` (in different directories) and rebuild only one of them for node-webkit.\n\nVisit the “[Using Node modules](https://github.com/rogerwang/node-webkit/wiki/Using-Node-modules)” article in the node-webkit's wiki for more details.\n\n\n# BUILDING FROM THE SOURCE\n\nUnless building via `npm install` (which uses its own `node-gyp`) you will need `node-gyp` installed globally:\n\n npm install node-gyp -g\n\nThe 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.\n\nIf you wish to install against an external sqlite then you need to pass the `--sqlite` argument to `node-gyp`, `npm install` or the `configure` wrapper.\n\n ./configure --sqlite=/usr/local\n make\n\nOr, using the node-gyp directly:\n\n node-gyp --sqlite=/usr/local\n make\n\nOr, using npm:\n\n npm install --sqlite=/usr/local\n\nIf 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.\n\nNote, if building against homebrew-installed sqlite on OS X you can do:\n\n ./configure --sqlite=/usr/local/opt/sqlite/\n make\n\n\n# TESTING\n\n[mocha](https://github.com/visionmedia/mocha) is required to run unit tests.\n\nIn sqlite3's directory (where its `package.json` resides) run the following:\n\n npm install mocha\n npm test\n\n\n\n# CONTRIBUTORS\n\n* [Konstantin Käfer](https://github.com/kkaefer)\n* [Dane Springmeyer](https://github.com/springmeyer)\n* [Will White](https://github.com/willwhite)\n* [Orlando Vazquez](https://github.com/orlandov)\n* [Artem Kustikov](https://github.com/artiz)\n* [Eric Fredricksen](https://github.com/grumdrig)\n* [John Wright](https://github.com/mrjjwright)\n* [Ryan Dahl](https://github.com/ry)\n* [Tom MacWright](https://github.com/tmcw)\n* [Carter Thaxton](https://github.com/carter-thaxton)\n* [Audrius Kažukauskas](https://github.com/audriusk)\n* [Johannes Schauer](https://github.com/pyneo)\n* [Mithgol](https://github.com/Mithgol)\n\n\n\n# ACKNOWLEDGEMENTS\n\nThanks to [Orlando Vazquez](https://github.com/orlandov),\n[Eric Fredricksen](https://github.com/grumdrig) and\n[Ryan Dahl](https://github.com/ry) for their SQLite bindings for node, and to mraleph on Freenode's #v8 for answering questions.\n\nDevelopment of this module is sponsored by [Development Seed](http://developmentseed.org/).\n\n\n# LICENSE\n\n`node-sqlite3` is [BSD licensed](https://github.com/developmentseed/node-sqlite3/raw/master/LICENSE).\n",
"readmeFilename": "README.md",
"_id": "sqlite3@2.1.15",
"_from": "sqlite3@"
}