ezobjects
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "ezobjects", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Easy dynamic object generation with strict typing and set chaining", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,3 +0,21 @@ | ||
# EZ Objects v1.1.0 | ||
# EZ Objects v1.1.1 | ||
EZ Objects is a Node.js module, the purpose of which is to save you lots of time writing the initializer, property getters, | ||
and property setters for your data model objects. The library takes the form of a single function. This function can be | ||
passed a generic object containing a few configuration keys, defined below, that will allow it to automatically generate a | ||
new ES6 class object with the following features: | ||
* Auto-initializes all properties (including parent object properties, if extended) | ||
* * Default default values for different data types are listed further below | ||
* * You can specify the default value for a property in the config when you create the EZ Object | ||
* * You can pass a value that the property should have when instansiating the EZ Object | ||
* Automatically creates methods that perform getter/setter functionality with strict data typing | ||
* * Methods use myMethod() for getter and myMethod(val) for setter | ||
* * Methods throw TypeError if type does not match that specified | ||
* * Methods return 'this' when setting so set calls can be chained | ||
See the examples below to witness them used in a variety of situations. | ||
## Status | ||
Fully operational! Please open an issue for any bug reports or feature requests. | ||
@@ -4,0 +22,0 @@ |
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
18538
293