slocjs
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

slocjs

SLOC: 83

Quickstart:

npm install slocjs

ESM

import and use like:

import { countLinesInDir } from "slocjs";
const lines = countLinesInDir("./src");
console.log(lines);

// SLOC: 3415

or

Common

const slocjs = require("slocjs");
const lines = slocjs.countLinesInDir("./src");
console.log(lines);

Tests

Run tests in watch mode:

npm run test:watch

Npmjs

https://www.npmjs.com/package/slocjs

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i slocjs

    Weekly Downloads

    127

    Version

    1.1.4

    License

    MIT

    Unpacked Size

    10.5 kB

    Total Files

    19

    Last publish

    Collaborators

    • adnjoo