Skip to content

WorkPlusFE/amrToMp3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amrToMp3

amr to mp3 nodeJS module

amr音频转mp3模块

Version License devDependencies devDependencies

Installation

This module is installed via npm:

$ npm install amrToMp3

api

amrToMp3(sourcePath[,outputPath, outputName])  //outputPath default:./src/mp3/

usage

js

const amrToMp3 = require('amrToMp3')
amrToMp3('src/amr/test.amr')
  .then(function (data) {
    console.log(data)  // ./src/mp3/test.mp3
    //...some code
  })
  .catch(function (err) {
    console.log(err)
  })

or

const amrToMp3 = require('amrToMp3')
const data = await amrToMp3('src/amr/test.amr') // ./src/mp3/test.mp3
console.log(data)

support

  • 64 bit Mac OSX
  • 64 bit Linux
  • 32 bit Linux
  • 64 bit Windows
  • 32 bit Windows

test

$ npm test

build

$ npm run build

About

amr转mp3模块 amr to mp3 module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%