Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ezobjects

Package Overview
Dependencies
Maintainers
1
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ezobjects - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc