ezobjects
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "ezobjects", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Easy dynamic object generation with strict typing and set chaining", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
# EZ Objects v2.0.1 | ||
# EZ Objects v2.0.2 | ||
@@ -12,3 +12,6 @@ EZ Objects is a Node.js module (that can also be usefully browserify'd) that aims to save you lots of time | ||
/** Create a customized object on the global (node) or window (browser) namespace */ | ||
/** | ||
* Create a customized object on the global (node) or window (browser) | ||
* namespace. | ||
*/ | ||
ezobjects.createObject({ | ||
@@ -42,8 +45,11 @@ className: 'DatabaseRecord', | ||
/** Connect to the MySQL database using our MySQL module async/await wrapper */ | ||
/** | ||
* Connect to the MySQL database using our MySQL module async/await | ||
* wrapper. | ||
*/ | ||
const db = new ezobjects.MySQLConnection(configMySQL); | ||
/** | ||
* Configure a new EZ Object called DatabaseRecord with one 'id' property that | ||
* contains extended MySQL configuration settings. | ||
* Configure a new EZ Object called DatabaseRecord with one 'id' | ||
* property that contains extended MySQL configuration settings. | ||
*/ | ||
@@ -272,3 +278,3 @@ const configDatabaseRecord = { | ||
**ezobjects.createObject(obj)** | ||
* Creates an ES6 class corresponding to the configuration outlined in `obj`, with constructor/init/getters/setters, and insert/load/update if `tableName` is configured | ||
* Creates an ES6 class corresponding to the configuration outlined in `obj`, with constructor, initializer, getters, setters, and insert/load/update if `tableName` is configured | ||
@@ -275,0 +281,0 @@ **ezobjects.MySQLConnection(config)** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53039
320