Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@brainsatplay/audio

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brainsatplay/audio

Audio Device for the Data Capture and Streams API

  • 0.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

audio

Audio Device for the Data Capture and Streams API

Getting Started

After you've installed Node and NPM, install all the project dependencies:

npm install

Now modify the src files to interface with your specific hardware.

Run

The following command will create a dist folder with your driver files and serve the included index.html file to http://localhost:1234.

npm start

This links the latest version of the Data Capture and Streams API to ensure compatibility.

Publish

If your device is working properly, the following command will publish it to NPM.

npm publish --access public

Use

In order to use your device in other projects, you'll have to link it using one of the following options:

Browser
<script src="https://cdn.jsdelivr.net/npm/@brainsatplay/device"></script>
Module
import device from `https://cdn.jsdelivr.net/npm/@brainsatplay/device`
Node.js
const device = require(`https://cdn.jsdelivr.net/npm/@brainsatplay/device`)

Have fun with your data!

FAQs

Package last updated on 06 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc