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 0.2.4 to 0.2.5

31

example.js

@@ -7,27 +7,8 @@ const ezobjects = require('./index');

fields: [
{
name: 'id',
type: 'int',
default: -1
},
{
name: 'firstName',
type: 'string'
},
{
name: 'lastName',
type: 'string'
},
{
name: 'checkingBalance',
type: 'float'
},
{
name: 'permissions',
type: 'Array'
},
{
name: 'favoriteDay',
type: 'Date'
}
{ name: 'id', type: 'int', default: -1 },
{ name: 'firstName', type: 'string' },
{ name: 'lastName', type: 'string' },
{ name: 'checkingBalance', type: 'float' },
{ name: 'permissions', type: 'Array' },
{ name: 'favoriteDay', type: 'Date' }
]

@@ -34,0 +15,0 @@ };

2

package.json
{
"name": "ezobjects",
"version": "0.2.4",
"version": "0.2.5",
"description": "Easy dynamic object generation with strict typing and set chaining",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -14,27 +14,8 @@ # EZ Objects

fields: [
{
name: 'id',
type: 'int',
default: -1
},
{
name: 'firstName',
type: 'string'
},
{
name: 'lastName',
type: 'string'
},
{
name: 'checkingBalance',
type: 'float'
},
{
name: 'permissions',
type: 'Array'
},
{
name: 'favoriteDay',
type: 'Date'
}
{ name: 'id', type: 'int', default: -1 },
{ name: 'firstName', type: 'string' },
{ name: 'lastName', type: 'string' },
{ name: 'checkingBalance', type: 'float' },
{ name: 'permissions', type: 'Array' },
{ name: 'favoriteDay', type: 'Date' }
]

@@ -41,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