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

enumerate-properties

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enumerate-properties - npm Package Compare versions

Comparing version 0.0.1 to 1.0.0

2

lib/enumerate-properties.js

@@ -19,3 +19,3 @@ // Generated by CoffeeScript 1.6.3

str += prop;
callback(str);
callback(str, val);
}

@@ -22,0 +22,0 @@ }

{
"name": "enumerate-properties",
"author": "Thibault Charbonnier <thibaultcha@me.com>",
"version": "0.0.1",
"description": "Enumerates, get and set JavaScript objects properties in a dot notation format",
"version": "1.0.0",
"description": "Enumerates, get and set objects properties in a dot notation format",
"keywords": [

@@ -7,0 +7,0 @@ "enumerate",

@@ -29,8 +29,9 @@ # node-enumerate-properties

// Enumerate
properties.enumerate(obj, function (prop) {
//0 foo
//1 bar
//2 nested.foo
//3 nested.bar
//4 foobar
properties.enumerate(obj, function (key, value) {
//i key value
//0 foo 'bar'
//1 bar 'foo'
//2 nested.foo 'bar'
//3 nested.bar 'foo'
//4 foobar 'barfoo'
})

@@ -46,4 +47,8 @@

## Licence
### Who use it
- **[Equiprose](http://www.equiprose.org)**
### Licence
Copyright (C) 2013 by Thibault Charbonnier.

@@ -50,0 +55,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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