Permalink
Browse files

initial license and readme files

  • Loading branch information...
1 parent a15c708 commit 0ae0c42156f1e88c176564e323efdb303759c732 @BryanDonovan BryanDonovan committed Nov 13, 2011
Showing with 55 additions and 0 deletions.
  1. +23 −0 LICENSE
  2. +32 −0 README.md
View
@@ -0,0 +1,23 @@
+Copyrights for code authored by MOG Inc. is licensed under the following terms:
+
+MIT License
+
+Copyright (c) 2011 MOG Inc. All Rights Reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to
+deal in the Software without restriction, including without limitation the
+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
View
@@ -0,0 +1,32 @@
+Node EasyMySQL
+==============
+
+## Purpose
+
+A small collection of simple functions that make using MySQL with node.js easier.
+Uses the [node-mysql](https://github.com/felixge/node-mysql) library.
+
+Developed by [MOG.com](http://mog.com)
+
+## Installation
+
+```
+npm install easy-mysql
+```
+
+## Usage
+
+ var settings = {
+ user : 'myuser',
+ password : 'mypass',
+ database : 'mydb'
+ };
+
+ var easy_mysql = EasyMySQL.create(settings);
+ easy_mysql.get_one("select * from foo where bar = ?", ['jazz'], function (err, result) {
+ // do stuff
+ });
+
+## License
+
+node-easy-mysql is licensed under the MIT license.

0 comments on commit 0ae0c42

Please sign in to comment.