TypeScript npm

JavaScript और TypeScript SDK

Native fetch का उपयोग करने वाला zero-dependency SDK। ESM + CJS dual output, complete TypeScript types।

Install करें npm
$ npm install @tcgpricelookup/sdk

मुख्य Features

  • Zero dependencies
  • ESM and CommonJS support
  • Full TypeScript types
  • Works in Node.js 18+, browsers, Bun, Deno, Cloudflare Workers
  • Batch card lookups
  • Price history queries
उपयोग उदाहरण
import { TCGLookup } from 'tcglookup';

const tcg = new TCGLookup({ apiKey: 'your-api-key' });

const results = await tcg.search('charizard');
console.log(results);

TCG API के साथ निर्माण शुरू करें

अपनी मुफ़्त API कुंजी प्राप्त करें और मिनटों में कार्ड मूल्य क्वेरी करना शुरू करें।