Skip to content

craft-cloud/audiowaveform-static-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Audiowaveform binary for AWS Lambda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published