{"id":23684395,"url":"https://github.com/syucream/lightdash-client-typescript-fetch","last_synced_at":"2026-01-19T11:00:57.053Z","repository":{"id":270098372,"uuid":"909329960","full_name":"syucream/lightdash-client-typescript-fetch","owner":"syucream","description":"A Lightdash API client library for TypeScript, Fetch API","archived":false,"fork":false,"pushed_at":"2026-01-12T09:04:37.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-12T18:37:30.291Z","etag":null,"topics":["lightdash","openapi"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/lightdash-client-typescript-fetch","language":"Shell","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/syucream.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-28T11:31:29.000Z","updated_at":"2025-03-26T16:32:07.000Z","dependencies_parsed_at":"2025-03-19T01:28:53.237Z","dependency_job_id":"7f0d8a67-5b89-43b0-8321-421cc4bbad60","html_url":"https://github.com/syucream/lightdash-client-typescript-fetch","commit_stats":null,"previous_names":["syucream/lightdash-client-typescript-fetch"],"tags_count":50,"template":false,"template_full_name":null,"purl":"pkg:github/syucream/lightdash-client-typescript-fetch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syucream%2Flightdash-client-typescript-fetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syucream%2Flightdash-client-typescript-fetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syucream%2Flightdash-client-typescript-fetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syucream%2Flightdash-client-typescript-fetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syucream","download_url":"https://codeload.github.com/syucream/lightdash-client-typescript-fetch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syucream%2Flightdash-client-typescript-fetch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28565871,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["lightdash","openapi"],"created_at":"2024-12-29T20:39:24.148Z","updated_at":"2026-01-19T11:00:57.003Z","avatar_url":"https://github.com/syucream.png","language":"Shell","readme":"# Lightdash TypeScript Client based on openapi-fetch\n\n[![npm version](https://badge.fury.io/js/lightdash-client-typescript-fetch.svg)](https://badge.fury.io/js/lightdash-client-typescript-fetch)\n\nA TypeScript client for the Lightdash API, generated from the official OpenAPI specification using [openapi-fetch](https://github.com/openapi-ts/openapi-typescript).\n\n## Installation\n\n```bash\nnpm install lightdash-client-typescript-fetch\n```\n\n## Usage\n\n```typescript\nimport createLightdashClient from 'lightdash-client-typescript-fetch';\n\n// Create a client instance\nconst client = createLightdashClient('https://your-lightdash-instance.com');\n\n// Example: Get projects\nconst { data, error } = await client.GET('/api/v1/projects');\nif (error) {\n  console.error('Error fetching projects:', error);\n} else {\n  console.log('Projects:', data);\n}\n```\n\n## Technical Stack\n\n- TypeScript\n- [openapi-fetch](https://github.com/openapi-ts/openapi-typescript) - Type-safe API client generator\n- [openapi-typescript](https://github.com/openapi-ts/openapi-typescript) - OpenAPI to TypeScript type generator\n\n## Development\n\n1. Clone the repository\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n3. Generate the client code:\n   ```bash\n   npm run generate\n   ```\n4. Build the project:\n   ```bash\n   npm run build\n   ```\n\n### Code Quality\n\nThe project uses ESLint and Prettier for code quality and formatting:\n\n- `npm run lint` - Check code style and potential issues\n- `npm run fix` - Automatically fix code style issues\n\nIndividual commands are also available:\n- `npm run lint:eslint` - Run ESLint checks only\n- `npm run lint:prettier` - Run Prettier checks only\n- `npm run fix:eslint` - Run ESLint auto-fix\n- `npm run fix:prettier` - Run Prettier auto-fix\n\n### Continuous Integration\n\nThe project uses GitHub Actions for CI:\n\n- Pull Request Checks:\n  - Runs linting on all pull requests\n  - Ensures code quality before merging\n\n- Main Branch CI:\n  - Runs on merges to main\n  - Generates client code from the latest OpenAPI spec\n  - Builds the project\n  - Uploads build artifacts\n\n## Publishing\n\nThis package is published to GitHub Packages. To publish a new version:\n\n1. Update the version in `package.json`\n2. Make sure you're authenticated with GitHub Packages\n3. Run:\n   ```bash\n   npm publish\n   ```\n\n## License\n\nMIT \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyucream%2Flightdash-client-typescript-fetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyucream%2Flightdash-client-typescript-fetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyucream%2Flightdash-client-typescript-fetch/lists"}