enumerate-properties
Advanced tools
Comparing version 0.0.1 to 1.0.0
@@ -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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
7597
1
59