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

JavaScript version that can run in node or browser #27

Open
bvibber opened this issue Feb 22, 2018 · 2 comments
Open

JavaScript version that can run in node or browser #27

bvibber opened this issue Feb 22, 2018 · 2 comments

Comments

@bvibber
Copy link
Contributor

bvibber commented Feb 22, 2018

Per discussion at the BL meeting there's some interest in a JavaScript version of this which could be used to recode version 2 manifests to 3 on the fly, such as in a v3 web viewer. (Or could be run in a server context via node.)

I can give this a try; it looks pretty straightforward, the main required difference being that URI dereferencing in fix_objects() needs to be done asynchronously.

Should I make a PR against this repo or make my own separate one?

@azaroth42
Copy link
Member

Given the different testing needed, probably easiest to have its own repo. Would be great to have a JS implementation!

@stephenwf
Copy link

stephenwf commented Jul 1, 2019

We have a direct-port version available of the converter in javascript here. May not be up-to-date with the new beta specification though. updated link

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

3 participants