0.1.0 • Published 6 months ago
@preferencemodel/pm-client-ts v0.1.0
pm-client-ts
TypeScript client library for Preference Model services.
Installation
npm install pm-client-ts
# or
yarn add pm-client-ts
# or
pnpm add pm-client-tsUsage
import { PMClient } from 'pm-client-ts';
// Initialize the client
const client = new PMClient('https://api.example.com', 'your-api-key');
// Use the client methods
const version = await client.getVersion();
console.log(version);Development
# Install dependencies
pnpm install
# Build the library
pnpm build
# Run tests
pnpm test
# Lint and format code
pnpm lint
pnpm format0.1.0
6 months ago