Proyectos
Ver en GitHub
bendytree/explainjs
Acerca de
A JavaScript library that creates a side-by-side view of your code with your explanations.
Herramientas de desarrolloCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalExplainJS
Generate a side-by-side view of your comments and code. Works on JavaScript files, CSS, and other similar languages.
More info at http://www.explainjs.com
var explainjs = require('explainjs');
var js = '//My Library\n doSomething();';
explainjs(js, function(error, results){
// <p>My Library</p>
console.log(results.sections[0].comments);
// doSomething();
console.log(results.sections[0].code);
});
Here's how it looks:

Grunt
If you're looking for a Grunt plugin to automate this on your project, checkout grunt-explainjs.
License
Explorar proyectos relacionados
Cargando…