open-index/open-npm huggingface dataset:
npm package: @rexovolt/revolt.js
Description: Library for interacting with the Revolt API. Fork of v6.
Author: Paul Makles
Latest version: 6.8.0

# @rexovolt/revolt.js

![@rexovolt/revolt.js](https://img.shields.io/npm/v/@rexovolt/revolt.js) <!-- ![revolt-api](https://img.shields.io/npm/v/revolt-api?label=Revolt%20API) -->

**revolt.js** is a direct implementation of the entire Revolt API and provides a way to authenticate and start communicating with Revolt servers. This repository is a fork of revolt.js v6 with various API updates.

## Example Usage (Javascript / ES6)

```javascript
import { Client } from "revolt.js";

let client = new Client();

client.on("ready", async () =>
    console.info(`Logged in as ${client.user.username}!`),
);

client.on("message", async (message) => {
    if (message.content === "hello") {
        message.channel.sendMessage("world");
    }
});

client.loginBot("..");
```

### Important note

If you're using Node 18 or earlier, you must specify `--experimental-specifier-resolution=node` when running your code (for example, `node --experimental-specifier-resolution=node index.js`).

If you're using Node 19 or later, you'll need to use a custom loader. Install `commonjs-extension-resolution-loader` using your preferred package manager (e.g. `yarn add commonjs-extension-resolution-loader`), then specify `--loader=commonjs-extension-resolution-loader` when running your code (for example, `node --loader=commonjs-extension-resolution-loader index.js`).

## Example Usage (CommonJS)

```javascript
const { Client } = require("revolt.js");

let client = new Client();

client.on("ready", async () =>
    console.info(`Logged in as ${client.user.username}!`),
);

client.on("message", async (message) => {
    if (message.content === "hello") {
        message.channel.sendMessage("world");
    }
});

client.loginBot("..");
```

## Example Usage (Typescript)

```typescript
import { Client } from "revolt.js";

let client = new Client();

client.on("ready", async () =>
    console.info(`Logged in as ${client.user!.username}!`),
);

client.on("message", async (message) => {
    if (message.content === "hello") {
        message.channel!.sendMessage("world");
    }
});

client.loginBot("..");
```

## MobX

MobX is used behind the scenes so you can subscribe to any change as you normally would, e.g. with `mobx-react(-lite)` or mobx's utility functions.

```typescript
import { autorun } from 'mobx';

[..]

client.once('ready', () => {
    autorun(() => {
        console.log(`Current username is ${client.user!.username}!`);
    });
});
```

## Revolt API Types

All `revolt-api` types are re-exported from this library under `API`.

```typescript
import { API } from "revolt.js";

// API.Channel;
// API.[..];
```
npm package: @rexpan/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 5.0.5

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>
Please refer to its documentation:

- [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.
- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.

# Update vs `react-scripts`

- Fix TypeScript Class declare fields (`allowDeclareFields`)
- Resolve `tsconfig.dev.json` when on `development`
- `REACT_APP_USE_TS_LOADER` to use `ts-loader`
- Disable TypeScript type checking. To enable, set `REACT_APP_USE_TS_LOADER`
- support for LESS `.less`, `.module.less`
npm package: @rexprjkt/hoyoapi
Description: Forked hoyoapi from rexprjkt/hoyoapi
Author: rexprjkt
Latest version: 1.2.6

<div align="center">
  <h1>HoYoAPI - TypeScript/JavaScript HoYoAPI</h1>
  <h5>forked from vermaysha/hoyoapi</h5>
</div>

## Documentation

[![view - Documentation](https://img.shields.io/badge/view-Documentation-blue?style=for-the-badge)](https://vermaysha.github.io/hoyoapi/ 'Go to project documentation')

## License

MIT License

Copyright (c) 2023 Ashary Vermaysha

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
npm package: @rextjs/babel-plugin-auto-css-modules
Description: Automatically identify CSS Modules
Author: mingdev
Latest version: 1.0.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @rextjs/babel-plugin-auto-css-modules

Automatically identify CSS Modules

```js
import styles from 'a.scss'; //===>import styles from 'a.scss?modules'
```

## Usage

Without options:

```json
{
  "plugins": [
    "@rextjs/babel-plugin-auto-css-modules"
  ]
}
```

With options:

```json
{
  "plugins": [
    [
      "@rextjs/babel-plugin-auto-css-modules",
      {
        "generate": "function"
      }
    ]
  ]
}
```

## Options

### `generate type function`

```js
(value, suffix) => {
  const CSS_EXT_NAMES = ['.css', '.less', '.sass', '.scss', '.stylus', '.styl'];
  if (CSS_EXT_NAMES.includes(suffix)) return `${value}?modules`;
}
// return import styles from 'a.scss?modules'
```
npm package: @rexxars/babel-plugin-inline-json-import
Description: Inlines JSON file imports straight into JS code
Author: Bryan Yap
Latest version: 0.3.4

# @rexxars/babel-plugin-inline-json-import

A babel plugin that inlines all imports of JSON files straight into your
JavaScript files.

## Example

Given the following JSON file:

```json
{
  "foo": "bar"
}
```

The plugin will transform the following statement:

```js
import json from './path/to/file.json'
```

or

```js
const json = require('./path/to/file.json')
```

to:

```js
const json = {foo: 'bar'}
```

Simple as that! Both `require` and `import` are supported.

Not only that, but it also supports destructuring:

```js
const {foo} = require('./path/to/file.json')
// =>
const foo = 'bar'
```

## Installation

Install the plugin through `npm`, you will also need `babel` installed for
obvious reasons:

```sh
$ npm install --save-dev @rexxars/babel-plugin-inline-json-import
```

Add `@rexxars/babel-plugin-inline-json-import` to the list of plugins. If you are using a `.babelrc` file, the file should have an entry that looks like this:

```json
{
  "plugins": ["@rexxars/inline-json-import"]
}
```

## Usage

This should work straight out of the box. You can configure a `RegExp` pattern you want to match on, should you only wish it to apply to certain JSON files:

```json
{
  "plugins": [
    [
      "@rexxars/inline-json-import",
      {
        "match": "/package.json$",
        "matchFlags": "i"
      }
    ]
  ]
}
```

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request =)

## Fork modifications

This module was originally made by [Bryan Yap](https://github.com/yggie), and has been forked in order to provide the following improvements:

- Inlining of only destructured items where possible
- Rewritten imports now correctly appear _after_ other imports
- Configurable RegExp for specifying which files to inline
- Handles certain "exotic" import styles without crashing
- Handles loading of JSON files from `node_modules`

All modifications were [contributed upstream](https://github.com/yggie/babel-plugin-inline-json-import/pull/17) and is awaiting review at the time of writing.

## License

This project is licensed under the MIT License - see the [LICENSE](/LICENSE)
file for details
npm package: @rexxars/boolean-contains
Description: Determines whether the second geometry is completely within the first geometry.
Author: Turf Authors
Latest version: 7.3.4

# @turf/boolean-contains

<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

## booleanContains

Tests whether geometry a contains geometry b.
The interiors of both geometries must intersect, and the interior and boundary of geometry b must not intersect the exterior of geometry a.
booleanContains(a, b) is equivalent to booleanWithin(b, a)

### Parameters

*   `feature1` **([Geometry][1] | [Feature][2]\<any>)** GeoJSON Feature or Geometry
*   `feature2` **([Geometry][1] | [Feature][2]\<any>)** GeoJSON Feature or Geometry

### Examples

```javascript
var line = turf.lineString([[1, 1], [1, 2], [1, 3], [1, 4]]);
var point = turf.point([1, 2]);

turf.booleanContains(line, point);
//=true
```

Returns **[boolean][3]** true/false

[1]: https://tools.ietf.org/html/rfc7946#section-3.1

[2]: https://tools.ietf.org/html/rfc7946#section-3.2

[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean

<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run "yarn docs" from the root of the turf project. -->

---

This module is part of the [Turfjs project](https://turfjs.org/), an open source module collection dedicated to geographic algorithms. It is maintained in the [Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create PRs and issues.

### Installation

Install this single module individually:

```sh
$ npm install @turf/boolean-contains
```

Or install the all-encompassing @turf/turf module that includes all modules as functions:

```sh
$ npm install @turf/turf
```


### Diagrams

![esri-contains](diagrams/esri-contains.png)
npm package: @rexxars/crown
Description: Microservice that scrapes websites, extracting key information such as title, description, opengraph information etc
Author: Espen Hovlandsdal
Latest version: 2.0.1

# crown ♛

Microservice that scrapes websites, extracting key information such as title, description, opengraph information etc

## Installation

```
# Either clone the repository
git clone https://github.com/rexxars/crown.git

# Or install it using NPM (don't confuse `crown` with `@rexxars/crown`)
npm install -g @rexxars/crown

# Then, install dependencies
npm install

# Run it
npm start
```

## Developing

```
# Automatically restarts the server on changes
npm run dev
```

## License

MIT-licensed. See LICENSE.
npm package: @rexxars/eventsource-polyfill
Description: A browser polyfill for W3C EventSource (http://www.w3.org/TR/eventsource/)
Author: amvtek
Latest version: 1.0.0

# EventSource Polyfill

**Forked from [amvtek/EventSource](https://github.com/amvtek/EventSource)**. See [fork modification](#fork-modifications) for more details.

Provide polyfill to support EventSource in browser where it is not available.

> - Used in production
> - Tested in Internet Explorer 8 +
> - Tested in Android browser 2.1 +
> - [Documented][]
> - Run the [Browser test suite][]

## Installing

```bash
$ npm install @rexxars/eventsource-polyfill
```

## Usage (through bundler)

```js
const EventSource =
  typeof window !== 'undefined' && window.EventSource
    ? window.EventSource
    : require('@rexxars/eventsource-polyfill')

const es = new EventSource('/my-es-endpoint')
```

## Usage (drop-in script)

```html
<script src="https://unpkg.com/@rexxars/eventsource-polyfill"></script>
<script>
  var es = new EventSource('/my-es-endpoint')
</script>
```

## Fork modifications

- New package name: `@rexxars/eventsource-polyfill`
- UMD module definition - CommonJS, AMD and browser globals
- Fixed a few global variable leaks-
- Check for `window.location` before usage (fixes react native crashing)
- Stop dispatching events after closed

## License

MIT-licensed. See LICENSE.
npm package: @rexxars/gh-pages-deploy
Description: deploy to gh-pages with one command
Author: meandave
Latest version: 0.5.3

# GH-pages-deploy

[![NPM](https://nodei.co/npm/gh-pages-deploy.png?downloads=true)](https://npmjs.org/package/gh-pages-deploy)

Deploy straight to [github pages](https://pages.github.com/) with one simple command.

## Usage

```
# install it from npm and symlink it into your PATH
npm install gh-pages-deploy -g

# now run it!
gh-pages-deploy
```

You can also use `npm run` to package it with your app without installing it globally.

First add this to your scripts section of `package.json`:

```JSON
  "scripts": {
    "deploy": "gh-pages-deploy",
    "clean-source": "rimraf README.md src webroot package.json"
  },
```

And then install `gh-pages-deploy` as a devDependency:

```
npm install gh-pages-deploy --save-dev
```

And now you can run `npm run deploy` to run the `gh-pages-deploy` installed in the local `node_modules` folder (even if you have never done `npm install gh-pages-deploy -g`).

You can also provide a custom commit message via command line argument:

```JSON
  "scripts": {
    "deploy": "gh-pages-deploy -- 'A custom commit message'",
  },
```

## Options

To configure `gh-pages-deploy` all you need to do is specify a couple of things in your `package.json` (all of which are optional)

``` JSON
  "gh-pages-deploy": {
    "staticpath": "dist",
    "cname": "nope.org",
    "prep": [
      "build-sass",
      "optimize-img"
    ],
    "commit": "a custom commit message",
    "post": [
      "clean-source"
    ],
    "noprompt": false
  },

```

* "staticpath" path to your files to be copied over to the root directory
* "cname" content for CNAME file
* "prep" an array of script names to run before pushing to github, this can be
any script that you have declared in your "scripts" object in your `package.json`.
* "commit" a custom commit message to be used when committing to git
* "post" an array of script names to run after "prep", but before add/commit/push
* "noprompt" if this is set to true, the prompt will be bypassed and you will never
need to confirm the commands before deploying.

## About

This repo uses `gh-pages-deploy`. Checkout the [gh-pages](https://github.com/meandavejustice/gh-pages-deploy/tree/gh-pages)
branch and the result at [http://davejustice.com/gh-pages-deploy/](http://davejustice.com/gh-pages-deploy/).


This was inspired after a conversation with [max ogden](https://github.com/maxogden) regarding the setup of
the [Code For Portland](http://www.codeforportland.org/) Jekyll Pages. Inspired by the [
leveldb.org repository](https://github.com/Level/leveldb.org/blob/master/package.json#L13), I
wanted an easier way for people to generate static pages and deploy to github without
being tied to just jekyll.

## LICENSE

MIT