
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
node-spotilocal
Advanced tools
Simple wrapper class for Spotify app local webserver.
$ npm install node-spotilocal
$ yarn add node-spotilocal
// require lib
const Spotilocal = require("node-spotilocal");
// init lib
const spotify = new Spotilocal();
// [optional] get auth tokens from Spotify app or auth process will execute with first request
spotify._auth().then(tokens => {
// ...
}).catch(console.error);
// play track
spotify.play("spotify:track:1qCQTy0fTXerET4x8VHyr9").then(console.log).catch(console.error);
// pause track
spotify.pause().then(console.log).catch(console.error);
// unpause track
spotify.unpause().then(console.log).catch(console.error);
// get app status on particular events (default: ["login", "logout", "play", "pause", "error", "ap"]) or after X seconds (default: 0; 0 = disabled)
spotify.status(["login", "logout", "play", "pause", "error", "ap"], 0).then(console.log).catch(console.error);
// [optional] revoke auth tokens
spotify._revoke();
FAQs
[DEPRECATED] Simple wrapper class for Spotify local webserver.
We found that node-spotilocal 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 Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.