0.0.14 • Published 12 months ago

@faga/tokei v0.0.14

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

napi-tokei

napi-tokei is a npm package build with Rust, helping you count your code quickly.

If you want to run the binary file, you can see tokei, napi-tokei is exactly made of it.

Install

Choose your preferred package manager.

# NPM
$ npm install napi-tokei

# YARN
$ yarn add napi-tokei

# PNPM
$ pnpm install napi-tokei

Examples

import path from 'path'

import { tokei } from 'napi-tokei'

// path need to be included, please use absolute path
const include = [path.resolve(__dirname, '../../')]

// Exclude any path that contains any of these strings.
const exclude = ['packages']

console.log(tokei(include, exclude))

npm.io

0.0.10

12 months ago

0.0.11

12 months ago

0.0.12

12 months ago

0.0.13

12 months ago

0.0.14

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.9

12 months ago

0.0.8

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.1

1 year ago