open-index/open-npm huggingface dataset:
npm package: @fern-api/novu
Description: ![novu image](./static/hero.png)
Latest version: 0.0.20

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

# Novu Node Library

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

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

## Documentation

API reference documentation is available [here](https://docs.novu.co/overview/introduction/).

## Usage

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

```typescript
import { NovuClient } from '@fern-api/novu';

const novu = new NovuClient({
  apiKey: 'NOVU_API_KEY'
});

await novu.trigger({
  name: '<REPLACE_WITH_EVENT_NAME_FROM_ADMIN_PANEL>',
  to: {
    subscriberId: '<USER_IDENTIFIER>',
    email: 'test@email.com',
    firstName: 'John',
    lastName: 'Doe',
  },
  payload: {
    organization: {
      logo: 'https://evilcorp.com/logo.png',
    },
  },
});
```

## 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/partnerstack
Description: [![npm shield](https://img.shields.io/npm/v/@fern-api/partnerstack)](https://www.npmjs.com/package/@fern-api/partnerstack)
Latest version: 0.0.10

# PartnerStack Node Library

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

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

## Documentation

API documentation is available at <https://docs.partnerstack.com/reference>.

## Usage

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

```typescript
import { PartnerStackApi, PartnerStackApiClient } from '@fern-api/partnerstack';

const credentials = { username: 'my-username', password: 'my-password' };
const client = new PartnerStackApiClient({
  credentials: () => credentials,
});

const response = await client.deals.create(
  PartnerStackApi.CreateDealRequestBody.partnerKey({
    partnerKey: 'my-partner-key',
    accountName: 'Account0123',
    amount: 150000,
    closeDate: '2023-02-25',
    contactFirstName: 'Danny',
    contactLastName: 'Fern'
  })
);

console.log('Received response from PartnerStack!', 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-partnerstack/partnerstack-node/issues) first to discuss with us!

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

# Patch Node Library

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

## Documentation

API documentation is available at <https://docs.patch.io/>.

## Usage

```typescript
import { PatchApi } from "@fern-api/patch";

const patch = new PatchApi.Client({
  _origin: "https://api.patch.io/v1/",
  _token: process.env.PATCH_TOKEN
});

const response = await patch.estimates.createFlightEstimate({
  originAirport: "SEA",
  destinationAirport: "SFO",
  aircraftCode: "73G",
  cabinClass: PatchApi.CabinClass.Business,
  passengerCount: 4
});

if (response.ok) {
  console.log("Got an estimate!", response.body);
} else {
  console.error("Failed to create estimate", response.error);
}
```

## Sample app

Check out the [sample app](.sample-app/app.ts) which consumes this SDK!

```bash
export PATCH_TOKEN=...

cd .sample-app
yarn install
yarn start
```

## 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-patch/patch-node) first to discuss with us!

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

# Phyllo Node Library

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

## Documentation

API documentation is available at <https://docs.getphyllo.com/>

## Usage

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

```typescript
import { PhylloConnectApiClient } from '@fern-api/phyllo';

const client = new PhylloConnectApiClient({
  environment: 'Production',
  auth: {
    credentials: {
      username: 'my-username',
      password: 'my-password',
    },
  },
});

const response = await client.connect.createUser({
  name: 'achintya-gupta',
  externalId: 'abc123',
});

console.log('Received response from Phyllo!', 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-phyllo/phyllo-node) first to discuss with us!

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

# Primer Node Library

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

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

## Documentation

API documentation is available at https://apiref.primer.io/reference.

## Usage

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

```typescript
import { PrimerApiClient } from '@fern-api/primer';

const primerToken = 'abc123';
const primer = new PrimerApiClient({
  apiVersion: '2.2',
  auth: {
    environment: 'Sandbox',
    apiKey: primerToken,
  },
});

const createClientResponse = await primer.clientSession.create({
  orderId: 'my-order-id',
  amount: 200,
});

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

## SDK Examples

Below are a few examples of how to use the SDK to hit different endpoints. Checkout our [API Reference](https://apiref.primer.io/reference/create_client_side_token_client_session_post) to see all of our endpoints.

### Searching Payments

```typescript
const searchResponse = await primer.payments.search({
  paypalEmail: "customer@acme.com",
  limit: 10,
  paymentMethodType: "PAYPAL",
});

if (!searchResponse.ok) {
  throw new Error(`Encountered error ${searchResponse.error.errorName}`);
}

for (const searchPaymentResponse of searchResponse.body.data) {
  console.log(
    `Found payment of ${searchPaymentResponse.amount} ${searchPaymentResponse.currencyCode}`
  );
}
```

### Save payment method token

```typescript
const saveTokenResponse = await primer.paymentMethod.saveToken({
  paymentMethodToken: "my-payment-method-token",
  _body: {
    customerId: "customer-id",
  },
});

if (!saveTokenResponse.ok) {
  throw new Error(`Encountered error ${saveTokenResponse.error}`);
}

console.log("Saved token!", saveTokenResponse.body.token);
```

## 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-primer/primer-node) first to discuss with us!

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

# Query Node Library

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

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

## Usage

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

```typescript
import { QueryApiClient } from '@fern-api/query';

const client = new QueryApiClient({
  token: "MY_TOKEN",
});

const response = await client.query.create({
  database: 'my-database-id',
  question: 'How many people live in New York City?',
});

console.log('Received response from Query!', 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-query/query-node/issues) first to discuss with us!

On the other hand, contributions to the README are always very welcome!
npm package: @fern-api/rebilly
Description: [![npm shield](https://img.shields.io/npm/v/@fern-api/{company})](https://www.npmjs.com/package/@fern-api/{company}) [![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-SDK%20generated%20by%20Fern-brightgreen)](https://github.com/fern-api/fern)
Latest version: 0.0.1

# {Company} Node Library

[![npm shield](https://img.shields.io/npm/v/@fern-api/{company})](https://www.npmjs.com/package/@fern-api/{company})
[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-SDK%20generated%20by%20Fern-brightgreen)](https://github.com/fern-api/fern)

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!