You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

loctok

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loctok

Count LOC & LLM tokens fast (prebuilt binaries).

Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

loctok (npm)

Run the Rust-powered loctok CLI via npm.

Quick start

npx loctok            # run without installing
# or
npm i -g loctok       # install globally

The package downloads a prebuilt binary from GitHub Releases during install.

Environment

  • LOCTOK_DOWNLOAD_BASE: override the download host (for mirrors), defaults to https://github.com/zxch3n/loctok/releases/download.

If your platform is not supported or the download fails, install from source:

cargo install loctok

FAQs

Package last updated on 13 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts