open-index/open-npm huggingface dataset:
npm package: @fern-api/covie
Description: [![npm shield](https://img.shields.io/npm/v/@fern-api/covie)](https://www.npmjs.com/package/@fern-api/covie)
Latest version: 0.0.5

# Covie Node Library

[![npm shield](https://img.shields.io/npm/v/@fern-api/covie)](https://www.npmjs.com/package/@fern-api/covie)

The Covie Node.js library provides access to the Covie API from JavaScript/TypeScript.

## Documentation

API documentation is available at [developer.covie.com/docs](https://developer.covie.com/docs/link-access/f7ec3538d8a6c-policy-api).

## Usage

[![Try it out](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](TODO)

```typescript
import { CovieApi, CovieApiClient } from "@fern-api/covie";

const client = new CovieApiClient({
  credentials: {
    username: process.ENV.USERNAME,
    password: process.ENV.PASSWORD
  } 
});
```

## Beta status

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning the package version to a specific version in your package.json file. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.

## Contributing

While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest [opening an issue](https://github.com/fern-{company}/{company}-node/issues) first to discuss with us!

On the other hand, contributions to the README are always very welcome!
npm package: @fern-api/devrev
Description: ![devrev image](./static/hero.png)
Latest version: 1.0.0-beta

![devrev image](./static/hero.png)

# DevRev Node Library

[![npm shield](https://img.shields.io/npm/v/@fern-api/devrev)](https://www.npmjs.com/package/@fern-api/devrev)

The DevRev Node.js library provides access to the DevRev API from JavaScript/TypeScript.

## Documentation

API reference documentation is available [here](https://devrev.ai/docs/apis/methods#/).

## Usage

[![Try it out](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/typescript-example-using-sdk-built-with-fern-lxfqy2?file=app.ts)

```typescript
import { DevRevClient } from '@fern-api/devrev';

const client = new DevRevClient({
  environment: 'DevRevEnvironment',
  authorization: 'YOUR_AUTH_TOKEN',
});

const createIssueResponse = await client.works.create({
  type: 'issue',
  priority: DevRev.IssuePriority.P0,
  appliesToPart: 'product',
  title: 'My issue',
  ownedBy: ['bob'],
});
console.log('Created issue!', createIssueResponse);
```

## Handling errors

When the API returns a non-success status code (4xx or 5xx response), a subclass of [DevRevError](https://github.com/fern-devrev/devrev-node/blob/main/src/errors/DevRevError.ts) will be thrown:

```ts
try {
  await client.parts.list()
} catch (err) {
  if (err instanceof DevRevError) {
    console.log(err.statusCode);
    console.log(err.body.message);
  }
}
```

Error codes are as followed:

| Status Code | Error Type                 |
| ----------- | -------------------------- |
| 400         | `BadRequest`               |
| 401         | `Unauthorized`             |
| 403         | `Forbidden`                |
| 404         | `NotFound`                 |
| 429         | `TooManyRequests`          |
| 500         | `InternalServerError`      |
| 503         | `ServiceUnavailable`       |

## Beta status

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning the package version to a specific version in your package.json file. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.

## Contributing

While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest opening an issue first to discuss with us!

On the other hand, contributions to the README are always very welcome!
npm package: @fern-api/explo
Description: [![npm shield](https://img.shields.io/npm/v/@fern-api/{company})](https://www.npmjs.com/package/@fern-api/{company})
Latest version: 0.0.9

# {Company} Node Library

[![npm shield](https://img.shields.io/npm/v/@fern-api/{company})](https://www.npmjs.com/package/@fern-api/{company})

The {Company} Node.js library provides access to the {Company} API from JavaScript/TypeScript.

## Documentation

API reference documentation is available [here](docs_url).

## Usage

[![Try it out](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](TODO)

```typescript
import { TODO } from "TODO";

const TODO
```

## Beta status

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning the package version to a specific version in your package.json file. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.

## Contributing

While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest opening an issue first to discuss with us!

On the other hand, contributions to the README are always very welcome!
npm package: @fern-api/guesty
Description: [![npm shield](https://img.shields.io/npm/v/@fern-api/guesty)](https://www.npmjs.com/package/@fern-api/guesty)
Latest version: 0.0.4

# Guesty Node Library

[![npm shield](https://img.shields.io/npm/v/@fern-api/guesty)](https://www.npmjs.com/package/@fern-api/guesty)

The Guesty Node.js library provides access to the Guesty API from JavaScript/TypeScript.

## Documentation

API reference documentation is available [here](https://open-api-docs.guesty.com/).

## Usage

[![Try it out](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/typescript-example-using-sdk-built-with-fern-hmpsmt?file=app.ts&view=editor)

```typescript
import { GuestyApiClient } from '@fern-api/guesty';

const client = new GuestyApiClient({
  token: 'MY_TOKEN',
});

const response = await client.calendar.retrieveCalendarSingleListing(
  '5fa02fa358d2db673e17bc2d',
  {
    startDate: '2023-01-01',
    endDate: '2023-01-30',
  }
);

console.log('Received response from Guesty!', response);
```

## Beta status

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning the package version to a specific version in your package.json file. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.

## Contributing

While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest [opening an issue](https://github.com/fern-guesty/guesty-node/issues) first to discuss with us!

On the other hand, contributions to the README are always very welcome!
npm package: @fern-api/hookdeck
Description: [![npm package](https://camo.githubusercontent.com/f02b34ddc344e502e411d9101e404f424257775f213886fc86e815235575d27f/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f406665726e2d6170692f7363616c65)](https://www.npmjs.com/package/@fern-api/hookdeck
Latest version: 0.0.13

# Hookdeck Node Library

[![npm package](https://camo.githubusercontent.com/f02b34ddc344e502e411d9101e404f424257775f213886fc86e815235575d27f/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f406665726e2d6170692f7363616c65)](https://www.npmjs.com/package/@fern-api/hookdeck?activeTab=readme)

The Hookdeck Node.js library provides access to the Hookdeck API from JavaScript/TypeScript.

# Documentation

Hookdeck API reference documentation is [available here](https://hookdeck.com/api-ref)

# Usage
[![stack blitz image](https://camo.githubusercontent.com/bf5c9492905b6d3b558552de2c848c7cce2e0a0f0ff922967115543de9441522/68747470733a2f2f646576656c6f7065722e737461636b626c69747a2e636f6d2f696d672f6f70656e5f696e5f737461636b626c69747a2e737667)](https://stackblitz.com/edit/typescript-example-using-sdk-built-with-fern-jxxuw6?file=app.ts)

``` typescript
import { HookdeckClient } from '@fern-api/hookdeck';

const client = new HookdeckClient({
  token: "MY_API_KEY",
});

const response = client.connections.createConnection({
  name: 'shopify-my-api',
  source: {
    name: 'shopify',
  },
  destination: {
    name: 'my-api',
    url: 'https://example.com/webhook',
  },
});
console.log('Received response from Hookdeck!', response);
```
# Beta Status

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning the package version to a specific version in your package.json file. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.

# Contributing

While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest opening an [issue first](https://github.com/fern-hookdeck/hookdeck-node/issues) to discuss with us!

On the other hand, contributions to the README are always very welcome!
npm package: @fern-api/integral
Description: [![npm shield](https://img.shields.io/npm/v/@fern-api/integral)](https://www.npmjs.com/package/@fern-api/integral)
Latest version: 0.0.10

# Integral API Node Library

[![npm shield](https://img.shields.io/npm/v/@fern-api/integral)](https://www.npmjs.com/package/@fern-api/integral)

The Integral API Node.js library provides access to the integral API from JavaScript/TypeScript.

## Documentation

API documentation is available at <https://docs.integralapi.co/introduction>.

## Usage

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/typescript-example-using-sdk-built-with-fern-mu4g1p?file=app.ts&view=editor)

```typescript
import { IntegralApiClient, IntegralApiEnvironment } from '@fern-api/integral';

const client = new IntegralApiClient({
  environment: IntegralApiEnvironment.Production,
  authentication: '123',
});

const response = await client.apiKeys.generate({
  applicationUserForeignId: 'my-id',
  description: 'My description',
});

console.log('Received response from Integral!', response);
```

## Beta status

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning the package version to a specific version in your package.json file. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.

## Contributing

While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest [opening an issue](https://github.com/fern-integral/integral-node/issues) first to discuss with us!

On the other hand, contributions to the README are always very welcome!
npm package: @fern-api/lago
Description: [![npm shield](https://img.shields.io/npm/v/@fern-api/lago)](https://www.npmjs.com/package/@fern-api/lago)
Latest version: 0.1.0

# Lago Node Library

[![npm shield](https://img.shields.io/npm/v/@fern-api/lago)](https://www.npmjs.com/package/@fern-api/lago)

The Lago Node.js library provides access to the Lago API from JavaScript/TypeScript.

## Documentation

API reference documentation is available [here](https://lago.mintlify.app/api-reference/intro).

## Usage

[![Try it out](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/typescript-example-using-sdk-built-with-fern-hyfjke?file=app.ts&view=editor)

```typescript
import { LagoApiClient } from '@fern-api/lago';

const client = new LagoApiClient({
  token: 'MY_TOKEN',
});

const response = await client.subscriptions.create({
  subscription: {
    externalCustomerId: '5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba',
    planCode: 'code',
    name: 'display name',
    externalId: 'id',
    billingTime: 'anniversary',
    subscriptionAt: '2022-08-08T00:00:00Z',
  },
});

console.log('Received response from Lago!', response);
```

## Beta status

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning the package version to a specific version in your package.json file. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.

## Contributing

While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest [opening an issue](https://github.com/fern-lago/lago-node/issues) first to discuss with us!

On the other hand, contributions to the README are always very welcome!
npm package: @fern-api/merge-snippets
Description: Generate usage snippets for Merge SDKs
Latest version: 0.0.1

# Merge Snippets SDK

[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-SDK%20generated%20by%20Fern-brightgreen)](https://github.com/fern-api/fern)

The Merge Snippets SDK produces valid usage snippets from arbitrary request data.

## Usage

The SDK can be used as follows:

```typescript
import { SnippetResolver } from "@fern-api/merge-snippets";

const resolver = new SnippetResolver();
const go = resolver.sdk("go");
const candidates = go.endpoint("GET /ats/v1/candidates");
const response = await candidates.generate({
    auth: {
        type: "bearer",
        token: "<YOUR_API_KEY>"
    },
    queryParameters: {
        cursor: "4935a656-a929-4792-b97c-8848be85c27c"
    }
});
```

The generated `response.snippet` will be set to the following:

```go
package example

import (
    client "github.com/merge-api/merge-go-client/client"
    option "github.com/merge-api/merge-go-client/option"
    context "context"
    ats "github.com/merge-api/merge-go-client/ats"
    merge "github.com/merge-api/merge-go-client"
)

func do() () {
    client := client.NewClient(
        option.WithApiKey(
            "<YOUR_API_KEY>",
        ),
    )
    client.Ats.Candidates.List(
        context.TODO(),
        &ats.CandidatesListRequest{
            Cursor: merge.String(
                "4935a656-a929-4792-b97c-8848be85c27c",
            ),
        },
    )
}
```

## Default snippets

You can call the `generate` method without a request payload to retrieve the default example
of the endpoint like so:

```typescript
import { SnippetResolver } from "@fern-api/merge-snippets";

const resolver = new SnippetResolver();
const go = resolver.sdk("go");
const candidates = go.endpoint("GET /ats/v1/candidates");
const response = await candidates.generate();
```

Note that the result will omit optional properties, so if a request is entirely composed of
optional values, you're better off providing your own request payload.

## Sync Methods

The SDK also exposes a `generateSync` method for users that don't have access to `async` and `await` in specific contexts.
It uses the same parameters as `generate` and can be invoked like so:

```typescript
import { SnippetResolver } from "@fern-api/merge-snippets";

const resolver = new SnippetResolver();
const go = resolver.sdk("go");
const candidates = go.endpoint("GET /ats/v1/candidates")
const response = candidates.generateSync({ ... });
```

## Endpoint Filtering

For performance, the `endpoint` method filters the provided API specification to only contain the
selected endpoint (e.g. `GET /ats/v1/candidates`). This means you can reuse the filtered result with a
simple variable for the endpoint like so:

```typescript
// The 'candidates' variable acts upon an API specification that only contains the 'GET /ats/v1/candidates' endpoint.
const candidates = go.endpoint("POST /ats/v1/candidates")

// Generate multiple snippets using the same instance.
const one = candidates.generateSync({ ... });
const two = candidates.generateSync({ ... });
...
```
npm package: @fern-api/mirrorworld
Description: [![npm shield](https://img.shields.io/npm/v/@fern-api/mirrorworld)](https://www.npmjs.com/package/@fern-api/mirrorworld)
Latest version: 0.0.8

# Mirror World Node Library

[![npm shield](https://img.shields.io/npm/v/@fern-api/mirrorworld)](https://www.npmjs.com/package/@fern-api/mirrorworld)

This repository contains the unified Node.JS SDK for all the Mirror World APIs.

## Documentation

API documentation is available at <https://developer.mirrorworld.fun/>.

## Usage

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/mirrorworld-typescript-example?file=app.ts&view=editor)

```
npm install @fern-api/mirrorworld # or yarn add @fern-api/mirrorworld
```

```typescript
const client = new MirrorworldApiClient({
    apiKey: 'YOUR_API_KEY_HERE',
});

const response = await client.marketplaces.mint.mintNft('devnet', {
    collectionMint: '9pd6wUcfZpPBsrQFxqEkMjfbyaqraQRsiQtD8D4wqa6W',
    name: 'new asset',
    symbol: 'NA',
    url: 'https://market-assets.mirrorworld.fun/gen1/1.json',
});

console.log(
    'Received response from Mirror World!',
    JSON.stringify(response, undefined, 4)
);
```

## Beta status

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning the package version to a specific version in your package.json file. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.

## Contributing

While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest [opening an issue](https://github.com/fern-mirrorworld/mirrorworld-node/issues) first to discuss with us!

On the other hand, contributions to the README are always very welcome!