npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

connect-wami

0.1.1 • Public • Published

connect-wami

Connect middleware for WAMI Recorder.

A recording object containing the path, name, size and type of the recording are stored in request.files.audio.

Usage

Simply drop wami-connect into your app like so:

var expressApp = require('express')()
  , wami = require('connect-wami');
  
expressApp.use(wami());
 
expressApp.post('/recording', function (req, res) {
  var rec = req.files.audio;
  console.log(rec.path); // "/path/to/audio/file"
});

Keywords

none

install

npm i connect-wami

Downloadsweekly downloads

8

version

0.1.1

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability