ezobjects
Advanced tools
Comparing version 2.0.2 to 2.0.3
12
index.js
@@ -12,7 +12,7 @@ const mysqlConnection = require('./mysql-connection'); | ||
* | ||
* @signature createTable(db, obj) | ||
* @module ezobjects | ||
* @signature ezobjects.createTable(db, obj) | ||
* @param db MySQLConnection | ||
* @param obj Object | ||
* @descrtiption Create a MySQL table with the specifications outlined in `obj`, if it doesn't already exist. | ||
* @description A function for automatically generating a MySQL table, if it doesn't already | ||
* exist, based on the values in the provided configuration object. | ||
*/ | ||
@@ -195,6 +195,6 @@ module.exports.createTable = async (db, obj) => { | ||
/** | ||
* @signature createObject(obj) | ||
* @module ezobjects | ||
* @signature ezobjects.createObject(obj) | ||
* @param obj Object Configuration object | ||
* @description Easy, automatic object creation from simple templates with strict typing | ||
* @description A function for automatically generating a class object based on | ||
* the values in the provided configuration object. | ||
*/ | ||
@@ -201,0 +201,0 @@ module.exports.createObject = (obj) => { |
@@ -5,3 +5,3 @@ /** Require external modules */ | ||
/** | ||
* @class MySQLConnection | ||
* @class ezobjects.MySQLConnection | ||
* @author Rich Lowe | ||
@@ -8,0 +8,0 @@ * @copyright 2018 Rich Lowe |
{ | ||
"name": "ezobjects", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Easy dynamic object generation with strict typing and set chaining", | ||
@@ -28,3 +28,6 @@ "main": "index.js", | ||
"mysql": "^2.15.0" | ||
}, | ||
"devDependencies": { | ||
"docket-parser": "^0.6.6" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# EZ Objects v2.0.2 | ||
# EZ Objects v2.0.3 | ||
@@ -72,4 +72,5 @@ EZ Objects is a Node.js module (that can also be usefully browserify'd) that aims to save you lots of time | ||
/** | ||
* Configure a new EZ Object called Person that extends from the DatabaseRecord | ||
* object and adds several additional properties and a MySQL index. | ||
* Configure a new EZ Object called Person that extends from the | ||
* DatabaseRecord object and adds several additional properties and | ||
* a MySQL index. | ||
*/ | ||
@@ -76,0 +77,0 @@ const configPerson = { |
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
372230
13
2113
321
1
2