@tsmx/json-traverse
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -49,4 +49,4 @@ function traverse(obj, callbacks = null, flattenArray = false, level = 0, path = []) { | ||
} | ||
}; | ||
} | ||
module.exports.traverse = traverse; |
{ | ||
"name": "@tsmx/json-traverse", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Traverse and manipulate JSON objects.", | ||
@@ -12,4 +12,3 @@ "main": "json-traverse.js", | ||
"test": "jest", | ||
"test-coverage": "jest --coverage", | ||
"coveralls": "jest --coverage && coveralls < coverage/lcov.info" | ||
"test-coverage": "jest --coverage" | ||
}, | ||
@@ -33,5 +32,4 @@ "repository": { | ||
"devDependencies": { | ||
"coveralls": "^3.1.0", | ||
"jest": "^26.4.2" | ||
} | ||
} | ||
} |
@@ -6,3 +6,3 @@ # [**@tsmx/json-traverse**](https://github.com/tsmx/json-traverse) | ||
 | ||
[](https://travis-ci.org/tsmx/json-traverse) | ||
[](https://img.shields.io/github/workflow/status/tsmx/json-traverse/git-ci-build) | ||
[](https://coveralls.io/github/tsmx/json-traverse?branch=master) | ||
@@ -113,3 +113,3 @@ | ||
MyArray: [0, 0], | ||
ArrayInArry: [0, 1, ['two', 'three', [4, 5, 6]]], | ||
ArrayInArray: [0, 1, ['two', 'three', [4, 5, 6]]], | ||
MyNumber: 123, | ||
@@ -153,3 +153,3 @@ MyString: 'test', | ||
// <li>Key: MyArray, Value: 0,0</li> | ||
// <li>Key: ArrayInArry, Value: 0,1,two,three,4,5,6</li> | ||
// <li>Key: ArrayInArray, Value: 0,1,two,three,4,5,6</li> | ||
// <li>Key: MyNumber, Value: 123</li> | ||
@@ -156,0 +156,0 @@ // <li>Key: MyString, Value: test</li> |
23650
1
6