open-index/open-npm huggingface dataset:
npm package: @superb-ai/norwegian-forest
Description: ## Installation
Author: Seohee Ko
Latest version: 2.22.3

<p align="center">
  <a href="" target="blank"><img src="sahara.png" width="600"  alt="" /></a>
</p>

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

# Norwegian Forest

## Installation

```
yarn add norwegian-forest @emotion/react @emotion/styled
```

## License

- MIT License
npm package: @superbahbi/expo-mixpanel-analytics
Description: Mixpanel integration for use with React Native apps built on Expo 39.
Author: Ben Awad
Latest version: 2.0.4

# Expo Mixpanel Analytics

Mixpanel integration for use with React Native apps built on Expo.

Forked from `@benawad/expo-mixpanel-analytics` to add support for Expo 39.

## Installation

```
npm install @bothrs/expo-mixpanel-analytics --save
```

## 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 '@bothrs/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: @superbalist/js-pubsub-google-cloud
Description: A Google Cloud adapter for the js-pubsub package.
Author: Superbalist.com a division of Takealot Online
Latest version: 3.0.2

# @superbalist/js-pubsub-google-cloud

A Google Cloud adapter for the [js-pubsub](https://github.com/Superbalist/js-pubsub) package.

[![Author](http://img.shields.io/badge/author-@superbalist-blue.svg?style=flat-square)](https://twitter.com/superbalist)
[![Build Status](https://img.shields.io/travis/Superbalist/js-pubsub-google-cloud/master.svg?style=flat-square)](https://travis-ci.org/Superbalist/js-pubsub-google-cloud)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
[![NPM Version](https://img.shields.io/npm/v/@superbalist/js-pubsub-google-cloud.svg)](https://www.npmjs.com/package/@superbalist/js-pubsub-google-cloud)
[![NPM Downloads](https://img.shields.io/npm/dt/@superbalist/js-pubsub-google-cloud.svg)](https://www.npmjs.com/package/@superbalist/js-pubsub-google-cloud)


## Installation

```bash
npm install @superbalist/js-pubsub-google-cloud
```
    
## Usage

```node
"use strict";

let pubsub = require('@google-cloud/pubsub');
let GoogleCloudPubSubAdapter = require('@superbalist/js-pubsub-google-cloud');

process.env.GOOGLE_APPLICATION_CREDENTIALS = '/path/to/your-gcloud-key.json';

let client = pubsub({
  projectId: 'your-project-id-here'
});

let adapter = new GoogleCloudPubSubAdapter(client);

// disable auto topic & subscription creation
adapter.autoCreateTopics = false; // this is true by default
adapter.autoCreateSubscriptions = false; // this is true by default

// set a unique client identifier for the subscriber
adapter.clientIdentifier = 'search_service';

// consume messages
// note: this is a blocking call
adapter.subscribe('my_channel', (message) => {
  console.log(message);
  console.log(typeof message);
});

// publish messages
adapter.publish('my_channel', {first_name: 'Matthew'});
adapter.publish('my_channel', 'Hello World');

// publish multiple messages
let messages = [
  'message 1',
  'message 2',
];
adapter.publishBatch('my_channel', messages);
```

## Examples

The library comes with [examples](examples) for the adapter and a [Dockerfile](Dockerfile) for
running the example scripts.

Run `make up`.

You will start at a `bash` prompt in the `/usr/src/app` directory.

If you need another shell to publish a message to a blocking consumer, you can run `docker-compose run js-pubsub-google-cloud /bin/bash`

To run the examples:
```bash
$ node examples/GoogleCloudConsumerExample.js
$ node examples/GoogleCloudPublishExample.js (in a separate shell)
```
npm package: @superbalist/js-pubsub-http
Description: An HTTP adapter for the js-pubsub package.
Author: Superbalist.com a division of Takealot Online
Latest version: 2.0.0

# @superbalist/js-pubsub-http

An HTTP adapter for the [js-pubsub](https://github.com/Superbalist/js-pubsub) package.

[![Author](http://img.shields.io/badge/author-@superbalist-blue.svg?style=flat-square)](https://twitter.com/superbalist)
[![Build Status](https://img.shields.io/travis/Superbalist/js-pubsub-http/master.svg?style=flat-square)](https://travis-ci.org/Superbalist/js-pubsub-http)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
[![NPM Version](https://img.shields.io/npm/v/@superbalist/js-pubsub-http.svg)](https://www.npmjs.com/package/@superbalist/js-pubsub-http)
[![NPM Downloads](https://img.shields.io/npm/dt/@superbalist/js-pubsub-http.svg)](https://www.npmjs.com/package/@superbalist/js-pubsub-http)

This adapter assumes that you have a HTTP service which accepts an array of messages POSTed to a
/messages/(channel) end-point.

## Installation

```bash
npm install @superbalist/js-pubsub-http
```
    
## Usage
```node
'use strict';

let pubsub = require('@google-cloud/pubsub');
let GoogleCloudPubSubAdapter = require('@superbalist/js-pubsub-google-cloud');
let HTTPPubSubAdapter = require('@superbalist/js-pubsub-http');

process.env.GOOGLE_APPLICATION_CREDENTIALS = '/path/to/your-gcloud-key.json';

// create the underlying adapter which is going to be decorated
let client = pubsub({
  projectId: 'your-project-id-here',
});

let googleCloudAdapter = new GoogleCloudPubSubAdapter(client);

// now create our decorator
// the decorator will proxy subscribe calls straight to the googleCloudAdapter
// publish calls will be POSTed to the service uri
let adapter = new HTTPPubSubAdapter('http://127.0.0.1', googleCloudAdapter);

adapter.subscribe('my_channel', (message) => {
  console.log(message);
  console.log(typeof message);
});

// consume messages
// note: this is a blocking call
adapter.subscribe('my_channel', (message) => {
  console.log(message);
  console.log(typeof message);
});

// publish messages
adapter.publish('my_channel', {first_name: 'Matthew'});
adapter.publish('my_channel', 'Hello World');

// publish multiple messages
let messages = [
  'message 1',
  'message 2',
];
adapter.publishBatch('my_channel', messages);
```

## TODO

* Add unit tests

## Examples

The library comes with [examples](examples) for the adapter and a [Dockerfile](Dockerfile) for
running the example scripts.

Run `make up`.

You will start at a `bash` prompt in the `/usr/src/app` directory.

If you need another shell to publish a message to a blocking consumer, you can run `docker-compose run js-pubsub-http /bin/bash`

To run the examples:
```bash
$ ./run_consumer.sh
$ ./run_publisher.sh (in a separate shell)
```
npm package: @superbalist/js-pubsub-redis
Description: A Redis adapter for the js-pubsub package
Author: Superbalist.com a division of Takealot Online
Latest version: 3.0.0

# @superbalist/js-pubsub-redis

A Redis adapter for the [js-pubsub](https://github.com/Superbalist/js-pubsub) package.

[![Author](http://img.shields.io/badge/author-@superbalist-blue.svg?style=flat-square)](https://twitter.com/superbalist)
[![Build Status](https://img.shields.io/travis/Superbalist/js-pubsub-redis/master.svg?style=flat-square)](https://travis-ci.org/Superbalist/js-pubsub-redis)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
[![NPM Version](https://img.shields.io/npm/v/@superbalist/js-pubsub-redis.svg)](https://www.npmjs.com/package/@superbalist/js-pubsub-redis)
[![NPM Downloads](https://img.shields.io/npm/dt/@superbalist/js-pubsub-redis.svg)](https://www.npmjs.com/package/@superbalist/js-pubsub-redis)


## Installation

```bash
npm install @superbalist/js-pubsub-redis
```
    
## Usage

```node
'use strict';

let redis = require('redis');
let RedisPubSubAdapter = require('@superbalist/js-pubsub-redis');

let client = redis.createClient({
  host: 'redis',
  port: 6379
});

let adapter = new RedisPubSubAdapter(client);

// consume messages
// note: this is a blocking call
adapter.subscribe('my_channel', (message) => {
  console.log(message);
  console.log(typeof message);
});

// publish messages
adapter.publish('my_channel', {first_name: 'Matthew'});
adapter.publish('my_channel', 'Hello World');

// publish multiple messages
let messages = [
  'message 1',
  'message 2',
];
adapter.publishBatch('my_channel', messages);
```

## Examples

The library comes with [examples](examples) for the adapter and a [Dockerfile](Dockerfile) for
running the example scripts.

Run `make up`.

You will start at a `bash` prompt in the `/usr/src/app` directory.

If you need another shell to publish a message to a blocking consumer, you can run `docker-compose run js-pubsub-redis /bin/bash`

To run the examples:
```bash
$ node examples/RedisConsumerExample.js
$ node examples/RedisPublishExample.js (in a separate shell)
```
npm package: @superbet/commitlint-config
Description: Superbet shared CommitLint configuration
Latest version: 1.0.0

![@superbet/commitlint-config logo](/logo.svg "CommitLint logo reimagined with Superbet colors")

# Superbet Shared Commitlint Config

[Commitlint](https://commitlint.js.org) is a commit message linter.

- [Committing the code guide](https://www.notion.so/superbet/Committing-the-code-204a158c82c348b68ced716911251afa)

## What it does?

- Extends [`@commitlint/config-conventional`](https://www.npmjs.com/package/@commitlint/config-conventional)
- Adds a rule that enforces `fix` and `feat` commits to have a Jira ticket id at the end in square brackets.

### Allowed commits

```
docs: fixed typo in readme
feat: infantry units move 10% faster [ABC-123]
```

### Disallowed commits

```
fix: ships no longer count as infantry
```

## Add to a Project

### Install Configuration

```bash
npm i @commitlint/{config-conventional,cli} @superbet/commitlint-config --save-dev
```

### Add to Commitlint Config

```js
module.exports = {
  extends: ["@superbet/commitlint-config"],
};
```

_Using `.commitlintrc.js`_

### Add to Husky

```bash
npx husky add .husky/commit-msg 'npx --no-install commitlint --edit "$1"'
```

## Suggestions?

Create a discussion on [GitHub](/discussions) or [learn how to make a contribution](https://github.com/firstcontributions/first-contributions).
npm package: @superbet/eslint-config
Description: Superbet shared ESLint configuration
Latest version: 1.0.1

![@superbet/eslint-config logo](/logo.svg "ESLint logo with Superbet colors")

# Superbet Shared ESLint Config

ESLint statically analyzes your code to quickly find problems. ESLint is built into most text editors and you can run ESLint as part of your continuous integration pipeline.

- [Getting Started](https://eslint.org/docs/user-guide/getting-started)
- [Configuring](https://eslint.org/docs/user-guide/configuring)
- [Rules](https://eslint.org/docs/rules/)
- [Shareable Configs](https://eslint.org/docs/developer-guide/shareable-configs)

## Add to a Project

### Install Configuration

```bash
npm install @superbet/eslint-config --save-dev
```

Also add Peer Dependencies:

```bash
npm install eslint prettier typescript --save-dev
```

### Add to ESLint Configuration

```json
{
  "extends": "@superbet/eslint-config"
}
```

_Using `.eslintrc` file_

Or

```js
module.exports = {
  extends: "@superbet/eslint-config",
};
```

_Using `.eslintrc.js` file_

## Suggestions?

Create a discussion on [GitHub](https://github.com/superbet-group/eslint-config/discussions) or [learn how to make a contribution](https://github.com/firstcontributions/first-contributions).