@craft-cloud/audiowaveform-static-aws
v1.0.0
Published
Audiowaveform binary for AWS Lambda
Downloads
59
Readme
audiowaveform-static-aws
Audiowaveform static binary for Amazon Linux 2 AMI.
The audiowaveform version currently used is 1.4.2
.
Installation
This module is installed via npm:
$ npm install @craft-cloud/audiowaveform-static-aws
Example Usage
Returns the path of a statically linked audiowaveform binary on the local filesystem.
const awf = require("@craft-cloud/audiowaveform-static-aws");
const { exec } = require("child_process");
exec(`${awf()} --help`, (error, stdout, stderr) => {
if (error) {
console.error(`error: ${error.message}`);
return;
}
if (stderr) {
console.error(`stderr: ${stderr}`);
return;
}
console.log(`stdout:\n${stdout}`);
});
Source of binary
Binary built using flixier audiowaveform aws lambda