{"id":20806291,"url":"https://github.com/nodesource/ah-deep-clone","last_synced_at":"2025-09-28T11:30:49.018Z","repository":{"id":57174682,"uuid":"79593538","full_name":"nodesource/ah-deep-clone","owner":"nodesource","description":"Creates a deep clone of a map of collected async hooks activities.","archived":false,"fork":false,"pushed_at":"2017-02-01T17:12:35.000Z","size":1179,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-17T04:23:12.686Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://nodesource.github.io/ah-deep-clone","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/nodesource.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":"2017-01-20T20:05:53.000Z","updated_at":"2021-12-26T19:11:37.000Z","dependencies_parsed_at":"2022-08-28T21:00:19.922Z","dependency_job_id":null,"html_url":"https://github.com/nodesource/ah-deep-clone","commit_stats":null,"previous_names":["thlorenz/ah-deep-clone"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesource%2Fah-deep-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesource%2Fah-deep-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesource%2Fah-deep-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodesource%2Fah-deep-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodesource","download_url":"https://codeload.github.com/nodesource/ah-deep-clone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234465630,"owners_count":18837990,"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":[],"created_at":"2024-11-17T19:19:07.817Z","updated_at":"2025-09-28T11:30:43.590Z","avatar_url":"https://github.com/nodesource.png","language":"JavaScript","readme":"# ah-deep-clone [![build status](https://secure.travis-ci.org/nodesource/ah-deep-clone.png)](http://travis-ci.org/nodesource/ah-deep-clone)\n\nCreates a deep clone of a [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) of collected async hooks activities.\n\n```js\nconst deepClone = require('ah-deep-clone')\nconst copy = deepClone(activities)\n```\n\n## Installation\n\n    npm install ah-deep-clone\n\n## API\n\n\u003c!-- Generated by documentation.js. Update this documentation by updating the source code. --\u003e\n\n### ahDeepClone\n\nClones the activities passed to it.\nAny modifications applied to the original won't be visible in the copy.\nThis includes additions/removals to the original Map\n\n**Parameters**\n\n-   `activities` **[Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map)\u0026lt;[Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number), [Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)\u003e** to be cloned\n\nReturns **[Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map)\u0026lt;[Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number), [Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)\u003e** cloned activities\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodesource%2Fah-deep-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodesource%2Fah-deep-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodesource%2Fah-deep-clone/lists"}