Permalink
Browse files

Now available through npm.

  • Loading branch information...
1 parent 0e39e66 commit 56b054cd837f064fc473308d6de9bb5d0c8ad7b1 @Kijewski committed Mar 16, 2011
Showing with 9 additions and 1 deletion.
  1. +9 −1 Readme.md
View
@@ -36,7 +36,7 @@ Otherwise the requirements are the same as for
<h2 id="Tutorial">Tutorial</h2>
- var MySQLPool = require("./node-mysql-pool").MySQLPool,
+ var MySQLPool = require("mysql-pool").MySQLPool,
pool = new MySQLPool({database: "test"});
pool.properties.user = 'root';
@@ -60,6 +60,14 @@ You probably do not have to change anything if you already used
[node-mysql](https://github.com/felixge/node-mysql/)
or any of [its forks](https://github.com/felixge/node-mysql/network)!
+<h2 id="Installation">Installation</h2>
+
+* Using [npm](http://npmjs.org/): `npm install mysql-pool`
+* Using git:
+ * `git clone git@github.com:Kijewski/node-mysql-pool.git node-mysql-pool`
+ *     *or*
+ * `git submodule add git@github.com:Kijewski/node-mysql-pool.git deps/node-mysql-pool`
+
<h2 id="API">API</h2>
The API of this module is as similar to node-mysql as possible, with two exceptions:

0 comments on commit 56b054c

Please sign in to comment.