0.2.7 โ€ข Published 2 years ago

code-tracker v0.2.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

CodeTracker

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.

Features

  • ๐Ÿงพ Track Individual Files: Easily add and manage files and their lines of code.
  • ๐Ÿ”„ Update & Remove Files: Convenient methods to update or remove tracked files.
  • ๐Ÿ“Š Retrieve Code Metrics: Get total lines of code, file details, average lines per file, etc.
  • โœจ Utility Functions: Batch operations, filtering, reporting, and more.
  • ๐Ÿ’ช Type Safety with TypeScript: Written in TypeScript for enhanced development experience.

Installation

npm install code-tracker

Usage

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!

Contributing

We welcome contributions! Please see our CONTRIBUTING.md file for details on how to get involved.

Versioning & Backward Compatibility

CodeTracker follows Semantic Versioning (SemVer) and strives to maintain backward compatibility. See our versioning policy for more information.

Support & Community

Need help or have questions? Join our community forum or open an issue on GitHub.

License

CodeTracker is licensed under the MIT License - see the LICENSE.md file for details.

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago