简体   繁体   English

用于控制台的Javascript资源,如Web应用程序?

[英]Javascript resources for console like web applications?

Suppose I want to implement a curses/console like program in HTML/CSS/Javascript. 假设我想在HTML / CSS / Javascript中实现类似程序的curses / console。 Examples might be a online text adventure game or a simple interpreter similar to the "Try the XYZ programming language now" web pages you see for languages like Ruby or Haskell. 示例可能是在线文本冒险游戏或简单的解释器,类似于您在Ruby或Haskell等语言中看到的“立即尝试XYZ编程语言”网页。 Is there a library/plugin/etc... that implements these terminal like interfaces? 是否有一个库/插件/ etc ...实现这些终端类接口?

Note: 注意:

After digging around for quite some time I found jquery-console , which looks quite promising at first glance. 经过一段时间的挖掘后,我发现了jquery-console ,乍一看看起来非常有前途。

Any other alternatives or recommendations? 还有其他选择或建议吗?

I have been using the termlib.js library for a couple of projects and it works really great. 我一直在使用termlib.js库进行几个项目,它的工作非常棒。 It helps with a lot of stuff like handling keyboard and parsing inputs. 它有助于处理键盘和解析输入等很多东西。

It should also be less bloated than any jQuery-based solution unless you were going to use jQuery anyway. 除非你打算使用jQuery,否则它应该比任何基于jQuery的解决方案都要少。

You might want to start off looking at the readme or try some samples . 您可能想要开始查看自述文件或尝试一些示例

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 扩展console.log()的javascript Web应用程序的客户端日志记录 - Client side logging for javascript web applications that extends console.log() Javascript在chrome控制台等网页上执行js - Javascript execute js on a web page such like chrome console 如何在Visual Studio Code预览侧打开Web控制台(例如Chrome控制台)并动态查看JavaScript更改? - How to open web console like Chrome console in Visual Studio Code preview side and see JavaScript changes dynamicaly? 搜索引擎索引如何为REACT等JavaScript Web应用程序工作? - How does Search Engine indexing work for JavaScript web applications like REACT? MVC是否适用于JavaScript Web应用程序? - Is MVC applicable to JavaScript web applications? 调试基于JavaScript和Web的应用程序 - Debugging javascript and web based applications 在JavaScript中打开Web控制台 - Open web console in javascript 使用 JavaScript 触发 web 控制台 - Trigger the web console with JavaScript 什么是“PHP”的运行时环境,例如用于构建服务器端 Web 应用程序的“Javascript”的“Node.js”运行时环境? - What is and where is the runtime environment for 'PHP' like the 'Node.js' runtime environment for 'Javascript' to build server-side web applications? 如何为从移动和javascript Web应用程序访问的rest API实现OAuth 2.0,如基于令牌的身份验证 - How to implement OAuth 2.0 like token based authentication for rest API which is accessed from mobile and javascript web applications
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM