开发者社区> 镜像站> NPM> tryme
tryme
Interactive code editing in the browser
Last updated 8 years ago by shtylman .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install tryme 
SYNC missed versions from official npm registry.

tryme

tryme is an interactive readme and demo viewer for javascript

live demo of tryme in action on itself!

// change foo to whatever you want!
var button = document.createElement('button');
button.innerHTML = 'foo';

button // =>

demos

Play around with some of these cool demos.

make your own

A tryme is simply a readme with the javascript code sections given special cow powers! If you want to make a javascript code block special, just add a // => at the end.

The tryme.jit.su web service will load any github repo and let users play around with your README and code examples.

cli

You can use tryme locally for testing, debug, and play before publishing your work.

npm install -g tryme
tryme /path/to/project

Tryme server is now running and you can open a browser to play around with your README or other example files.

credits

This project is made possible by the many awesome ones that have come before it.

See the dependencies for a full list; you might just learn something.

Current Tags

  • 0.0.2                                ...           latest (8 years ago)

3 Versions

  • 0.0.2                                ...           8 years ago
  • 0.0.1                                ...           8 years ago
  • 0.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 1
This Week 2
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (17)
Dev Dependencies (0)
None
Dependents (0)
None