{"id":15034132,"url":"https://github.com/jianru-lin/lambda-view","last_synced_at":"2025-05-15T12:06:30.298Z","repository":{"id":142411182,"uuid":"66541434","full_name":"Jianru-Lin/lambda-view","owner":"Jianru-Lin","description":"A New Tool for Reading JavaScript Code since 2017","archived":false,"fork":false,"pushed_at":"2019-11-13T07:09:42.000Z","size":667,"stargazers_count":1753,"open_issues_count":15,"forks_count":121,"subscribers_count":88,"default_branch":"master","last_synced_at":"2025-05-15T12:06:24.345Z","etag":null,"topics":["editor","es6","javascript","parser","reader"],"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/Jianru-Lin.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,"governance":null}},"created_at":"2016-08-25T08:47:14.000Z","updated_at":"2025-04-06T00:21:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d5b6f84-e2c8-4010-a626-78eb742fd5b7","html_url":"https://github.com/Jianru-Lin/lambda-view","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jianru-Lin%2Flambda-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jianru-Lin%2Flambda-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jianru-Lin%2Flambda-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jianru-Lin%2Flambda-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jianru-Lin","download_url":"https://codeload.github.com/Jianru-Lin/lambda-view/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254337613,"owners_count":22054253,"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":["editor","es6","javascript","parser","reader"],"created_at":"2024-09-24T20:24:02.831Z","updated_at":"2025-05-15T12:06:25.286Z","avatar_url":"https://github.com/Jianru-Lin.png","language":"JavaScript","readme":"# lambda-view: A New Tool for Reading JavaScript Code since 2017\n\nlambda-view provides you a better way to READ JavaScript source code. \n\n# What's the difference?\n\nlambda-view is not something like sublime text/atom or what else editor that you have ever seen before:\n\n* It is not a text editor, but a reader (for JavaScript)\n* It understands the grammar of JavaScript, operating on the AST level, not just a simple token level highlighter\n* It transforms and reproduces the source code as needed\n* It is highly optimized for reading, which brings some special layouts and design\n* You can read on ipad (a comfortable way), not only computer\n\n# Read any JavaScript file you'd like to!\n\nYou are not limited to the demos! Just install lambda-view then read any JavaScript file you'd like to!\n\n# Get started in 2 steps\n\nSTEP-1 install it via npm (sudo required maybe):\n\n```\nnpm install -g lambda-view\n```\n\nSTEP-2 use lv command to open any JavaScript file:\n\n```\nlv target.js\n```\n\nThen (if everything is ok), your web browser will be opened automatically and shows you the result. Pretty easy, right? \n\n# Talk to me\n\nI created a gitter chat room here: \n\n[![Gitter](https://badges.gitter.im/Jianru-Lin/lambda-view.svg)](https://gitter.im/Jianru-Lin/lambda-view?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n\n# Helpful tips\n\n### Can I open remote file by URL?\n\nYes, lv command accepts URL:\n\n```\nlv https://code.jquery.com/jquery-3.1.1.js\n```\n\n### Can I open multiple files in one command?\n\nYes, you can provide multiple filenames to lv command:\n\n```\nlv file1.js file2.js file3.js\n```\n\nFurther more, you can use the wildcard (For Linux/Mac only, Not Windows):\n\n```\nlv *.js\n```\n\n### Can I use lambda-view on my iphone/ipad?\n\nYes. \n\nThis is an experimental feature. \n\nlambda-view embeded a small web server which accepts local access only by default. However you can reconfigure it to accept public access. This makes your computer become a web server that can be accessed by your iphone/ipad. \n\nYou can achieve it in 3 steps.\n\nSTEP-1 stop current lambda-view web server:\n\n```\nlv-svr stop\n```\n\nSTEP-2 start lambda-view web server with public mode:\n\n```\nlv-svr start --public --background\n```\n\nSTEP-3 open any JavaScript file you want to read on your iphone/ipad:\n\n```\nlv some-file.js\n```\n\nNow, the web browser will be opened, and you can copy it's URL to your iphone/ipad's safari. Then you can read it. (Your iphone/ipad )\n\nPlease make sure:\n\n* Your computer and your iphone/ipad must connected to the same LAN\n* If there is any firewall enabled on your computer, please configure it to allow public access on TCP port 23400\n\n# Future plans\n\nThis is just a begining. I'll add more features soon. \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjianru-lin%2Flambda-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjianru-lin%2Flambda-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjianru-lin%2Flambda-view/lists"}