2.0.1 ⢠Published 8 months ago
singularity-app v2.0.1
Create Singularity App š
A lightning-fast CLI tool to create result extraction projects using Bun + TypeScript
š Quick Start
bunx singularity-app@latest init
ā” What's Inside?
The generated project structure:
your-project/
āāā src/
ā āāā rollNumbers.txt # Add your roll numbers here
āāā out/
ā āāā results.json # Extracted results in JSON format
ā āāā results.csv # Extracted results in CSV format
āāā utils/
ā āāā helper.ts # Helper functions
ā āāā solver.ts # Core result extraction logic
āāā log.txt # Execution logs
āāā package.json
š Usage
- Create a new project:
bunx singularity-app@latest init
- Navigate to your project:
cd your-project-name
- Install dependencies:
bun install
- Add roll numbers:
Edit
src/rollNumbers.txt
and add your roll numbers (one per line):
12345
12346
12347
- Run the extraction:
bun run start
Results will be available in:
out/results.json
- JSON formatout/results.csv
- CSV formatlog.txt
- Execution logs
š ļø Project Features
- š Fast Execution - Powered by Bun runtime
- š Multiple Formats - Export to both JSON and CSV
- š Logging - Detailed execution logs
- š Type Safety - Built with TypeScript
- šÆ Simple Setup - Zero configuration needed
š¦ Requirements
- Bun 1.0 or later
š License
MIT Ā© Dev Shakya