local-leetcode-trainer
Version:
A complete local LeetCode practice environment with multi-language support - use your IDE, collaborate with AI, submit with confidence
27 lines (22 loc) • 808 B
JavaScript
// Main entry point for Local LeetCode Trainer
// This file exports the core functionality for programmatic use
const { getCurrentLanguage, getLanguageConfig, LANGUAGE_CONFIGS } = require('./config.js');
module.exports = {
// Configuration
getCurrentLanguage,
getLanguageConfig,
LANGUAGE_CONFIGS,
// Core functionality
challenge: require('./challenge.js'),
testRunner: require('./test-runner.js'),
openProblem: require('./open-problem.js'),
complete: require('./complete.js'),
// Utility functions
version: require('../package.json').version,
// CLI info
info: {
name: 'Local LeetCode Trainer',
description: 'A complete offline LeetCode practice environment with multi-language support',
repository: 'https://github.com/karote00/local-leetcode-trainer'
}
};