Package Exports
- @cs2/dmarket
- @cs2/dmarket/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@cs2/dmarket) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@cs2/dmarket
Wrapper library for DMarket's API
Installation
npm install @cs2/dmarket
# or
pnpm add @cs2/dmarketUsage
import { createDMarketClient } from '@cs2/dmarket'
const client = createDMarketClient({
privateKey: 'your private key',
publicKey: 'your public key'
})
const { data } = await client.account.balance()