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"
});

Readme

Keywords

none

Package Sidebar

Install

npm i connect-wami

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • psirenny