How to download JS Bin to my computer to code [closed]

风流意气都作罢 提交于 2019-12-07 06:47:33

问题


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?


回答1:


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.

First you have to install Node.js. Then you will have to install the jsbin module with a command:

npm install jsbin

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/



来源:https://stackoverflow.com/questions/13133901/how-to-download-js-bin-to-my-computer-to-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!