JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 947
  • Score
    100M100P100Q103744F
  • License MIT

A interactive fake implementation of MediaDevices interface in the browser for testing

Package Exports

  • @fakes/media-devices

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@fakes/media-devices) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

media-devices-fake

tbd

  • Current focus is on Chrome behaviour

How to release a new version

yarn login --registry https://registry.npmjs.org
yarn publish --registry https://registry.npmjs.org --access public --new-version 0.1.0 --tag beta

Opportunities

  • expose passed constraints to PermissionPrompt
  • Error handling for different browsers (spec compliance is still not 100%)
  • support for composite devices