0.0.14 • Published 3 years ago

@faga/tokei v0.0.14

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

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.1

3 years ago