open-index/open-npm huggingface dataset:
npm package: @sergeysova/swagger-to-js-preset
Description: Generate API layer from Swagger by swagger-to-js
Author: Sergey Sova
Latest version: 0.1.1
Deprecated: Please, use effector-openapi-preset

# @sergeysova/swagger-to-js-preset

## Usage

#### Install swagger-to-js and preset

```shell
yarn add -D swagger-to-js@^0.2.0 @sergeysova/swagger-to-js-preset
```

#### Create config

```js
// swagger-to-js.config.js
module.exports = {
  file: 'path to local or remote swagger v2 or v3 spec',
  outputDir: 'relative path to generated api directory',
  presets: ['@sergeysova/swagger-to-js-preset'],
};
```

#### Run generation

```shell
yarn swagger-to-js
# or
npx swagger-to-js
```

#### Review generated files

```shell
ls -la ./path-to-generated-api
```
npm package: @sergh/json-placeholder-sdk
Description: JSONPlaceholder SDK
Author: Sergio Romano
Latest version: 1.0.2

# JSONPlaceholder SDK

JSONPlaceholder SDK.

## Installation

```bash
npm install @sergh/json-placeholder-sdk
```

```bash
bun install @sergh/json-placeholder-sdk
```

## Usage

```ts
import { getPosts } from "@sergh/json-placeholder-sdk";

const posts = await getPosts();
```

## License

MIT