open-index/open-npm huggingface dataset:
npm package: @smcrm-sdk2/smcrm-sdk
Description: SMCRM JavaScript SDK for seamless API integration
Author: SMCRM
Latest version: 1.1.0

# 🚀 SMCRM SDK

Official JavaScript SDK for seamless integration with SMCRM APIs.

SMCRM SDK allows you to easily connect and manage services like **Repair, Clinic, Gym, and Hostel** using a single unified API.

---

## 📦 Installation

```bash
npm install @smcrm-sdk2/smcrm-sdk
```

---

## ⚡ CDN Usage

```html
<script src="https://sdk.smcrm.in/smcrm-sdk.min.js" data-api-key="YOUR_API_KEY"></script>
```

---

## 🧠 Basic Usage

### 👉 Node.js / ES Module

```javascript
import SMCRM from "@smcrm-sdk2/smcrm-sdk";

await SMCRM.init({
  apiKey: "YOUR_API_KEY"
});

const services = await SMCRM.getServices();
console.log(services);
```

---

### 👉 Browser

```html
<script src="https://sdk.smcrm.in/smcrm-sdk.min.js" data-api-key="YOUR_API_KEY"></script>

<script>
(async () => {
    await SMCRM.init();

    const services = await SMCRM.getServices();
    console.log(services);
})();
</script>
```

---

## 🔍 Features

- ✅ Auto Module Detection (Repair, Gym, Clinic, Hostel)
- ✅ API Key Authentication
- ✅ Unified API Structure
- ✅ Works in Browser & Node.js
- ✅ Booking Management System
- ✅ Lightweight & Fast

---

## 📚 Available Methods

### 🔧 Services
```javascript
SMCRM.getServices()
SMCRM.getSubServices(serviceId)
SMCRM.getServiceSubServices()
```

---

### 🏥 Module Specific
```javascript
SMCRM.getPlans()     // Gym
SMCRM.getDoctors()   // Clinic
```

---

### 📦 Booking
```javascript
SMCRM.createBooking(data)
SMCRM.getBookings()
SMCRM.cancelBooking(id)
```

---

### 🏢 Business
```javascript
SMCRM.getBusiness()
```

---

## 🧪 Example Booking

```javascript
await SMCRM.createBooking({
  customer_name: "Rahul Sharma",
  mobile: "8109540259",
  service_name: "AC Repair",
  service_problem: "Cooling issue"
});
```

---

## 📡 API Documentation

👉 https://smcrm.in/documentation

---

## 📦 NPM Package

👉 https://www.npmjs.com/package/@smcrm-sdk2/smcrm-sdk

---

## 🛠 Configuration

```javascript
await SMCRM.init({
  apiKey: "YOUR_API_KEY",
  baseURL: "https://smcrm.in/api",
  module: "repairservice" // optional
});
```

---

## ⚠️ Error Handling

All responses follow this format:

```json
{
  "status": false,
  "message": "Error message"
}
```

---

## 📄 License

MIT License © SMCRM

---
npm package: @smcv/babel-preset
Description: Shareable Babel preset for new projects.
Author: Yuri Sementsov
Latest version: 1.0.2

# Babel Config

Shareable Babel preset for new projects.

## Install

```sh
npm install --save-dev @smcv/babel-preset
```

## Usage

Add this config to `.babelrc` or other Babel's config method.

```json
{
  "presets": ["@smcv/babel-preset"]
}
```
npm package: @smcv/eslint-config
Description: An ESLint shareable config for new projects
Author: Yuri Sementsov
Latest version: 3.2.0

# @smcv/eslint-config

[Shareable code style](http://eslint.org/docs/developer-guide/shareable-configs) for projects using ESLint.

## Install

Pure JavaScript:

```sh
npm install --save-dev @smcv/eslint-config eslint-config-standard eslint-plugin-promise eslint-plugin-jest eslint-plugin-node eslint-plugin-security eslint-plugin-import eslint-plugin-prefer-let eslint-plugin-unicorn eslint
```

TypeScript or ESM-only project:

```sh
npm install --save-dev @smcv/eslint-config @typescript-eslint/eslint-plugin @typescript-eslint/parser typescript eslint-config-standard eslint-plugin-promise eslint-plugin-jest eslint-plugin-n eslint-plugin-node eslint-plugin-security eslint-plugin-import eslint-plugin-prefer-let eslint-plugin-unicorn eslint
```

## Usage

For JavaScript add config to `package.json` or other ESLint configs.

```js
  "eslintConfig": {
    "extends": "@smcv/eslint-config"
  }
```

For TypeScript:

```js
  "eslintConfig": {
    "extends": "@smcv/eslint-config/typescript"
  }
```

For ESM-only projects:

```js
  "eslintConfig": {
    "extends": "@smcv/eslint-config/esm"
  }
```
npm package: @smcv/eslint-config-browser
Description: Shareable code style for new projects.
Author: Yuri Sementsov
Latest version: 1.0.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# ESLint Config

Shareable code style for new projects.

## Install

```sh
npm install --save-dev @smcv/eslint-config-browser eslint
```

## Usage

Add this config to `package.json` or other ESLint configs.

```json
  "eslintConfig": {
    "extends": "@smcv/eslint-config-browser"
  }
```
npm package: @smcv/eslint-config-vue
Description: Shareable code style for new projects.
Author: Yuri Sementsov
Latest version: 1.0.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# ESLint Config

Shareable code style for new projects.

## Install

```sh
npm install --save-dev @smcv/eslint-config-vue eslint
```

## Usage

Add this config to `package.json` or other ESLint configs.

```json
  "eslintConfig": {
    "extends": "@smcv/eslint-config-vue"
  }
```
npm package: @smcv/prettier-config
Description: A Prettier shareable config for projects using 'Prettier' and 'JavaScript Standard Style'.
Author: Yuri Sementsov
Latest version: 1.0.1

# @smcv/prettier-config

A Prettier [shareable config](https://prettier.io/docs/en/configuration.html#sharing-configurations )
for projects using **[Prettier](https://prettier.io/ )** and 
**[JavaScript Standard Style](https://standardjs.com/ )** as ESLint rules or
separate processes.

## Installation

```
npm install --save-dev @smcv/prettier-config
```

_This is only a shareable configuration. It does not install Prettier, Standard,
ESLint, or any other part of the tool chain._

## Usage

Reference it in `package.json` using the `prettier` property:

```json
{
  "name": "my-projects-name",
  "prettier": "@smcv/prettier-config",
  "devDependencies" : {
    "@smcv/prettier-config": "^1.0.0"
  }
}
```

If you don't want to use `package.json`, you can use any of the supported
extensions to export a string:

```jsonc
// `.prettierrc.json`
"@smcv/prettier-config"
```

```javascript
// `prettier.config.js` or `.prettierrc.js`
module.exports = '@smcv/prettier-config'
```
npm package: @smcv/stylelint-config
Description: Shareable Stylelint config for new projects.
Author: Yuri Sementsov
Latest version: 2.0.3

# Stylelint Config

Shareable Stylelint config for new projects.

## Install

```sh
npm install --save-dev @smcv/stylelint-config stylelint
```

## Usage

Add this config to `package.json` or other Stylelint configs.

```json
  "stylelint": {
    "extends": "@smcv/stylelint-config"
  }
```
npm package: @smcv/typescript-config
Description: Shareable TypeScript config for my projects
Author: Yuri Sementsov
Latest version: 1.1.0

# Typescript Config

Shareable Stylelint config for new projects.

## Install

```sh
npm install --save-dev @smcv/typescript-config typescript
```

## Usage

Add this config to `tsconfig.json` of a project.

```json
{
  "extends": "@smcv/typescript-config"
}
```
npm package: @smdn/core
Description: The Core library which contains reusable React components. This library is intended for personal non-commercial projects only as I am currently creating this library at an attempt to envision my own design language and for documentation purposes. Therefor
Author: Samsoedien
Latest version: 0.2.0-alpha.5

# @smdn/core

The Core library which contains reusable React components. This library is intended for personal non-commercial projects only as I am currently creating this library at an attempt to envision my own design language and for documentation purposes. Therefore, this is still unstable and in an exploration phase.

## Get started

To install the package run:

```
yarn add @smdn/core
```

Or if you are using npm run:

```
npm install --save @smdn/core
```

Then import the components in your React files like this:

```
import { Button } from '@smdn/core'
```