{"id":22707541,"url":"https://github.com/mattzeunert/fromjs","last_synced_at":"2025-04-12T21:21:54.664Z","repository":{"id":39988671,"uuid":"61711658","full_name":"mattzeunert/FromJS","owner":"mattzeunert","description":"See where each character on the screen came from in code.","archived":false,"fork":false,"pushed_at":"2022-12-11T05:39:36.000Z","size":25622,"stargazers_count":539,"open_issues_count":55,"forks_count":19,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-04T08:01:44.763Z","etag":null,"topics":["dataflow-analysis","debugging","dynamic-analysis"],"latest_commit_sha":null,"homepage":"http://www.fromjs.com/","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/mattzeunert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-22T10:50:05.000Z","updated_at":"2024-12-19T01:52:23.000Z","dependencies_parsed_at":"2023-01-26T16:31:14.427Z","dependency_job_id":null,"html_url":"https://github.com/mattzeunert/FromJS","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattzeunert%2FFromJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattzeunert%2FFromJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattzeunert%2FFromJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattzeunert%2FFromJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattzeunert","download_url":"https://codeload.github.com/mattzeunert/FromJS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248632535,"owners_count":21136707,"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":["dataflow-analysis","debugging","dynamic-analysis"],"created_at":"2024-12-10T10:13:21.392Z","updated_at":"2025-04-12T21:21:54.634Z","avatar_url":"https://github.com/mattzeunert.png","language":"JavaScript","readme":"# FromJS [![Build Status](https://circleci.com/gh/mattzeunert/FromJS/tree/master.svg?style=shield\u0026circle-token=f6f134d69e7755b89c1ac418e6d3f84df593d9a1)](https://circleci.com/gh/mattzeunert/FromJS/tree/master)\n\nFromJS is an experiental dynamic data-flow analysis tool for front-end JavaScript. It can tell you where each bit of content on a web page came from.\n\nFor example, some content might have been loaded using `fetch`, some might have been stored in `localStorage`, and some might have been hard-coded in the JavaScript code.\n\n![](https://user-images.githubusercontent.com/1303660/50536171-80a00680-0b49-11e9-92a5-69ee2185ce0c.gif)\n\n## Getting started\n\nInstall with `npm install -g @fromjs/cli` and then run `fromjs`. This will open a new Chrome browser window.\n\nBy default FromJS will launch a web server on [localhost:7000](http://localhost:7000/) and store the collected data in `./fromjs-session`.\n\nLoading pages will be slow! For large apps expect it to take several minutes. Maybe try something simple like [Backbone TodoMVC](http://todomvc.com/examples/backbone/) to get started.\n\n## fromJSInspect\n\nInstead of using the visual DOM Inspector you can also use the global `fromJSInspect` function in the inspected page.\n\nIf you control the code for the inspected page you can write something like this:\n\n```\nvar greeting = \"Hello world!\"\nfromJSInspect(greeting)\n```\n\nOr you can inspect DOM elements:\n\n```\nfromJSInspect(document.querySelector(\"#app\"))\n```\n\n## How it works\n\nRead about it [here](http://www.mattzeunert.com/2018/05/27/dynamic-dataflow-analysis-for-javascript-how-fromjs-2-works.html), or watch [this video](https://www.youtube.com/watch?v=HmuadtxtBS4\u0026feature=youtu.be).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattzeunert%2Ffromjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattzeunert%2Ffromjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattzeunert%2Ffromjs/lists"}