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/