
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Get MusicBrainz metadata for a given audio file via the AcoustID Web Service.
var acoustid = require("acoustid");
acoustid("./audio.mp3", { key: "8XaBELgH" }, callback);
function callback(err, results) {
if (err) throw err;
var artist = results[0].recordings[0].artists[0].name;
console.log(artist);
}
acoustid(file, options, callback)
Looks up information about the given audio file.
File must be the path to an audio file.
Options must be an object with the following keys:
key
: Your AcoustID Web Service API Key (required)meta
: Meta parameter used in AcoustID API call (optional, default:
all meta data) (see docs)fpcalc
: Passed to fpcalc as options (optional, see fpcalc
docs)Callback must be a function that will be called with callback(err, results)
.
This module depends on node-fpcalc to calculate audio
fingerprints. The fpcalc command-line
tool must be installed. This is
often available via your package manager (e.g., apt-get install libchromaprint-tools
or brew install chromaprint
).
npm install acoustid
FAQs
Get music metadata from AcoustID Web Service
The npm package acoustid receives a total of 12 weekly downloads. As such, acoustid popularity was classified as not popular.
We found that acoustid demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.