open-index/open-npm huggingface dataset:
npm package: @nhost/react
Description: Nhost React library
Author: Nhost
Latest version: 3.11.2
Deprecated: ⚠ DEPRECATED: This package is deprecated in favor of @nhost/nhost-js@^4.0.0. The new SDK is auto-generated from OpenAPI specs, provides better consistency, and works isomorphically across all JavaScript environments. This package will receive security patches and bug fixes until March 31st but no new features. Migrate to @nhost/nhost-js for future compatibility. Learn more: https://nhost.io/blog/introducing-new-javascript-sdk

# Nhost React

The Nhost React client exports a React provider, hooks, and helpers that make it easier to work with Nhost in your React app. If you're using React with Next.js, you should use the [Nhost Next.js client](/reference/nextjs).

## Documentation

- [Quickstart](https://docs.nhost.io/platform/quickstarts/react)
- [Reference documentation](https://docs.nhost.io/reference/react)

## Install

Install the Nhost React client together with GraphQL:

```bash
# With npm
npm install @nhost/react graphql

# With Yarm
yarn add @nhost/react graphql
```

## Initialise

Initialize a single `nhost` instance and wrap your app with the `NhostReactProvider`.

```jsx title=src/App.tsx
import React from 'react'
import ReactDOM from 'react-dom'

import { NhostClient, NhostProvider } from '@nhost/react'

import App from './App'

const nhost = new NhostClient({
  subdomain: '<Your Nhost app subdomain>',
  region: '<Your Nhost app region>'
})

ReactDOM.render(
  <React.StrictMode>
    <NhostProvider nhost={nhost}>
      <App />
    </NhostProvider>
  </React.StrictMode>,
  document.getElementById('root')
)
```
npm package: @nhost/react-apollo
Description: Nhost React Apollo client
Author: Nhost
Latest version: 18.0.2
Deprecated: ⚠ DEPRECATED: This package is deprecated in favor of @nhost/nhost-js@^4.0.0. The new SDK is auto-generated from OpenAPI specs, provides better consistency, and works isomorphically across all JavaScript environments. This package will receive security patches and bug fixes until March 31st but no new features. Migrate to @nhost/nhost-js for future compatibility. Learn more: https://nhost.io/blog/introducing-new-javascript-sdk

<h1 align="center">@nhost/react-apollo</h1>
<h2 align="center">For easy usage of Apollo and React</h2>

<p align="center">
  <img alt="npm" src="https://img.shields.io/npm/v/@nhost/react-apollo">
  <img alt="npm" src="https://img.shields.io/npm/dm/@nhost/react-apollo">
  <a href="LICENSE">
    <img src="https://img.shields.io/badge/license-MIT-yellow.svg" alt="license: MIT" />
  </a>
</p>

## Documentation

[Reference documentation](https://docs.nhost.io/reference/react/apollo)

## Install

`$ npm install @nhost/react-apollo @nhost/react @apollo/client graphql react react-dom`

or

`$ yarn add @nhost/react-apollo @nhost/react @apollo/client graphql react react-dom`

## Usage

```js
import React from 'react'
import ReactDOM from 'react-dom'
import { NhostClient, NhostProvider } from '@nhost/react'
import { NhostApolloProvider } from '@nhost/react-apollo'

import App from './App'

const nhost = new NhostClient({
  subdomain: '<Your Nhost project subdomain>',
  region: '<Your Nhost project region>'
})

ReactDOM.render(
  <React.StrictMode>
    <NhostProvider nhost={nhost}>
      <NhostApolloProvider nhost={nhost}>
        <App />
      </NhostApolloProvider>
    </NhostProvider>
  </React.StrictMode>,
  document.getElementById('root')
)
```
npm package: @nhost/react-auth
Description: Nhost React client
Author: Nhost
Latest version: 3.6.0
Deprecated: ⚠ DEPRECATED: This package is deprecated in favor of @nhost/nhost-js@^4.0.0. The new SDK is auto-generated from OpenAPI specs, provides better consistency, and works isomorphically across all JavaScript environments. This package will receive security patches and bug fixes until March 31st but no new features. Migrate to @nhost/nhost-js for future compatibility. Learn more: https://nhost.io/blog/introducing-new-javascript-sdk

# ⚠️ This package is deprecated

Use the new [`@nhost/react`](https://github.com/nhost/nhost/tree/main/packages/react) package instead.

# Nhost React Auth

For easy usage of Auth with [Nhost](https://nhost.io).

## Install

`$ npm install @nhost/react-auth @nhost/react`

or

`$ yarn add @nhost/react-auth @nhost/react`

## Documentation

[https://docs.nhost.io/reference/supporting-libraries/react-auth](https://docs.nhost.io/reference/supporting-libraries/react-auth)
npm package: @nhost/react-native-template
Description: A template project to get you up to speed on how to use Nhost with React Native
Latest version: 0.0.15
Deprecated: This package is no longer mantained. Please, visit https://docs.nhost.io/getting-started/overview to get started

# Nhost React Native Template

This template bootstrapped using `react-native-community/cli` showcases how to properly use Nhost SDK within your React Native project.
For a more comprehensive guide on how to build on top of this template you can follow the [quickstart guide](https://docs.nhost.io/guides/quickstarts/react-native).

## Features

- Email/Password Authentication
- Sign-in with Apple and Google
- File upload

##  Usage

To initialize a new React Native project using this template, run the following command:

```sh
npx react-native init myapp --template @nhost/react-native-template
```
npm package: @nhost/react-urql
Description: Nhost React URQL client
Author: Nhost
Latest version: 15.0.2
Deprecated: ⚠ DEPRECATED: This package is deprecated in favor of @nhost/nhost-js@^4.0.0. The new SDK is auto-generated from OpenAPI specs, provides better consistency, and works isomorphically across all JavaScript environments. This package will receive security patches and bug fixes until March 31st but no new features. Migrate to @nhost/nhost-js for future compatibility. Learn more: https://nhost.io/blog/introducing-new-javascript-sdk

<h1 align="center">@nhost/react-urql</h1>
<h2 align="center">Nhost - React - URQL</h2>

<p align="center">
  <img alt="npm" src="https://img.shields.io/npm/v/@nhost/react-urql">
  <img alt="npm" src="https://img.shields.io/npm/dm/@nhost/react-urql">
  <a href="LICENSE">
    <img src="https://img.shields.io/badge/license-MIT-yellow.svg" alt="license: MIT" />
  </a>
</p>

This package contains a `<NhostUrqlProvider />` with good defaults settings to quickly get started with [Nhost](http://nhost.io/), [React](https://reactjs.org/), and [URQL](https://formidable.com/open-source/urql/).

## Get Started

### Install

`npm install @nhost/react @nhost/react-urql urql graphql`

### Usage

```js
import React from 'react'
import ReactDOM from 'react-dom'
import { NhostClient, NhostProvider } from '@nhost/react'
import { NhostUrqlProvider } from '@nhost/react-urql'

import App from './App'

const nhost = new NhostClient({
  subdomain: '<Your Nhost project subdomain>',
  region: '<Your Nhost project region>'
})

ReactDOM.render(
  <React.StrictMode>
    <NhostProvider nhost={nhost}>
      <NhostUrqlProvider nhost={nhost}>
        <App />
      </NhostUrqlProvider>
    </NhostProvider>
  </React.StrictMode>,
  document.getElementById('root')
)
```

## Customization

This package contains a URQL provider and client for Nhost with good default settings. If you want to customize them, it's recommended to use this code as inspiration and set up your own URQL provider and client in your own code base.
npm package: @nhost/stripe-graphql-js
Description: Stripe GraphQL API
Author: Nhost
Latest version: 1.3.0

<h1 align="center">Stripe GraphQL API</h1>
<h2 align="center">@nhost/stripe-graphql-js</h2>

<p align="center">
  <img alt="npm" src="https://img.shields.io/npm/v/@nhost/stripe-graphql-js">
  <img alt="npm" src="https://img.shields.io/npm/dm/@nhost/stripe-graphql-js">
  <a href="LICENSE">
    <img src="https://img.shields.io/badge/license-MIT-yellow.svg" alt="license: MIT" />
  </a>
</p>

Expose Stripe's API as a GraphQL endpoint. Deploy as an [Nhost Function](https://docs.nhost.io/products/functions/) and connect it as a [Hasura Remote Schema](https://docs.nhost.io/products/graphql/remote-schemas) to query Stripe customers, subscriptions, invoices, payment methods, and more alongside your existing data.

## Quick Start

```bash
pnpm add @nhost/stripe-graphql-js
```

Create a file at `functions/graphql/stripe.ts`:

```ts
import { createStripeGraphQLServer } from '@nhost/stripe-graphql-js';

const server = createStripeGraphQLServer();

export default server;
```

Then register it as a Remote Schema pointing to `{{NHOST_FUNCTIONS_URL}}/graphql/stripe`.

See the full setup guide in the [documentation](https://docs.nhost.io/products/graphql/guides/stripe).

## Documentation

[https://docs.nhost.io/products/graphql/guides/stripe](https://docs.nhost.io/products/graphql/guides/stripe)

## Development

Set the required environment variables:

```bash
export STRIPE_SECRET_KEY=sk_test_...
export NHOST_ADMIN_SECRET=your-admin-secret
```

Install dependencies:

```bash
pnpm install
```

Start the development server:

```bash
pnpm dev
```

The GraphQL server will reload every time the code changes.

Open GraphiQL: [http://localhost:4000/graphql](http://localhost:4000/graphql)

To make requests as an admin, include the following header in GraphiQL:

```json
{
  "x-hasura-admin-secret": "<value matching your NHOST_ADMIN_SECRET>"
}
```
npm package: @nhost/ui
Description: Component library for Nhost
Author: yashank09
Latest version: 0.1.7
Deprecated: ⚠ DEPRECATED: This package is deprecated in favor of @nhost/nhost-js@^4.0.0. The new SDK is auto-generated from OpenAPI specs, provides better consistency, and works isomorphically across all JavaScript environments. This package will receive security patches and bug fixes until March 31st but no new features. Migrate to @nhost/nhost-js for future compatibility. Learn more: https://nhost.io/blog/introducing-new-javascript-sdk

# Component Library for Nhost

## Installation

1. `git clone` to fetch codebase
2. `yarn` to install dependencies
3. `yarn storybook` to start UI playground

## Deps and Versions

- `node.js` - 16.4 but will work for 14.x LTS
- `storybook` - 6.3
- `tailwindcss` - 2.x
- `react.js` - 17.0
npm package: @nhost/vue
Description: Nhost Vue library
Author: Nhost
Latest version: 2.9.8
Deprecated: ⚠ DEPRECATED: This package is deprecated in favor of @nhost/nhost-js@^4.0.0. The new SDK is auto-generated from OpenAPI specs, provides better consistency, and works isomorphically across all JavaScript environments. This package will receive security patches and bug fixes until March 31st but no new features. Migrate to @nhost/nhost-js for future compatibility. Learn more: https://nhost.io/blog/introducing-new-javascript-sdk

# Nhost Vue

The Nhost Vue client exports a Nhost client that can be installed as a [Vue plugin](https://vuejs.org/guide/reusability/plugins.html), and [composables](https://vuejs.org/guide/reusability/composables.html) that make it easier to work with Nhost in your Vue app.

## Documentation

- [Quickstart](https://docs.nhost.io/platform/quickstarts/vue)
- [Reference documentation](https://docs.nhost.io/reference/vue)

## Installation

Install the Nhost Vue client together with GraphQL:

```bash
# With npm
npm install @nhost/vue graphql

# With Yarn
yarn add @nhost/vue graphql

```

## Initializing

Initialize a single `nhost` instance, and install it as a plugin in your Vue app.

```js title=src/main.js
import { createApp } from 'vue'
import { NhostClient } from '@nhost/vue'

import App from './App.vue'

const nhost = new NhostClient({
  subdomain: '<Your Nhost project subdomain>',
  region: '<Your Nhost project region>'
})

createApp(App).use(nhost).mount('#app')
```
npm package: @nhs-llc/gulp-jsforce-deploy
Description: Deploying Salesforce package using JSforce (no Migration Tool dependency)
Author: Shinichi Tomita
Latest version: 2.2.2

# gulp-jsforce-deploy

[![Build Status](https://travis-ci.org/jsforce/gulp-jsforce-deploy.svg?branch=master)](https://travis-ci.org/jsforce/gulp-jsforce-deploy)

A gulp plugin for deploying and retrieving Salesforce package, using JSforce's Metadata API feature.
As it is implemented purely in Node.js, you do not have to setup Force.com Migration Tool (Ant, Java) anymore.

## Setup

```
$ npm init
$ npm install gulp gulp-zip gulp-jsforce-deploy --save-dev
```

## Example

### Project Directory

```
├── gulpfile.js
├── package.json
└── pkg
    ├── classes
    ├── objects
    ├── package.xml
    ├── pages
    └── staticresources
```

### gulpfile.js

```javascript
var gulp = require('gulp')
var zip = require('gulp-zip')
// Backwards compatible with version
var forceDeploy = require('gulp-jsforce-deploy')
// Or new API
var { deploy, retrieve, extract } = require('gulp-jsforce-deploy')

gulp.task('deploy', async function () {
  return new Promise((resolve, reject) => {
    gulp
      .src('./pkg/**', { base: '.' })
      .pipe(zip('pkg.zip'))
      .pipe(
        forceDeploy({
          username: process.env.SF_USERNAME,
          password: process.env.SF_PASSWORD
          //, loginUrl: 'https://test.salesforce.com'
          //, pollTimeout: 120*1000
          //, pollInterval: 10*1000
          //, version: '33.0'
        })
      )
  })
})

gulp.task('retrieve', async function () {
  return new Promise((resolve, reject) => {
    gulp
      .src('./package.xml')
      .pipe(
        retrieve({
          // Filename is optional; uses name 'package.zip' by default.
          filename: 'pkg.zip',
          username: process.env.SF_USERNAME,
          password: process.env.SF_PASSWORD
          //, loginUrl: 'https://test.salesforce.com'
          //, pollTimeout: 120*1000
          //, pollInterval: 10*1000
          //, version: '33.0'
        })
      )
      // If the extract pipe is omitted, then the zip file will be written to the destination.
      .pipe(extract())
      .pipe(gulp.dest('./pkg'))
      .on('finish', resolve)
      .on('error', reject)
  })
})
```

### Sample commands

```
$ SF_USERNAME=username@example.com SF_PASSWORD=yourpassword gulp deploy
```

or if you have `foreman` installed, create `.env` file with above credential information, and execute :

```
$ foreman run gulp deploy
```
npm package: @nhs-llc/jsforce-metadata-tools
Description: Tools for deploying/retrieving package files using Salesforce Metadata API via JSforce
Author: Shinichi Tomita
Latest version: 1.3.3

# jsforce-metadata-tools [![Build Status](https://travis-ci.org/jsforce/jsforce-metadata-tools.svg)](https://travis-ci.org/jsforce/jsforce-metadata-tools)

Tools for deploying/retrieving package files using Salesforce Metadata API via [JSforce](https://jsforce.github.io/).

Provides command line interface (CLI) to easily deploy/retrieve packages.


## Install

```
$ npm install jsforce-metadata-tools -g
```

## Usage

### Deploy

#### Deploy package from local directory

```
$ jsforce-deploy -u username@example.org -p ${SF_PASSWORD} -D ./path/to/packageDir
```

#### Deploy package from ZIP archive file

```
$ jsforce-deploy -u username@example.org -p ${SF_PASSWORD} -Z ./path/to/package.zip
```

### Retrieve

#### Retrieve package files and write them under the directory

(Assuming that `./path/to/packageDir` directory has a `package.xml` file inside)
```
$ jsforce-retrieve -u username@example.org -p ${SF_PASSWORD} -D ./path/to/packageDir
```

#### Retrieve package files by specifying metadata types/members to retrieve

```
$ jsforce-retrieve -u username@example.org -p ${SF_PASSWORD} --memberTypes "ApexClass:Class1,Class2;ApexPage:*" -D ./path/to/distDir
```

#### Retrieve package files by specifying package names to retrieve

```
$ jsforce-retrieve -u username@example.org -p ${SF_PASSWORD} --packageNames "Package1,Package2" -D "./path/to/distDir1,./path/to/distDir2"
```

#### Retrieve package files by specifying package.xml file

```
$ jsforce-retrieve -u username@example.org -p ${SF_PASSWORD} -P ./path/to/package.xml -D ./path/to/distDir
```

#### Retrieve package and output as a ZIP archive file 

```
$ jsforce-retrieve -u username@example.org -p ${SF_PASSWORD} --packageName Package1 -Z ./path/to/package.zip
```


### OAuth-based Authorization

Once the authorization is done in JSforce REPL, the same connection is also valid here (no password required)

```
$ jsforce
> .authorize

...
(OAuth authorization flow)
...

Received authorization code. Please close the opened browser window.
Authorized. Fetching user info...
Logged in as : username@example.org
> .exit

$ jsforce-deploy -c username@example.org -D ./path/to/packageDir
```
npm package: @nhscc/bdpa-cli
Description: A CLI tool for managing NHSCC cloud resources
Author: Xunnamius
Latest version: 1.1.4

# bdpa-cli

A tool for automating management of HSCC's various MongoDB Atlas clusters,
keeping them alive (provisioned and warm cache) and healthy (limit document
counts, keep data fresh).

[View an example `secrets.json` file][1].

[1]: ./secrets.example.json
npm package: @nhscc/bdpa-cron
Description: A tool for automating management of HSCC's various MongoDB Atlas clusters, keeping them alive (provisioned and warm cache) and healthy (limit document counts, keep data fresh).
Author: Xunnamius
Latest version: 1.0.1
Deprecated: this package has been superseded by @nhscc/bdpa-cli

# bdpa-cron

A tool for automating management of HSCC's various MongoDB Atlas clusters,
keeping them alive (provisioned and warm cache) and healthy (limit document
counts, keep data fresh).