{"id":30046726,"url":"https://github.com/taedmonds/lightts","last_synced_at":"2025-09-07T02:39:17.648Z","repository":{"id":305456776,"uuid":"1022974272","full_name":"taedmonds/lightts","owner":"taedmonds","description":"A lightweight CLI tool to scaffold TypeScript API projects.","archived":false,"fork":false,"pushed_at":"2025-07-29T12:55:07.000Z","size":92,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-29T13:21:55.965Z","etag":null,"topics":["api","express","framework","nodejs","npm-package"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/lightts","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taedmonds.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-20T08:53:46.000Z","updated_at":"2025-07-29T12:53:23.000Z","dependencies_parsed_at":"2025-07-20T09:12:17.015Z","dependency_job_id":"50031217-0f37-4e14-8a10-965a51c831b9","html_url":"https://github.com/taedmonds/lightts","commit_stats":null,"previous_names":["terance-edmonds/lightts","taedmonds/lightts"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/taedmonds/lightts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taedmonds%2Flightts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taedmonds%2Flightts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taedmonds%2Flightts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taedmonds%2Flightts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taedmonds","download_url":"https://codeload.github.com/taedmonds/lightts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taedmonds%2Flightts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269227926,"owners_count":24381839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","express","framework","nodejs","npm-package"],"created_at":"2025-08-07T08:53:44.645Z","updated_at":"2025-08-07T08:53:45.199Z","avatar_url":"https://github.com/taedmonds.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LightTs\n\n\u003cpre\u003e\n   __   _      __   __ ______  \n  / /  (_)__ _/ /  / //_  __/__\n / /__/ / _  / _ \\/ __// / (_-\u003c\n/____/_/\\_, /_//_/\\__//_/ /___/\n       /___/   \n\u003c/pre\u003e\n\nLightTs is a lightweight, native Node.js framework inspired by NestJS, designed for simplicity, transparency, and customization. Using Express and standard Node.js libraries, it provides a CLI tool (`lightts` or `lts`) to streamline project setup and feature integration, generating clean, editable code without complex abstractions.\n\n## Why LightTs?\n\nLightTs offers the structure of a modern framework with the feel of raw Node.js. It generates straightforward, customizable code (e.g., `auth.ts` for JWT using `jsonwebtoken`) that you can easily modify, avoiding heavy reliance on decorators or rigid patterns.\n\n## Features\n\n- **CLI Tool**: Initialize projects and generate components (controllers, services, validators, resources).\n- **Native Node.js**: Built on Express with standard libraries for transparency.\n- **File Naming**: Choose Angular-style (`auth.service.ts`) or regular (`auth.ts`).\n- **Response \u0026 Error Classes**: Simplify API responses and error handling.\n- **Feature Integration**: Add JWT, CORS, validation, or TypeORM with one command.\n- **Code Quality**: Optional ESLint, Prettier, and Husky setup.\n- **Database Support**: TypeORM with PostgreSQL, MySQL, MariaDB, or MongoDB, including migrations and seeders.\n\n## Installation\n\nInstall globally:\n\n```bash\nnpm install -g lightts\n```\n\nOr use with `npx`:\n\n```bash\nnpx lightts\n```\n\nRun with `lightts` or `lts`:\n\n```bash\nlts init\n```\n\n## Usage\n\n### Initialize a Project\n\n```bash\nlts init\n```\n\nPrompts for project name, file naming style, features (JWT, CORS, etc.), database options, code quality tools, and package manager.\n\n### Generate Components\n\n```bash\nlts generate controller user\nlts g service auth\nlts g validate user\nlts g resource product\n```\n\n### Add Features\n\n```bash\nlts add jwt\nlts a database\n```\n\n## Documentation\n\nFor detailed guides, examples, and API references, visit [lightts.dev](https://lightts.dev).\n\n## Contributing\n\nContributions are welcome! Fork the repo, create a branch, and submit a pull request. Follow coding conventions and add tests where applicable.\n\n## License\n\nMIT License. See [LICENSE](LICENSE) for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaedmonds%2Flightts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaedmonds%2Flightts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaedmonds%2Flightts/lists"}