{"id":15045147,"url":"https://github.com/ironsource/node-chrome-unmirror","last_synced_at":"2026-01-20T22:02:21.595Z","repository":{"id":57198491,"uuid":"56230968","full_name":"ironSource/node-chrome-unmirror","owner":"ironSource","description":null,"archived":false,"fork":false,"pushed_at":"2016-06-17T06:47:13.000Z","size":4,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-06T08:43:19.444Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ironSource.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-04-14T11:12:42.000Z","updated_at":"2016-05-17T16:05:16.000Z","dependencies_parsed_at":"2022-09-16T14:11:19.398Z","dependency_job_id":null,"html_url":"https://github.com/ironSource/node-chrome-unmirror","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironSource%2Fnode-chrome-unmirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironSource%2Fnode-chrome-unmirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironSource%2Fnode-chrome-unmirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironSource%2Fnode-chrome-unmirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ironSource","download_url":"https://codeload.github.com/ironSource/node-chrome-unmirror/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247840468,"owners_count":21004919,"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-09-24T20:51:30.598Z","updated_at":"2026-01-20T22:02:21.556Z","avatar_url":"https://github.com/ironSource.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chrome-unmirror\r\n\r\n**Transform mirror objects from a remote Chrome debugger into local values.**\r\n\r\n[![npm status](http://img.shields.io/npm/v/chrome-unmirror.svg?style=flat-square)](https://www.npmjs.org/package/chrome-unmirror) [![node](https://img.shields.io/node/v/chrome-unmirror.svg?style=flat-square)](https://www.npmjs.org/package/chrome-unmirror)\r\n\r\n## example\r\n\r\n```js\r\nconst unmirror = require('chrome-unmirror')\r\n\r\nconst remoteObject\r\n  = { type: 'object'\r\n    , objectId: '{\"injectedScriptId\":1,\"id\":2}'\r\n    , subtype: 'regexp'\r\n    , className: 'RegExp'\r\n    , description: '/flamingo/i'\r\n    , preview:\r\n        { type: 'object'\r\n        , description: '/flamingo/i'\r\n        , lossless: true\r\n        , overflow: false\r\n        , properties:\r\n          [ { name: 'source', type: 'string', value: 'flamingo' }\r\n          , { name: 'global', type: 'boolean', value: 'false' }\r\n          , { name: 'ignoreCase', type: 'boolean', value: 'true' }\r\n          , { name: 'multiline', type: 'boolean', value: 'false' }\r\n          , { name: 'lastIndex', type: 'number', value: '0' } ]\r\n        , subtype: 'regexp' } }\r\n\r\n// Returns a RegExp instance: /flamingo/i\r\nunmirror(remoteObject)\r\n```\r\n\r\n## install\r\n\r\nWith [npm](https://npmjs.org) do:\r\n\r\n```\r\nnpm install chrome-unmirror\r\n```\r\n\r\n## tests\r\n\r\nUnit tests are currently performed as part of the test suite of an external, unpublished module. Apologies.\r\n\r\n## license\r\n\r\n[MIT](http://opensource.org/licenses/MIT) © [ironSource](http://www.ironsrc.com/).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironsource%2Fnode-chrome-unmirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fironsource%2Fnode-chrome-unmirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironsource%2Fnode-chrome-unmirror/lists"}