Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

db-info

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

db-info - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

.npmignore

14

package.json
{
"name": "db-info",
"description": "Node.js relational database information utility",
"keywords": ["database", "db", "sqlite", "mysql", "PostgreSQL"],
"homepage": "https://github.com/nearinfinity/node-db-info",
"version": "0.0.2",
"keywords": ["database", "db", "sqlite", "mysql", "PostgreSQL", "oracle", "db-oracle"],
"version": "0.0.3",
"engines": { "node" : ">=0.6.0" },
"author": "Joe Ferner <joe.ferner@nearinfinity.com>",
"maintainers": [

@@ -13,6 +13,4 @@ { "name": "Joe Ferner", "email": "joe.ferner@nearinfinity.com" },

"bugs": { "url": "https://github.com/nearinfinity/node-db-info/issues" },
"licenses": [ { "type" : "MIT" } ],
"repositories": [
{ "type": "git", "url": "https://github.com/nearinfinity/node-db-info.git" }
],
"license": "MIT",
"repository": { "type": "git", "url": "https://github.com/nearinfinity/node-db-info.git" },
"dependencies": {

@@ -25,2 +23,2 @@ "optimist": "~0.3.0",

}
}
}

@@ -10,4 +10,7 @@ # db-info

* mysql - via: [node-mysql](https://github.com/felixge/node-mysql)
* PostgreSQL - via: [node-postgres](https://github.com/brianc/node-postgres)
* Oracle - via: [node-oracle](https://github.com/mariano/node-db-oracle)
## Quick Examples
var dbinfo = require("db-info");

@@ -55,3 +58,3 @@

* opts - A hash of options.
* driver - can be either "mysql", "sqlite3", or "pg" (PostgreSQL)
* driver - can be either "mysql", "sqlite3", "db-oracle", or "pg" (PostgreSQL)
* _db_ - if db is passed in this connection will be used instead of making a new connection.

@@ -63,2 +66,3 @@ * _other_ - will be passed to the drivers connect.

__Example__
var db = new sqlite3.Database(':memory:');

@@ -65,0 +69,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc