An easy and quick way to see the number of lines and characters of your code
npm i -D code-size
- Run
node
-- (then ⏎ enter) - Paste
require('code-size')('./src')
where./src
can be a folder or a file -- (then ⏎ enter)
- Create new file called codeSize.js in the root of your folder
- Put this inside:
require('code-size')('./src')
where./src
can be a folder or a file - Run
node codeSize