0.0.14 • Published 2 years ago

@faga/tokei v0.0.14

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years 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

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.1

2 years ago