1.0.3 • Published 2 years ago

w3c-wpt-annotation-protocol-fixtures-pmb v1.0.3

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
2 years ago

w3c-wpt-annotation-protocol-fixtures-pmb

Nicely packaged copy of https://github.com/web-platform-tests/wpt/tree/master/annotation-protocol/files/annotations/

Do not confuse:

There are two very similar sets of examples:

For details and comparison, please see anno-model-examples/README.md.

Motivation

The original WPT repo is huge, even as "just" a zipball, and unfortunately, GitHub still doesn't offer an easy way to download just one subdirectory. How can we minimize download size?

  • There's a somewhat-secret way to do it with SVN, but I don't want to install SVN just for this.
  • Sparsely clone the git repo. Unfortunately, when I tested it, the fetch took several minutes. It seems like only the checkout can be sparse, not the fetch, so this doesn't help with the amount of data to download.
  • Scrape the directory listing from the GitHub website. This should work. So until someone has a better idea, … it will have to do.

API

The module API is still experimental. Instead, use the JSON files in the examples/ directory.

Known issues

  • Needs more/better tests and docs.

 

License

BSD-3-Clause

1.0.3

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago