netease-music-cache-decoder

Build Status Dependency Status Dev Dependency Status NPM version NPM downloads NPM license

把网易云音乐本地缓存的文件解码为原始的 mp3 文件。支持网页端直接使用

欢迎 STAR,欢迎 PR >.<

Install

npm i netease-music-cache-decoder

Methods

decode(buffer)

Inplace decode the input buffer.

Arguments

Return

Will only return undefined since it's inplace decode.

decodeInfo(filename)

Get the meaningful name from cache file name. It will be something like "songName-artistName".

Arguments

Return

Will return the meaningful name. Or the original filename if there's an error occurred.

decodeFile(target, opts)

Decode the target file.

Arguments

Return

Will return the decoded buffer.

TODO