
Security News
PolinRider: North Korea-Linked Supply Chain Campaign Expands Across Open Source Ecosystems
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.
code-tracker
Advanced tools
CodeTracker is a TypeScript library that helps developers track, manage, and report lines of code across different files in a project. It offers utilities to track individual files, update file statistics, and retrieve code metrics.
npm install code-tracker
Here's a simple example of how to use CodeTracker:
import { trackCodeUsage, getCodeMetrics } from 'code-tracker';
// Track a file
trackCodeUsage('example.ts');
// Get code metrics
const metrics = getCodeMetrics();
console.log(metrics.totalLinesOfCode); // Outputs: 200
See the API Documentation for more detailed information on each method. Coming soon!
We welcome contributions! Please see our CONTRIBUTING.md file for details on how to get involved.
CodeTracker follows Semantic Versioning (SemVer) and strives to maintain backward compatibility. See our versioning policy for more information.
Need help or have questions? Join our community forum or open an issue on GitHub.
CodeTracker is licensed under the MIT License - see the LICENSE.md file for details.
FAQs
Unknown package
The npm package code-tracker receives a total of 22 weekly downloads. As such, code-tracker popularity was classified as not popular.
We found that code-tracker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.