open-index/open-npm huggingface dataset:
npm package: @finspringinnovations/fixeddepositsdk
Description: FD SDK for React Native applications
Latest version: 1.0.2

# FD SDK

A React Native SDK for FD Finance services, providing components and utilities for financial applications.

## Installation

```bash
npm install fixeddepositsdk
# or
yarn add fixeddepositsdk
```

## Usage

### Basic Setup

```tsx
import { FDSDK, Home, BookFD } from 'fixeddepositsdk';

// Initialize the SDK
const sdk = new FDSDK({
  apiBaseUrl: 'https://api.fd.com',
  environment: 'production',
  theme: {
    primaryColor: '#1e40af',
    secondaryColor: '#1f2937',
    backgroundColor: '#f8fafc',
  },
});

// Use components
function App() {
  return (
    <View>
      <Home 
        onNavigate={(screen) => console.log(`Navigate to ${screen}`)}
        title="FD Finance"
        subtitle="Welcome to our services"
      />
    </View>
  );
}
```

### Available Components

#### Home Component
Main landing page component for the FD Finance SDK.

```tsx
import { Home } from 'fixeddepositsdk';

<Home 
  onNavigate={(screen) => handleNavigation(screen)}
  title="Custom Title"
  subtitle="Custom Subtitle"
/>
```

#### BookFD Component
Fixed Deposit booking component.

```tsx
import { BookFD } from 'fixeddepositsdk';

<BookFD 
  onBookFD={(data) => handleFDBooking(data)}
  onCancel={() => handleCancel()}
  title="Book Fixed Deposit"
/>
```

### SDK Configuration

```tsx
interface SDKConfig {
  apiBaseUrl?: string;
  theme?: {
    primaryColor?: string;
    secondaryColor?: string;
    backgroundColor?: string;
  };
  environment?: 'development' | 'staging' | 'production';
}
```

### Utility Methods

```tsx
// Get SDK version
const version = FDSDK.getVersion();

// Get platform information
const platformInfo = FDSDK.getPlatformInfo();

// Get current configuration
const config = sdk.getConfig();

// Update configuration
sdk.updateConfig({
  apiBaseUrl: 'https://new-api.fd.com',
  environment: 'staging',
});
```

## Development

### Building the SDK

```bash
yarn build
```

### Running Tests

```bash
yarn test
```

### Linting

```bash
yarn lint
```

## License

MIT
npm package: @finspringinnovations/mahindrafdsdk
Description: Mahindra SDK for React Native applications
Latest version: 1.0.4

# Mahindra SDK

A React Native SDK for Mahindra Finance services, providing components and utilities for financial applications.

## Installation

```bash
npm install mahindrafdsdk
# or
yarn add mahindrafdsdk
```

## Usage

### Basic Setup

```tsx
import { MahindraSDK, Home, BookFD } from 'mahindrafdsdk';

// Initialize the SDK
const sdk = new MahindraSDK({
  apiBaseUrl: 'https://api.mahindra.com',
  environment: 'production',
  theme: {
    primaryColor: '#1e40af',
    secondaryColor: '#1f2937',
    backgroundColor: '#f8fafc',
  },
});

// Use components
function App() {
  return (
    <View>
      <Home 
        onNavigate={(screen) => console.log(`Navigate to ${screen}`)}
        title="Mahindra Finance"
        subtitle="Welcome to our services"
      />
    </View>
  );
}
```

### Available Components

#### Home Component
Main landing page component for the Mahindra Finance SDK.

```tsx
import { Home } from 'mahindrafdsdk';

<Home 
  onNavigate={(screen) => handleNavigation(screen)}
  title="Custom Title"
  subtitle="Custom Subtitle"
/>
```

#### BookFD Component
Fixed Deposit booking component.

```tsx
import { BookFD } from 'mahindrafdsdk';

<BookFD 
  onBookFD={(data) => handleFDBooking(data)}
  onCancel={() => handleCancel()}
  title="Book Fixed Deposit"
/>
```

### SDK Configuration

```tsx
interface SDKConfig {
  apiBaseUrl?: string;
  theme?: {
    primaryColor?: string;
    secondaryColor?: string;
    backgroundColor?: string;
  };
  environment?: 'development' | 'staging' | 'production';
}
```

### Utility Methods

```tsx
// Get SDK version
const version = MahindraSDK.getVersion();

// Get platform information
const platformInfo = MahindraSDK.getPlatformInfo();

// Get current configuration
const config = sdk.getConfig();

// Update configuration
sdk.updateConfig({
  apiBaseUrl: 'https://new-api.mahindra.com',
  environment: 'staging',
});
```

## Development

### Building the SDK

```bash
yarn build
```

### Running Tests

```bash
yarn test
```

### Linting

```bash
yarn lint
```

## License

MIT