Download Reactive-Resume/apps/server/src/contributors/contributors.controller.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 495 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Reactive-Resume/apps/server/src/contributors/contributors.controller.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/Reactive-Resume/apps/server/src/contributors/contributors.controller.ts
-
curl -L -o contributors.controller.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Reactive-Resume/apps/server/src/contributors/contributors.controller.ts
495 Bytes
| import { Controller, Get } from "@nestjs/common"; | |
| import { ContributorsService } from "./contributors.service"; | |
| ("contributors") | |
| export class ContributorsController { | |
| constructor(private readonly contributorsService: ContributorsService) {} | |
| ("/github") | |
| async githubContributors() { | |
| return this.contributorsService.fetchGitHubContributors(); | |
| } | |
| ("/crowdin") | |
| async crowdinContributors() { | |
| return this.contributorsService.fetchCrowdinContributors(); | |
| } | |
| } | |