open-index/open-npm huggingface dataset:
npm package: @suniltaneja/netscan-cli
Description: A CLI tool to scan network for active hosts and their hostnames
Author: Sunil Taneja
Latest version: 1.0.5

# Network Scan CLI

A command-line tool built with React Ink and TypeScript that scans your local network for active hosts and displays their IP addresses and hostnames in real-time.

## Features

- 🔍 Scans your local network (typically /24 subnet) for active hosts
- 🏃‍♂️ Real-time display of scanning progress
- 🏷️ Resolves hostnames for discovered IP addresses
- 💻 Shows MAC addresses of discovered devices (optional)
- 🔎 Filter hosts by hostname using regular expressions
- ⚡ Fast concurrent scanning with batched updates
- 🎨 Modern terminal UI with React Ink

## Installation & Usage

### Using npx (Recommended)

The easiest way to use this tool is with npx, which runs it directly without installation:

```bash
# Run directly with npx
npx @suniltaneja/netscan-cli

# Run with hostname filter
npx @suniltaneja/netscan-cli --hostname raspberry

# Show MAC addresses
npx @suniltaneja/netscan-cli --mac

# Show MAC addresses with hostname filter
npx @suniltaneja/netscan-cli --mac --hostname raspberry

# Run from local directory during development
npx .
```

### Global Installation

If you prefer to install the tool globally:

```bash
# Install globally
npm install -g @suniltaneja/netscan-cli

# Then run from anywhere
netscan-cli
```

### Local Development

For local development or contributing:

```bash
# Clone and install
git clone <repository-url>
cd netscan-cli
npm install

# Link globally
npm link

# Build and run locally
npm run build
npx .
```

## Usage

```bash
# Scan all hosts in your network
netscan-cli

# Filter hosts by hostname pattern
netscan-cli --hostname "raspberry"
network-scan -n "^esp32"

# Show help
netscan-cli --help
```

### Options

- `-n, --hostname`: Filter hostnames using a regular expression pattern
- `-m, --mac`: Show MAC addresses of discovered hosts
- `--help`: Show help information
- `--version`: Show version number

### Examples

```bash
# Find all Raspberry Pi devices
netscan-cli --hostname raspberry

# Find ESP32 devices
netscan-cli -n "^esp32"

# Find devices in a specific domain
netscan-cli -n "\.home\.com$"
```

## Development

```bash
# Clone the repository
git clone https://github.com/suniltaneja/netscan-cli.git
cd netscan-cli

# Install dependencies
npm install

# Build the project
npm run build

# Run in development mode
npm run dev

# Run the built version
npm start
```

## Technical Details

- Built with TypeScript and React Ink for a modern terminal UI
- Uses Node.js DNS and network utilities for host discovery
- Concurrent scanning with Promise-based architecture
- Real-time updates with React state management
- ES modules for modern JavaScript support

## Requirements

- Node.js 16.0.0 or higher
- Network access (requires permission to ping hosts)

## License

MIT © Sunil Taneja
npm package: @suniltaneja/network-scanner-cli
Description: A CLI tool to scan network for active hosts and their hostnames
Author: Sunil Taneja
Latest version: 1.0.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Network Scanner CLI

A beautiful command-line tool built with React Ink and TypeScript that scans your local network for active hosts and displays their IP addresses and hostnames in real-time.

## Features

- 🔍 Scans your local network (typically /24 subnet) for active hosts
- 🏃‍♂️ Real-time display of scanning progress with a beautiful UI
- 🏷️ Resolves hostnames for discovered IP addresses
- 🔎 Filter hosts by hostname using regular expressions
- ⚡ Fast concurrent scanning with batched updates
- 🎨 Modern terminal UI with React Ink

## Installation & Usage

### Using npx (Recommended)

The easiest way to use this tool is with npx, which runs it directly without installation:

```bash
# Run directly with npx
npx @suniltaneja/network-scanner-cli

# Run with hostname filter
npx @suniltaneja/network-scanner-cli --hostname raspberry

# Run from local directory during development
npx .
```

### Global Installation

If you prefer to install the tool globally:

```bash
# Install globally
npm install -g @suniltaneja/network-scanner-cli

# Then run from anywhere
network-scanner-cli
```

### Local Development

For local development or contributing:

```bash
# Clone and install
git clone <repository-url>
cd network-scanner-cli
npm install

# Link globally
npm link

# Build and run locally
npm run build
npx .
```

## Usage

```bash
# Scan all hosts in your network
network-scanner-cli

# Filter hosts by hostname pattern
network-scanner-cli --hostname "raspberry"
network-scanner-cli -n "^esp32"

# Show help
network-scanner-cli --help
```

### Options

- `-n, --hostname`: Filter hostnames using a regular expression pattern
- `--help`: Show help information
- `--version`: Show version number

### Examples

```bash
# Find all Raspberry Pi devices
network-scanner-cli --hostname raspberry

# Find ESP32 devices
network-scanner-cli -n "^esp32"

# Find devices in a specific domain
network-scanner-cli -n "\.home\.com$"
```

## Development

```bash
# Clone the repository
git clone https://github.com/suniltaneja/network-scanner-cli.git
cd network-scanner-cli

# Install dependencies
npm install

# Build the project
npm run build

# Run in development mode
npm run dev

# Run the built version
npm start
```

## Technical Details

- Built with TypeScript and React Ink for a modern terminal UI
- Uses Node.js DNS and network utilities for host discovery
- Concurrent scanning with Promise-based architecture
- Real-time updates with React state management
- ES modules for modern JavaScript support

## Requirements

- Node.js 16.0.0 or higher
- Network access (requires permission to ping hosts)

## License

MIT © Sunil Taneja
npm package: @suninfo/array-is-sorted
Description: 检测数组是否排序的模块
Author: XinHuaLuFang
Latest version: 0.1.0

# array-is-sorted

检测数组是否排序的模块


# Installation

```bash
$ npm install @sunflower/array-is-sorted
```

# Usage

默认的排序规则为由小到大。
```js
const checksorted = require('@sunflower/array-is-sorted');

checksorted([1, 3, 5]); // => true
checksorted([3, 1, 5]); // => false
```

自定义排序规则
```js
const checksorted = require('@sunflower/array-is-sorted');

let myfun = function(prev, next) {
  return next.charCodeAt() - prev.charCodeAt()
};

checksorted(['a', 'b', 'f'], myfun); // => true
checksorted(['c', 'z', 'm'], myfun); // => false
```

# Tests

安装`mocha`测试框架，然后执行测试命令：
```bash
$ yarn
$ npm test
```

# License
The [MIT](LICENSE) License
npm package: @suninfo/vue-echarts
Description: 适用于vue的echarts组件
Author: SuninfoFE
Latest version: 0.1.1

# vue-echarts

<p align="center">
  <img src="./static/vue-echarts.png">
<p>

> 适用于vue的echarts组件

# Installation

npm

```bash
npm install @suninfo/vue-charts --save
```

yarn
```bash
yarn add @suninfo/vue-charts
```

# Usage

[在线示例页](http://vue-echarts.xweb.xin/)
npm package: @sunio/sun-sdk
Description: ⚒️ An SDK for building applications on top of SUN.io
Latest version: 1.0.9

# Alpha software

The latest version of the SDK is used in production in the Uniswap Interface,
but it is considered Alpha software and may contain bugs or change significantly between patch versions.
If you have questions about how to use the SDK, please reach out in the `#dev-chat` channel of the Discord.
Pull requests welcome!

# Uniswap V3 SDK

[![Unit Tests](https://github.com/Uniswap/uniswap-v3-sdk/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-v3-sdk/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-v3-sdk/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-v3-sdk/actions?query=workflow%3ALint)
[![npm version](https://img.shields.io/npm/v/@uniswap/v3-sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/v3-sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/v3-sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/v3-sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://docs.uniswap.org/).
npm package: @sunixzs/hashscroll
Description: Finds all #hash links and scrolls on click to matching element with id="hash".
Author: sunixzs
Latest version: 1.0.0

# HashScroll

Finds all #hash links and scrolls on click to matching element with `id="hash"`.  
Use with JavaScript or TypeScript.

## Install

```sh
npm -i @sunixzs/hashscroll
```

... or ...

```sh
yarn add @sunixzs/hashscroll
```

## Use

```ts
const hs = require("@sunixzs/hashscroll");

new hs.HashScroll();
```

... or ...

```ts
import { HashScroll } from "@sunixzs/hashscroll";

new HashScroll();
```

## API

```ts
/**
 * @param topOffset Either a number: 'space to top window border' or an element to get the height from before scrolling.
 * @param linkElementsOrSelector Either anchor elements or a selector string link "nav a"
 */
constructor(
    topOffsetOrElement: number | Element = 0,
    linkElementsOrSelector: NodeListOf<HTMLAnchorElement> | string = "a"
){}

/**
 * Setter for 'space to top'
 * @param topOffsetOrElement Either a number: 'space to top window border' or an element to get the height from before
 */
setTopOffset(topOffsetOrElement: number | Element): this {}

/**
 * Checks, if the hash in href of a link has a target element.
 * @param link
 */
linkTarget(link: Element): Element | null {}

/**
 * Scrolls the page to the target element.
 * @param target
 */
scrollTo(target: Element | null): void {}
```

## Example with some options

```ts
const hs = require("@sunixzs/hashscroll");

let hashScroll = new hs.HashScroll(0, "nav a");

const setTop = function () {
    let header = document.querySelector("header");
    hashScroll.setTopOffset(header ? header.clientHeight : 0);
};

let t = 0;
window.addEventListener("resize", function () {
    if (t) {
        window.clearTimeout(t);
    }
    t = window.setTimeout(setTop, 100);
});
```

Or let the script observe the header height:

```ts
const hs = require("@sunixzs/hashscroll");

let hashScroll = new hs.HashScroll(document.querySelector("header"), "nav a");
```
npm package: @sunixzs/loading_animation
Description: Just another loading animation - a colored background with an rotating icon in the middle.
Author: sunixzs
Latest version: 1.0.2

# Loading Animation

Just another loading animation - a colored background with an rotating icon in the middle.  
Use with JavaScript or TypeScript.


## Install

```sh
npm -i @sunixzs/loading_animation
```

... or ...

```sh
yarn add @sunixzs/loading_animation
```

## Use

```ts
const la = require("@sunixzs/loading_animation/dist");

const loadingAnimation = new la.LoadingAnimation(document.body);

loadingAnimation.show(); // let the show begin
loadingAnimation.hide(); // hide the loader but keeps the markup in place
loadingAnimation.remove(); // removes the loader
loadingAnimation.fadeOut(); // fade out the loader and remove() it
```

## API

```ts
/**
 * @param element HTMLElement to add the loading animation
 * @param mode Either 'append' or 'replace' the content of element
 * @param show Show loading animation while constructing (call show() after init)?
 * @param styles Override some styles
 * @param iconHtml Either '' to use the default icon or SVG-markup. Maybe import one of the SVG in ./icons/.
 */
constructor(
    element: HTMLElement,
    mode: string = "append",
    show: boolean = false,
    styles: any = {},
    iconHtml: string = ""
)
```

## Example with some options

```ts
const la = require("@sunixzs/loading_animation/dist");
const spinner = require("@sunixzs/loading_animation/icons/spinner");

const loadingAnimation = new la.LoadingAnimation(
    document.body
    "append",
    true,
    {
        container: {
            position: "fixed",
            zIndex: 1066,
        },
        background: {
            backgroundColor: "rgba(51,127,137,0.97)",
        },
        loader: {
            backgroundColor: "#f5ead9",
        },
        animation: {
            color: "#327f89",
        },
    },
    spinner.ICON
);

window.setTimeout(function () {
    loadingAnimation.fadeOut();
}, 1000);
```