
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
sneakerdb-client
Advanced tools
A TypeScript client for interacting with The Sneaker Database API on RapidAPI.
Node.js client for interacting with the Sneaker Database API.
See AGENTS.md for repository guidelines covering structure, workflows, and contributor conventions.
npm install sneakerdb-client
const { TheSneakerDatabaseClient } = require('sneakerdb-client');
// Create a client instance with your API key
const client = new TheSneakerDatabaseClient({ rapidApiKey: 'your-api-key' });
// Example: Get sneakers
client.getSneakers({ limit: 15 }).then(result => {
if (result.success) {
console.log(result.response);
}
});
// Example: Filter and sort
client.getSneakers({
brand: 'Jordan',
filters: { field: 'releaseYear', operator: 'gte', value: 2019 }, // filterable fields: releaseDate, releaseYear, retailPrice, estimatedMarketValue
sort: { field: 'retailPrice', order: 'desc' }, // allowed fields: name, silhouette, retailPrice, releaseDate, releaseYear
}).then(result => {
if (result.success) {
console.log(result.response);
}
});
// Note: The Sneaker Database API currently accepts a single filter expression per request.
// Supported filter fields: releaseDate, releaseYear, retailPrice, estimatedMarketValue.
// Passing multiple filters or unsupported fields will cause the client (or API) to throw an "Invalid query parameter filters" error.
Run local tooling with Bun:
bun run build # bun build + tsc --emitDeclarationOnly
bun lint # Biome lint
bun lint:fix # auto-fix with Biome
bun test # Bun:test runner
bun test --coverage
# Run live RapidAPI checks (requires RAPID_API_KEY and RUN_E2E=true)
RUN_E2E=true RAPID_API_KEY=... bun test src/TheSneakerDatabaseClient.e2e.test.ts
Release builds run bun run build, which cleans dist/, bundles src/index.ts with bun build, and emits type declarations via tsc --emitDeclarationOnly.
.github/workflows/release.yml workflow runs on every push to main (including Dependabot auto-merges) and executes tests, build, and semantic-release (using Node 22+ as required by v25).semantic-release determines the next version from Conventional Commit history, updates CHANGELOG.md, tags the repo, publishes to npm, and opens a GitHub Release.NPM_TOKEN secret is required—GitHub issues an OIDC token that npm trusts.GITHUB_TOKEN is provided automatically in CI. For local debugging, set GITHUB_TOKEN and run bun run release -- --dry-run.qlty CLI and workspace gates) to restore maintainability/diff coverage checks once your workspace is provisioned.There are 4 methods available on the client instance:
For more information on the available options, please refer to the API documentation.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A TypeScript client for interacting with The Sneaker Database API on RapidAPI.
We found that sneakerdb-client demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.