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

Add utility functions to retrieve specs to the package #256

Open
tidoust opened this issue Mar 10, 2021 · 1 comment
Open

Add utility functions to retrieve specs to the package #256

tidoust opened this issue Mar 10, 2021 · 1 comment

Comments

@tidoust
Copy link
Member

tidoust commented Mar 10, 2021

The index.js is not included in the published package. On top of potentially being useful for #246, it could also be useful to export utility functions to retrieve a spec out of a shortname or a URL as discussed in: w3c/webref#115 (comment)

@tidoust
Copy link
Member Author

tidoust commented Nov 17, 2023

Also see the Spec identifiers section, just added to the README, that describes an algorithm to retrieve a spec entry from browser-specs from its current shortname or from a past shortname. It would be useful to expose that in index.js as well.

Also, is seems worth checking how web-features and BCD retrieve specs they are interested in from browser-specs, and align the functionality in index.js as needed.

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

1 participant