JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q59181F
  • License Apache-2.0

Cross platform media service module. Hooks into each operating system's native media service and provides a simple API to access and use it.

Package Exports

  • xosms
  • xosms/index.js

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 (xosms) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Xosms build npm version

A cross platform media service library made in Rust for Node to easily and seamelessly integrate with the operating systems media service API.

[!WARNING]
Xosms is going under a rewrite and current platforms that were previously supported may no longer be supported. This rewrite is to help more concretely define and stabilize the API along with improving the development workflow.

Current Platforms Supported

  • Windows
  • MacOS
  • Linux (via MPRIS)

Even if your platform above isn't currently supported, the beauty of xosms is that it will still compile for it but noop on everything.

Development

To setup and locally develop and build xosms please ensure you have

  • Rust
  • Yarn

Once you have all of the above you can clone the repository and run

  • yarn
  • yarn build (Compiles the rust natives)
  • yarn build:lib (Runs tsc)