open-index/open-npm huggingface dataset:
npm package: @nomble/minecraftisland
Description: Minecraft Island (Minecraft Server Status API) NPM Package
Author: Necmettin
Latest version: 1.0.6

# Minecraft Island - Minecraft Server Status

Minecraft Island (Minecraft Server Status API) NPM Package

## :star: Show Your Support!

If you found this project helpful or you learned something from the source code and want to thank me, consider giving a :star: [on GitHub](https://github.com/nomble/minecraftisland-node)!

Your support motivates me to keep going, innovate, and create better open-source projects! :heart:

## Table of Contents

- [Status](#status)
- [Ping](#ping)
- [Icon](#icon)

## Installation

```bash
npm install @nomble/minecraftisland
```

# Status

### Description

Get the status of a server

### Parameters

- **type** - The type of server to check
- **address** - The address of the server to check
- **port** - The port of the server to check

### Returns

- **type** - The type of server
- **version** - The version of the server
- **players** - The amount of players online
- **maxPlayers** - The max amount of players
- **motd** - The MOTD of the server
- **software** - The software of the server
- **map** - The map of the server
- **folder** - The folder of the server
- **game** - The game of the server
- **appID** - The appID of the server
- **bots** - The amount of bots online
- **secure** - If the server is secure
- **dedicated** - If the server is dedicated
- **os** - The operating system of the server
- **password** - If the server has a password

### Status Example

```ts
import MinecraftIsland from '@nomble/minecraftisland';

const res = await MinecraftIsland.status({
  address: 'hub.opblocks.com',
  port: 25565,
  type: ServerType.JAVA, // Optional, defaults to JAVA if not provided, can be JAVA or BEDROCK (ServerType.JAVA or ServerType.BEDROCK)
});

console.log(status); // { type: 'java', version: '1.16.5', players: 0, maxPlayers: 100, motd: 'Minecraft Island', software: 'Paper', map: 'world', folder: 'world', game: 'MINECRAFT', appID: 0, bots: 0, secure: true, dedicated: true, os: 'linux', password: false }
```

# Ping

### Description

Ping a server to see if it is online or offline

### Parameters

None

### Returns

String - 'online' or 'offline'

### Ping Example

```ts
import MinecraftIsland from '@nomble/minecraftisland';

const res = await MinecraftIsland.ping();

console.log(res); // 'online' or 'offline'
```

# Icon

### Description

Get the icon of a server

### Parameters

Address - The address of the server to get the icon from

### Returns

Blob - The icon of the server

### Icon Example

```ts
import MinecraftIsland from '@nomble/minecraftisland';

const res = await MinecraftIsland.icon('mc.advancius.net:19132');

console.log(res); // returns Blob
```
npm package: @nomemo/nice-import-sorting
Description: A Prettier plugin that sorts import statements within JS, JSX, TS, and TSX files using the import names instead of the module/path names.
Latest version: 0.1.4

## nice-import-sorting

A Prettier plugin that sorts import statements within JS, JSX, TS, and TSX files using the import names instead of the module/path names.

From version `0.1.0`, import statements are automatically sorted and grouped, and plugin options available prior to version `0.1.0` are now ignored.

_The plugin is now opinionated when it comes to the sorting and grouping of import statements._

### Installation

NPM

```
npm install @nomemo/nice-import-sorting@latest
```

Yarn

```
yarn add @nomemo/nice-import-sorting@latest
```

### Setup

You will need to add the plugin to your Prettier config file.

```json
{
    "plugins": "@nomemo/nice-import-sorting"
}
```

### Plugin Options

Plugin options are no longer available; since version `0.1.0`
npm package: @nomemo/reactive
Description: A sensible and faster alternative to Redux for JavaScript and TypeScript application state management in the frontend.
Latest version: 0.0.4
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# reactive

A sensible and faster alternative to Redux for JavaScript and TypeScript application state management in the frontend.

If you are creating a React application you should use [reactive-react](https://github.com/simon-robertson-shift/reactive-react) because it provides a helpful hook for monitoring state changes within a component. See the demonstration below.

A package for Vue will be available shortly.

For now, take a look at [reactive-react-demo](https://github.com/simon-robertson-shift/reactive-react-demo) for a working NextJS demonstration.

### installation

`npm i @nomemo/reactive`
npm package: @nomemo/reactive-react
Description: A sensible and faster alternative to Redux for JavaScript and TypeScript application state management in the frontend.
Latest version: 0.0.3
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# reactive-react

A sensible and faster alternative to Redux for JavaScript and TypeScript application state management in the frontend.

This package extends [reactive](https://github.com/simon-robertson-shift/reactive) to provide a helpful React hook for monitoring state changes within a component. See the demonstration below.

A package for Vue will be available shortly.

For now, take a look at [reactive-react-demo](https://github.com/simon-robertson-shift/reactive-react-demo) for a working NextJS demonstration.

### installation

`npm i @nememo/reactive-react`
npm package: @nomemo/store
Description: A sensible and faster alternative to Redux for JavaScript and TypeScript application state management in the frontend.
Latest version: 0.0.6

# store

A sensible and faster alternative to Redux for JavaScript and TypeScript application state management in the frontend.

If you are creating a React application you should use [store-react](https://github.com/simon-robertson-shift/store-react) because it provides a helpful hook for monitoring state changes within a component. See the demonstration below.

A package for Vue will be available shortly.

For now, take a look at [store-react-demo](https://github.com/simon-robertson-shift/store-react-demo) for a working NextJS demonstration.

### installation

`npm i @nomemo/store`
npm package: @nomemo/store-preact
Description: A sensible and faster alternative to Redux for JavaScript and TypeScript application state management in the frontend.
Latest version: 0.0.1

# reactive-preact

A sensible and faster alternative to Redux for JavaScript and TypeScript application state management in the frontend.

This package extends [store](https://github.com/simon-robertson-shift/store) to provide a helpful Preact hook for monitoring state changes within a component. See the demonstration below.

For now, take a look at [store-react-demo](https://github.com/simon-robertson-shift/store-react-demo) for a working NextJS demonstration of the React version, the usage is exactly the same.

### installation

`npm i @nememo/store-preact`
npm package: @nomemo/store-react
Description: A sensible and faster alternative to Redux for JavaScript and TypeScript application state management in the frontend.
Latest version: 0.0.5

# reactive-react

A sensible and faster alternative to Redux for JavaScript and TypeScript application state management in the frontend.

This package extends [store](https://github.com/simon-robertson-shift/store) to provide a helpful React hook for monitoring state changes within a component. See the demonstration below.

A package for Vue will be available shortly.

For now, take a look at [store-react-demo](https://github.com/simon-robertson-shift/store-react-demo) for a working NextJS demonstration.

### installation

`npm i @nememo/store-react`