@snts.abode/loc.js
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

loc.js 📝

License: MIT npm version Maintenance Documentation loc.js-test

loc.js is a simple, no dependencies command line tool that counts the number of lines in a project.

Prerequisites

Use other verions at own risk

  • node >= 12.x.x

Installation

Install from npm

npm i -g @snts.abode/loc.js

Might have to use sudo on unix systems

sudo npm i -g @snts.abode/loc.js

Install from source

cd loc.js

yarn i

If the above command doesn't work due to admin privileges (unix system), try

cd loc.js

yarn i:sudo

Usage

cd my-project

loc.js <options>

Options:

  • -y or --yes - (boolean): Don't ask any questions.

  • -p or --paths - (string[]): Enter paths loc should work in, relative to the cwd.

  • -l or --log - (y|n): Whether or not the process should log.

Author

👤 Sihle Masebuku snts.abode@gmail.com

Show your support

Give a ⭐️ if this project helped you!

Package Sidebar

Install

npm i @snts.abode/loc.js

Weekly Downloads

2

Version

0.1.1

License

MIT

Unpacked Size

235 kB

Total Files

44

Last publish

Collaborators

  • snts.abode