
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Easiest way to use the Discogs API in Javascript - now with Typescript support! :musical_note:
yarn add discojs
import {Discojs} from 'discojs'
const client = new Discojs({
userToken: process.env.USER_TOKEN,
})
client
.searchArtist('Jacob Desvarieux')
.then(data => doSomethingWith(data))
Documentation for discojs@2.x
is available on GitHub Pages;
Documentation for discojs@1.x
is available in the wiki.
As several methods need authentication, you'll need 2 environment variables: DGS_USERNAME and USER_TOKEN.
Create a .env
file at the root of the directory, and add the following lines:
DGS_USERNAME=0ctocat
USER_TOKEN=7h1515myu53r70k3n
:warning: Use a test account as public information will be edited.
As stated by Discogs API, some methods need a seller account. As I do not have one, I could not test them (which explains the coverage).
npm run test
When running tests, go grab a cup of coffee as this may be long because of Discogs API rate limiting.
Inspired by disconnect
from @bartve
FAQs
Easiest way to use the Discogs API in Javascript/Typescript
The npm package discojs receives a total of 44 weekly downloads. As such, discojs popularity was classified as not popular.
We found that discojs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.