프로젝트
GitHub에서 보기
bendytree/explainjs
소개
A JavaScript library that creates a side-by-side view of your code with your explanations.
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
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
관련 프로젝트 살펴보기
불러오는 중…