@es-shims/api
Version:
Loosely test a package's compliance with the es-shim API
18 lines (14 loc) • 910 B
Plain Text
Usage: es-shim-api [options] <optional space-separated module names>
Options:
--type indicate which type of polyfill/shim this is:
- `method`: receiver-sensitive method (default)
- `function`: non-receiver-sensitive function
- `property`: non-function data property
- `constructor`: constructor
- `multi`: a package that contains multiple shims
--skip-shim-returns-polyfill indicate that `shim` does not return the same
[boolean] value as `polyfill`, by design
--skip-auto-shim skip testing that `auto` invokes `shim`
[boolean]
--ignore-dirs <path> File path to write output to.
[string] If omitted, output will be printed to stdout.