4

Is there any online site where we can play around with Underscore or Handlebar templates online without needing to download anything?

Bergi
  • 630,263
  • 148
  • 957
  • 1,375
udnisap
  • 899
  • 1
  • 10
  • 19
  • 2
    You can play around with underscore in the console on every webpage that has loaded the lib, for example [Underscore.js' own site](http://underscorejs.org/). – Bergi Apr 06 '13 at 13:33
  • @Bergi Yeah I that's how i was testing it now. I was looking for a more sophisticated way. :) – udnisap Apr 06 '13 at 14:43
  • You can import external JavaScript libraries through the *Resources* pane on http://jsfiddle.net/, you can do similar things on http://jsbin.com/ as well. – mu is too short Apr 06 '13 at 16:17

3 Answers3

7

if underscore templates are enough for your needs: http://rowno.github.io/architect/

netalex
  • 437
  • 5
  • 15
1

Personnaly I think the npm runkit is simpler and easier to use. You can test any npm package on it.

Since Underscore and Handlebars are both on npm, there is a runkit for each of them, Underscore and Handlerbars.

Otherwise, you can use an online code editor like jsfiddle or CodePen and add the libraries you want.

If you want more control over your files and your code you can use something like glitch which provides free Node environments that is perfect to test, for example, your serverside script. And if you need a database you can still use MongoDB Atlas alongside with glitch.

Elie G.
  • 1,514
  • 1
  • 22
  • 38
0

Cloud9 IDE has a node.js environment that you can use to install template modules and run them as well, all from the browser.

Jan Jongboom
  • 26,598
  • 9
  • 83
  • 120