Skip to content
/ js-loc Public
forked from smikulic/js-loc

Simple LOC stats for JS oriented projects.

Notifications You must be signed in to change notification settings

zzbo/js-loc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Simple LOC stats for JS oriented projects.

alt tag

Install

npm install js-loc --save-dev

or

yarn add js-loc --dev

Usage

To check all your folder structure files run ./node_modules/.bin/jsloc in your terminal or add ./node_modules/.bin/jsloc as a script in your project's package.json file.

like this:

"scripts": {
  "jsloc": "./node_modules/.bin/jsloc"
}

and then run in your terminal: npm run jsloc

or

yarn jsloc

Current state

  • all nested files and folders
  • .js|.jsx|.ts|.tsx files
  • displays lines of code count and different js content stats

Coming soon

  • add more stats to display (feedback welcome)
  • support React (Component stats, redux|mobx|vue)
  • support for custom specific folders
  • support CSS
  • add tests

About

Simple LOC stats for JS oriented projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.5%
  • TypeScript 1.5%