@microfox/types
v1.2.0
Published
General Required Types for Agents
Downloads
1,078
Readme
Types
A TypeScript SDK for Types.
Installation
```bash npm install @microfox/types ```
Quick Start
```typescript import { TypesSdk } from '@microfox/types';
// Initialize the SDK const sdk = new TypesSdk({ apiKey: 'your-api-key', // Add other config options });
// Example usage const result = await sdk.hello('World'); console.log(result.data); ```
Configuration
```typescript interface TypesSdkConfig { apiKey: string; // Required: Your API key baseUrl?: string; // Optional: Custom base URL name?: string; // Optional: SDK instance name version?: string; // Optional: API version } ```
Methods
hello(name: string)
Example method - replace with your own API methods.
```typescript const result = await sdk.hello('World'); // Returns: { data: "Hello, World!", success: true, status: 200, message: "Success" } ```
Development
```bash
Install dependencies
npm install
Build the project
npm run build
Run tests
npm test
Lint code
npm run lint ```
License
MIT
