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 2.0.1 to 2.0.2

2

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

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