Skip to content
A JavaScript library that creates a side-by-side view of your code with your explanations.
Failed to load latest commit information.
node_modules added tests Apr 27, 2013
samples added tests Apr 27, 2013
.npmignore added tests Apr 27, 2013
LICENSE.txt Create LICENSE.txt Oct 30, 2014
index.js added linebreaks on jsdoc like properties May 14, 2013
package.json 0.0.9 May 14, 2013 Added the license to the readme Oct 30, 2014


Generate a side-by-side view of your comments and code. Works on JavaScript files, CSS, and other similar languages.

More info at

var explainjs = require('explainjs');

var js = '//My Library\n doSomething();';

explainjs(js, function(error, results){
  // <p>My Library</p>

  // doSomething();

Here's how it looks:

ExplainJS Screenshot


If you're looking for a Grunt plugin to automate this on your project, checkout grunt-explainjs.


MIT License

Something went wrong with that request. Please try again.