如何将JS Bin下载到我的电脑进行编码 [英] How to download JS Bin to my computer to code
问题描述
我是JavaSript的新手,我喜欢 JS Bin ,但在桌面上没有任何东西可以用于开发。有没有办法让JS Bin无法访问网站?
I'm new to JavaSript, and I like JS Bin, but on desktop no thing is the same for development. Is there a way to work with JS Bin without access to the website?
推荐答案
是的,可以在你的网站上安装它自己的计算机,这是一个开始尝试服务器端JavaScript的好方法,因为JS Bin本身就是用JavaScript编写的。 JS Bin的源代码可在GitHub和 jsbin模块可用于 Node.js 。
Yes, it is possible to install it on your own computer and it is a great way to start experimenting with server-side JavaScript because JS Bin itself is itself written in JavaScript. The source code of JS Bin is available on GitHub and the jsbin module is available for Node.js.
首先你需要安装Node.js 。然后,您必须使用以下命令安装 jsbin模块:
First you have to install Node.js. Then you will have to install the jsbin module with a command:
npm install jsbin
并且 jsbin
命令现在应该可用。如果你运行它,你应该有一个功能齐全的JS Bin版本,可以在 http:// localhost:3000 /
And the jsbin
command should now be available. If you run it you should have a fully functional version of JS Bin available at http://localhost:3000/
这篇关于如何将JS Bin下载到我的电脑进行编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!