{"id":21558130,"url":"https://github.com/koopjs/koop-output-csv","last_synced_at":"2025-03-18T03:28:10.262Z","repository":{"id":171136358,"uuid":"645863441","full_name":"koopjs/koop-output-csv","owner":"koopjs","description":"A Koop output plugin for generating CSV file.","archived":false,"fork":false,"pushed_at":"2023-07-20T14:46:57.000Z","size":481,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-24T23:22:19.441Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koopjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-05-26T16:02:56.000Z","updated_at":"2024-06-05T00:34:25.658Z","dependencies_parsed_at":null,"dependency_job_id":"d70404fc-6943-4fae-a028-d809e1c0ce23","html_url":"https://github.com/koopjs/koop-output-csv","commit_stats":null,"previous_names":["koopjs/koop-output-csv"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Fkoop-output-csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Fkoop-output-csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Fkoop-output-csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koopjs%2Fkoop-output-csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koopjs","download_url":"https://codeload.github.com/koopjs/koop-output-csv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244149191,"owners_count":20406329,"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","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":[],"created_at":"2024-11-24T08:14:04.700Z","updated_at":"2025-03-18T03:28:10.239Z","avatar_url":"https://github.com/koopjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Koop Output CSV\n![Coverage](./coverage.svg)\n\nThis is a Koop output plugin that transforms data from Koop Provider into a CSV file.\n\n## Use\nThe plugin uses highly customizable CSV template in JSON for field mapping with provider's data which can be passed via Koop instance. The options for the plugin are `csvTemplate`, `csvTemplateTransforms` and `csvFileName`. Both `csvTemplate`, `csvTemplateTransforms` can be request (`res.locals`) specific and/or application (`app.locals`) specific set in Koop server middleware. `csvFileName` is request (`res.locals`) specific used for naming CSV filename. \n\n[adlib](https://github.com/Esri/adlib) is used to interpolate template.\n\n\nVisit the [KoopJS docs](https://koopjs.github.io/docs/basics/what-is-koop) for instructions on building and deploying a Koop app.\n\n## Develop\n```\n# clone and install dependencies\ngit clone https://github.com/koopjs/koopjs-output-csv\ncd koopjs-output-csv\nnpm i\n\n# starts the example Koop app found in ./example-app.\nnpm run dev\n```\n\n## Test\nRun the `npm t` commmand to spin up the automated tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoopjs%2Fkoop-output-csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoopjs%2Fkoop-output-csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoopjs%2Fkoop-output-csv/lists"}