open-index/open-npm huggingface dataset:
npm package: @portway/gatsby-source-portway
Description: A portway data fetching plugin for gatsby
Author: J.J. Idt
Latest version: 1.2.1

# A GatsbyJS plugin to source content from Portway

Use [Portway](https://getportway.com) as a content source for your GatsbyJS site.

See the [Guide on building a website using Portway and GatsbyJS](https://docs.portway.app/guides/build-a-simple-website-with-gatsby)

## Setting up the plugin

In your gatsby project directory:

`npm install @portway/gatsby-source-portway`

Then in your project’s gatsby-config.js file add the plugin to the registry, we recommend passing in the necessary Portway token and project id as environment variables, you’ll never want to check your tokens into source control.

Include the `gatsby-plugin-sharp` and `gatsby-transformer-sharp` plugins to add options for portway image handling and caching.

```javascript
plugins: [
  gatsby-plugin-sharp,
  gatsby-transformer-sharp,
  {
    resolve: '@portway/gatsby-source-portway',
    options: {
      token: process.env.PORTWAY_TOKEN,
      projectId: process.env.PORTWAY_PROJECT_ID
    }
  }
]
```

### Options

| Option | Required | Description | Default |
|---|---|---|---|
| draft |   | If true, will query unpublished documents | false |
| projectId | * | The project ID from your URL https://portway.app/d/projects/#ID# |   |
| token | * | The token, or key from your project’s API Keys section |   |

Here are some Gatsby [tips on using environment variables](https://www.gatsbyjs.org/docs/environment-variables/https://www.gatsbyjs.org/docs/environment-variables/).

## Example query for fetching project data:

```graphql
export const query = graphql`
  query portwayQuery {
    allPortwayDocument {
      nodes {
        id
        name
        slug
        childrenPortwayField {
          id
          name
          value
          versionId
          createdAt
          order
          type
          updatedAt
        }
        updatedAt
        createdAt
      }
    }
  }
`
```
npm package: @portxchange/eslint-config-pronto
Description: This package contains a shared eslint config containing a custom rule set
Latest version: 3.0.1

# @portxchange/eslint-config-pronto

This package provides Pronto's .eslintrc as an extensible shared config.

## Usage

The export contains all of our ESLint rules. It does require some peer dependencies which are listed in the `package.json`.

1. Install the package:

  If you want to see the peerDependencies, run:

  ```sh
  npm info "@portxchange/eslint-config-pronto" peerDependencies
  ```

  Use this shortcut to install the peer dependencies:

  ```sh
  npx install-peerdeps --dev @portxchange/eslint-config-pronto
  ```

  To install the package itself run:

  ```sh
  npm i @portxchange/eslint-config-pronto
  ```

2. Add `"extends": "@portxchange/eslint-config-pronto"` to your `.eslintrc`.
npm package: @portxchange/expo-mixpanel-analytics
Description: Mixpanel integration for use with React Native apps built on Expo.
Author: Ben Awad
Latest version: 1.1.0

# `@portxchange/expo-mixpanel-analytics`

Mixpanel integration for use with React Native apps built on Expo. This package is based on Mollie's fork of `@benawad/expo-mixpanel-analytics`, but does not store the device name in Mixpanel for privacy reasons, and also connects to the EU endpoint of Mixpanel for GDPR compliance.

## Installation

```
yarn add @portxchange/expo-mixpanel-analytics
```

## Import

Your React Native app's screen resolution, app name, app ID, app version, device information and multiple other parameters will be automatically resolved and sent with each event.

```
import ExpoMixpanelAnalytics from '@portxchange/expo-mixpanel-analytics';
```

## Usage

```
const analytics = new ExpoMixpanelAnalytics("5224da5bbbed3fdeaad0911820f1bf2x");

analytics.identify("13793");

analytics.register({ email: "bob@bob.com" }); // super props sent on every request and persisted in AsyncStorage

analytics.track("Signed Up", { "Referred By": "Friend" });

analytics.people_set({ "$first_name": "Joe", "$last_name": "Doe", "$email": "joe.doe@example.com", "$created": "2013-04-01T13:20:00", "$phone": "4805551212", "Address": "1313 Mockingbird Lane", "Birthday": "1948-01-01" });

analytics.people_set_once({ "First login date": "2013-04-01T13:20:00" });

analytics.people_unset([ "Days Overdue" ]);

analytics.people_increment({ "Coins Gathered": 12 });

analytics.people_append({ "Power Ups": "Bubble Lead" });

analytics.people_union({ "Items purchased": ["socks", "shirts"] });

analytics.people_delete_user();

analytics.reset();
```

## References

`https://mixpanel.com/help/reference/http`
npm package: @portxchange/prettier-config-pronto
Description: This package provides Pronto's shared Prettier config.
Latest version: 1.3.4

# @portxchange/prettier-config-pronto

This package provides Pronto's .eslintrc as an extensible shared config.

## Usage

The export contains a shared Prettier config.

1. Install the package by running:

```sh
npm i "@portxchange/prettier-config-pronto"
```

2. Add `"@portxchange/prettier-config-pronto"` to your `.prettierrc.json`.