{"id":20780179,"url":"https://github.com/xotic750/object-walk-x","last_synced_at":"2026-04-24T14:34:25.307Z","repository":{"id":3307061,"uuid":"49027644","full_name":"Xotic750/object-walk-x","owner":"Xotic750","description":"Walks a given object and invokes a function on each iteration.","archived":false,"fork":false,"pushed_at":"2023-01-04T22:42:10.000Z","size":3191,"stargazers_count":1,"open_issues_count":21,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-18T20:14:50.839Z","etag":null,"topics":["browser","ecmascript","nodejs","walker"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Xotic750.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-04T22:40:59.000Z","updated_at":"2020-01-31T11:02:48.000Z","dependencies_parsed_at":"2023-01-13T12:25:16.328Z","dependency_job_id":null,"html_url":"https://github.com/Xotic750/object-walk-x","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fobject-walk-x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fobject-walk-x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fobject-walk-x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xotic750%2Fobject-walk-x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xotic750","download_url":"https://codeload.github.com/Xotic750/object-walk-x/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243123525,"owners_count":20240035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["browser","ecmascript","nodejs","walker"],"created_at":"2024-11-17T13:32:42.900Z","updated_at":"2025-12-16T12:59:45.824Z","avatar_url":"https://github.com/Xotic750.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca\n  href=\"https://travis-ci.org/Xotic750/object-walk-x\"\n  title=\"Travis status\"\u003e\n\u003cimg\n  src=\"https://travis-ci.org/Xotic750/object-walk-x.svg?branch=master\"\n  alt=\"Travis status\" height=\"18\"\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://david-dm.org/Xotic750/object-walk-x\"\n  title=\"Dependency status\"\u003e\n\u003cimg src=\"https://david-dm.org/Xotic750/object-walk-x/status.svg\"\n  alt=\"Dependency status\" height=\"18\"/\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://david-dm.org/Xotic750/object-walk-x?type=dev\"\n  title=\"devDependency status\"\u003e\n\u003cimg src=\"https://david-dm.org/Xotic750/object-walk-x/dev-status.svg\"\n  alt=\"devDependency status\" height=\"18\"/\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://badge.fury.io/js/object-walk-x\"\n  title=\"npm version\"\u003e\n\u003cimg src=\"https://badge.fury.io/js/object-walk-x.svg\"\n  alt=\"npm version\" height=\"18\"\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://www.jsdelivr.com/package/npm/object-walk-x\"\n  title=\"jsDelivr hits\"\u003e\n\u003cimg src=\"https://data.jsdelivr.com/v1/package/npm/object-walk-x/badge?style=rounded\"\n  alt=\"jsDelivr hits\" height=\"18\"\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://bettercodehub.com/results/Xotic750/object-walk-x\"\n  title=\"bettercodehub score\"\u003e\n\u003cimg src=\"https://bettercodehub.com/edge/badge/Xotic750/object-walk-x?branch=master\"\n  alt=\"bettercodehub score\" height=\"18\"\u003e\n\u003c/a\u003e\n\u003ca\n  href=\"https://coveralls.io/github/Xotic750/object-walk-x?branch=master\"\n  title=\"Coverage Status\"\u003e\n\u003cimg src=\"https://coveralls.io/repos/github/Xotic750/object-walk-x/badge.svg?branch=master\"\n  alt=\"Coverage Status\" height=\"18\"\u003e\n\u003c/a\u003e\n\n\u003ca name=\"module_object-walk-x\"\u003e\u003c/a\u003e\n\n## object-walk-x\n\nWalks a given object and invokes a function on each iteration.\n\n- [object-walk-x](#module_object-walk-x)\n  - [`module.exports(object, props, supplier, [thisArg])`](#exp_module_object-walk-x--module.exports) ⏏\n    - [`.BREAK`](#module_object-walk-x--module.exports.BREAK) : \u003ccode\u003estring\u003c/code\u003e\n    - [`.SKIP`](#module_object-walk-x--module.exports.SKIP) : \u003ccode\u003estring\u003c/code\u003e\n    - [`.STOP`](#module_object-walk-x--module.exports.STOP) : \u003ccode\u003estring\u003c/code\u003e\n\n\u003ca name=\"exp_module_object-walk-x--module.exports\"\u003e\u003c/a\u003e\n\n### `module.exports(object, props, supplier, [thisArg])` ⏏\n\nThis method walks a given object and invokes a function on each iteration.\n\n**Kind**: Exported function\n\n| Param     | Type                  | Description                                                                                          |\n| --------- | --------------------- | ---------------------------------------------------------------------------------------------------- |\n| object    | \u003ccode\u003e\\*\u003c/code\u003e       | The `object` to walk.                                                                                |\n| props     | \u003ccode\u003efunction\u003c/code\u003e | The function that returns an array of the properties of `value` to be walked, invoked per iteration. |\n| supplier  | \u003ccode\u003efunction\u003c/code\u003e | The function invoked per iteration.                                                                  |\n| [thisArg] | \u003ccode\u003e\\*\u003c/code\u003e       | The `this` binding of `supplier`.                                                                    |\n\n**Example**\n\n```js\nconst objectWalk from 'object-walk-x';\n\nconst subject = {\n  one: {\n    a: true,\n    b: true,\n  },\n  two: {\n    x: true,\n    y: true,\n  },\n};\n\nobjectWalk(subject, Object.keys, function(value, prop, object, depth) {\n  object[prop + '_renamed'] = value;\n  delete object[prop];\n});\n\n// {\n//  one_renamed: {\n//    a_renamed: true,\n//     b_renamed: true\n//   },\n//   two_renamed: {\n//    x_renamed: true,\n//     y_renamed: true\n//   }\n// }\n```\n\n\u003ca name=\"module_object-walk-x--module.exports.BREAK\"\u003e\u003c/a\u003e\n\n#### `module.exports.BREAK` : \u003ccode\u003estring\u003c/code\u003e\n\n**Kind**: static property of [\u003ccode\u003emodule.exports\u003c/code\u003e](#exp_module_object-walk-x--module.exports)  \n**Default**: \u003ccode\u003e\u0026quot;break\u0026quot;\u003c/code\u003e  \n\u003ca name=\"module_object-walk-x--module.exports.SKIP\"\u003e\u003c/a\u003e\n\n#### `module.exports.SKIP` : \u003ccode\u003estring\u003c/code\u003e\n\n**Kind**: static property of [\u003ccode\u003emodule.exports\u003c/code\u003e](#exp_module_object-walk-x--module.exports)  \n**Default**: \u003ccode\u003e\u0026quot;skip\u0026quot;\u003c/code\u003e  \n\u003ca name=\"module_object-walk-x--module.exports.STOP\"\u003e\u003c/a\u003e\n\n#### `module.exports.STOP` : \u003ccode\u003estring\u003c/code\u003e\n\n**Kind**: static property of [\u003ccode\u003emodule.exports\u003c/code\u003e](#exp_module_object-walk-x--module.exports)  \n**Default**: \u003ccode\u003e\u0026quot;stop\u0026quot;\u003c/code\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxotic750%2Fobject-walk-x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxotic750%2Fobject-walk-x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxotic750%2Fobject-walk-x/lists"}