Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

koopjs/koop-output-csv

Open more actions menu

Repository files navigation

Koop Output CSV

Coverage

This is a Koop output plugin that transforms data from Koop Provider into a CSV file.

Use

The 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.

adlib is used to interpolate template.

Visit the KoopJS docs for instructions on building and deploying a Koop app.

Develop

# clone and install dependencies
git clone https://github.com/koopjs/koopjs-output-csv
cd koopjs-output-csv
npm i

# starts the example Koop app found in ./example-app.
npm run dev

Test

Run the npm t commmand to spin up the automated tests.

About

A Koop output plugin for generating CSV file.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.