Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Koop output - table #128

Open
ryanbenac33 opened this issue Aug 24, 2023 · 1 comment
Open

New Koop output - table #128

ryanbenac33 opened this issue Aug 24, 2023 · 1 comment

Comments

@ryanbenac33
Copy link

As I'm developing a Koop provider, I also developed a table output option to aid in viewing data and handling other Koop data requests. I've worked out all the bugs I can find if you want to include it in the output list:

https://github.com/ryanbenac33/koop-output-table

Thanks, and great work with the Koop solution!!

@rgwozdz
Copy link
Member

rgwozdz commented Sep 5, 2023

Thanks @ryanbenac33. We'll add it to the output list!.

One thing about this code snippet on your readme:

const Koop = require("koop");
const tableOutput = require("./koop-output-table");

Koop.register(tableOutput);

The koop module exports a class, so you should create a new instance before registering plugins:

const Koop = require("koop");
const koop = new Koop();
const tableOutput = require("./koop-output-table");

koop.register(tableOutput);

@rgwozdz rgwozdz transferred this issue from koopjs/koop Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants