{"id":16100940,"url":"https://github.com/mohammadmd1383/js-interactive","last_synced_at":"2026-04-19T13:32:34.212Z","repository":{"id":136695612,"uuid":"359934718","full_name":"MohammadMD1383/js-interactive","owner":"MohammadMD1383","description":"A JavaScript console simulator for vscode","archived":false,"fork":false,"pushed_at":"2021-06-28T13:48:51.000Z","size":146,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T00:26:17.686Z","etag":null,"topics":["interactive","javascript","javascript-console-simulator","node","node-js","nodejs","playground","repl","ts","typescript","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/MohammadMD1383.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-20T19:52:22.000Z","updated_at":"2024-02-08T07:55:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"87cf7c11-20e6-45df-90a9-9d5a9b47bc3e","html_url":"https://github.com/MohammadMD1383/js-interactive","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/MohammadMD1383/js-interactive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohammadMD1383%2Fjs-interactive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohammadMD1383%2Fjs-interactive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohammadMD1383%2Fjs-interactive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohammadMD1383%2Fjs-interactive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MohammadMD1383","download_url":"https://codeload.github.com/MohammadMD1383/js-interactive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohammadMD1383%2Fjs-interactive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32009119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["interactive","javascript","javascript-console-simulator","node","node-js","nodejs","playground","repl","ts","typescript","vscode","vscode-extension"],"created_at":"2024-10-09T18:48:44.267Z","updated_at":"2026-04-19T13:32:34.193Z","avatar_url":"https://github.com/MohammadMD1383.png","language":"TypeScript","readme":"# A javascript console simulator for vscode\n\n## Table Of Contents\n\n-   [Start](#start)\n-   [Basic Features](#basic-features)\n-   [Playground Example](#playground-example)\n-   [Notice](#notice)\n-   [Known Issues](#known-issues)\n-   [Related StackOverflow Questions](#related-stackoverflow-questions)\n\n### Start\n\n1. Download the extension from [vscode marketplace](https://marketplace.visualstudio.com/items?itemName=MohammadMD.js-interactive).\n2. Install it.\n3. Press `F1` and then simply type `js interactive` to find the commands as shown below.\n\n![image](https://user-images.githubusercontent.com/69088224/123110898-c061b380-d451-11eb-8e0c-15994c73b8f1.png)\n\n### Basic Features\n\n**Type And Execute:**\n\n-   almost any javascript that you can execute in a browser. _dev tools \u003e console_\n-   almost any javascript that you can execute in a NodeJs environment.\n-   almost any **typescript!** that you can execute in either NodeJs or browser environment.\u003csup\u003e[\\*](#notice)\u003c/sup\u003e\n\n### Playground Example\n\n```javascript\n// console features\n⫸\tconsole.log(\"Hello World\")\n!\tHello World\n⫷\tundefined\n\n⫸\tconsole.table(\n    \t{index: 0, title: \"js interactive\", description: \"JavaScript Console Simulator\"},\n    \t{index: 1, title: \"ts interactive\", description: \"TypeScript Playground!!!\"},\n    )\n\n| index | title          | description                  |\n| ----- | -------------- | ---------------------------- |\n| 0     | js interactive | JavaScript Console Simulator |\n| 1     | ts interactive | TypeScript Playground!!!     |\n\n⫷\tundefined\n\n// math\n⫸\t2 + 4 * Math.PI\n⫷\t14.566370614359172\n\n// create functions\n⫸\tfunction doSomeJob() { /* ... */ }\n⫷\tundefined\n\n// use typescript!\n⫸\tvar a: string = \"Hello World\"\n⫷\tundefined\n⫸\ta\n⫷\tHello World\n\n// use NodeJs!\n⫸\tfs.readFile(...)\n⫷\t...\n\n// and many more ...\n```\n\n![image](https://user-images.githubusercontent.com/69088224/117061149-17db8100-ad37-11eb-8083-fed1bfa6e243.png)\n\n### Notice\n\n-   NodeJs environment is still in preview. you may encounter some undefined behavior. I'm glad to reply to your issues!\n-   Since `v1.1.11` the typescript features depend on [VSCode Typescript Compiler](https://marketplace.visualstudio.com/items?itemName=MohammadMD.vscode-tsc) extension.\n\n### Known Issues\n\n-   nothing yet!\n\n### Related StackOverflow Questions\n\n-   [JavaScript: do all evaluations in one vm](https://stackoverflow.com/questions/67173347/javascript-do-all-evaluations-in-one-vm)\n-   [Context-preserving eval](https://stackoverflow.com/questions/67322922/context-preserving-eval)\n-   [Custom Node JS REPL input/output stream](https://stackoverflow.com/questions/67518218/custom-node-js-repl-input-output-stream)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadmd1383%2Fjs-interactive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohammadmd1383%2Fjs-interactive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadmd1383%2Fjs-interactive/lists"}