1.0.0 • Published 8 years ago
file-summary-sqk v1.0.0
SQK File Summary
Install
npm install file-summary-sqk
Usage
var fileSummary = require('./file-summary-sqk');
var fileName = process.argv[2];
fileSummary(fileName, function(err, summary){
if(err){
console.error(err.message);
return;
}
console.log('Lines:', summary.lineCount);
console.log('Characters:', summary.charCount);
});
1.0.0
8 years ago