open-index/open-npm huggingface dataset:
npm package: @hukewu-com/bdisk
Description: Baidu Netdisk CLI tool written in TypeScript
Latest version: 1.1.3

# bdisk - Baidu Netdisk CLI Tool

百度网盘 CLI 工具，使用 TypeScript 开发。

## 安装

```bash
npm install -g bdisk
```

## 使用方法

### 登录

```bash
bdisk login --app-key <your-app-key> --secret-key <your-secret-key>
```

### 文件操作

```bash
# 列出文件
bdisk ls /我的资源

# 查看文件信息
bdisk stat /我的资源/文件.pdf

# 获取用户信息和配额
bdisk info

# 创建文件夹
bdisk mkdir /新文件夹

# 重命名
bdisk rename /旧名称.txt 新名称.txt

# 复制文件
bdisk cp /源文件.txt /目标文件夹

# 移动文件
bdisk mv /源路径 /目标路径

# 删除文件
bdisk rm /要删除的文件.txt
```

### 上传和下载

```bash
# 上传文件
bdisk upload ./本地文件.pdf /网盘/文件.pdf

# 下载文件
bdisk download /网盘/文件.pdf ./下载/文件.pdf
```

### 登出

```bash
bdisk logout
```

### 全局选项

```bash
# JSON 格式输出
bdisk ls -j
bdisk ls --json
```

## 配置

配置文件保存在 `~/.bdisk.yml`。

## 开发

```bash
# 编译
npm run build

# 链接本地开发
npm link
```
npm package: @huksley/bpmn-to-image
Description: Convert a BPMN 2.0 diagrams to PDF, SVG or PNG images
Author: Nico Rehwaldt
Latest version: 0.5.1

# bpmn-to-image

[![Build Status](https://travis-ci.org/bpmn-io/bpmn-to-image.svg?branch=master)](https://travis-ci.org/bpmn-io/bpmn-to-image)

Convert [BPMN 2.0 diagrams](https://www.omg.org/spec/BPMN/2.0) to PDF documents, SVG or PNG files.


## Usage

This package exposes the `bpmn-to-image` command line utility that allows you to convert BPMN 2.0 diagrams to PNG and PDF documents:

```bash
$ bpmn-to-image --help

  Convert a BPMN 2.0 diagrams to PDF or PNG images

  Usage

    $ bpmn-to-image <diagramFile>:<outputConfig> ...

  Options

    diagramFile                    Path to BPMN diagram
    outputConfig                   List of extension or output file paths

    --min-dimensions=<dimensions>  Minimum size in pixels (<width>x<height>)

    --title=<title>                Add explicit <title> to exported image
    --no-title                     Don't display title on exported image

    --no-footer                    Strip title and logo from image
    --scale                        Scale factor for images (1)

  Examples

    # export to diagram.png
    $ bpmn-to-image diagram.bpmn:diagram.png

    # export diagram.png, diagram.svg and /tmp/diagram.pdf
    $ bpmn-to-image diagram.bpmn:diagram.png,diagram.svg,/tmp/diagram.pdf

    # export with minimum size of 500x300 pixels
    $ bpmn-to-image --min-dimensions=500x300 diagram.bpmn:png
```


## Embedding

You may embed [bpmn-to-image](https://github.com/bpmn-io/bpmn-to-image) and use it as parts of your application:

```javascript
const {
  convertAll
} = require('bpmn-to-image');

await convertAll([
  {
    input: 'diagram.bpmn',
    outputs: [
      'diagram.pdf',
      'diagram.png'
      'diagram.svg'
    ]
  }
]);
```

This renders the BPMN diagram using [bpmn-js](https://github.com/bpmn-io/bpmn-js) and exports it to the specified output files using [Puppeteer](https://github.com/GoogleChrome/puppeteer).


## Install

```bash
npm install -g bpmn-to-image
```


## License

MIT
npm package: @huksley/decompress-tar
Description: decompress tar plugin
Author: Kevin Mårtensson
Latest version: 4.1.1

# decompress-tar [![Build Status](https://travis-ci.org/kevva/decompress-tar.svg?branch=master)](https://travis-ci.org/kevva/decompress-tar)

> tar decompress plugin


## Install

```
$ npm install decompress-tar
```


## Usage

```js
const decompress = require('decompress');
const decompressTar = require('decompress-tar');

decompress('unicorn.tar', 'dist', {
	plugins: [
		decompressTar()
	]
}).then(() => {
	console.log('Files decompressed');
});
```


## API

### decompressTar()(input)

Returns both a Promise for a Buffer and a [Duplex stream](https://nodejs.org/api/stream.html#stream_class_stream_duplex).

#### input

Type: `Buffer` `Stream`

Buffer or stream to decompress.


## License

MIT © [Kevin Mårtensson](https://github.com/kevva)
npm package: @huksley/express-rocket
Description: Preconfigured, ready to rock Express JS
Author: Ruslan Gainutdinov
Latest version: 0.1.18

# Express JS Rocket powered middleware

- [x] ExpressJS server (on `PORT || 3000`)
- [x] Login and logout support
- [x] Google Login preconfigured
- [x] Local testing login available (test:123)
- [x] MongoDB sessions
- [x] MongoDB user
- [x] Overridable pages
- [x] JWT authentication
npm package: @huksley/next-env-dotenv
Description: Simplified next-env implementation using dotenv that loads .env and .env.NODE_ENV files
Latest version: 1.0.33

# next-env-dotenv

A simplified implementation of Next.js's `next-env` package using `dotenv`. This package loads environment variables from `.env` and `.env.${process.env.NODE_ENV}` files.

## Features

- Loads `.env` and `.env.${process.env.NODE_ENV}` environment files
- Supports variable expansion using `dotenv-expand`
- Does not override existing environment variables
- Compatible with Next.js's `@next/env` API

## Installation

```bash
npm install next-env-dotenv
```

## Using it instead of @next/env

Add to package.json: 

```json
{
  ...
  "overrides": {
    "next": {
      "@next/env": "@huksley/next-env-dotenv@1.0.3"
    }
  }
}
```

Install NextJS again: `npm i next@16`

## Differences from Next.js's next-env

This version loads:

If NEXT_ENV_FILE specified, will load that file instead of NODE_ENV

- `.env.${process.env.NEXT_ENV_FILE}` - if `NEXT_ENV_FILE` is specified
- `.env.${process.env.NODE_ENV}` - if `NODE_ENV` is set and `NEXT_ENV_FILE` is not specified)
- `.env`

The original Next.js implementation also loads:
- `.env.local`
- `.env.NODE_ENV.local`
- Additional environment-specific files

## License

MIT
npm package: @huksley/nodebugger
Description: CLI tool to inspect running Node.js processes via V8 Inspector Protocol. Eval expressions, capture stack traces, debug remotely.
Author: Ruslan Gainutdinov
Latest version: 0.1.1

# nodebugger

CLI to inspect running Node.js processes via [V8 Inspector Protocol](https://chromedevtools.github.io/devtools-protocol/v8).

## Install

```bash
npm install -g nodebugger
```

## Usage

```bash
nodebugger [port] [command] [args]
```

Start your Node.js app with inspector enabled:

```bash
node --inspect app.js
node --inspect=9230 app.js
```

**Interactive mode:**
```bash
nodebugger              # REPL on default port 9229
nodebugger 9230         # REPL on port 9230
```

**Single command mode:**
```bash
nodebugger eval "1+1"
nodebugger 9230 eval "process.pid"
nodebugger stack
nodebugger 9230 stack
```

## Commands

| Command | Short | Description |
|---------|-------|-------------|
| `eval <expr>` | `e` | Evaluate JS expression in target process |
| `stack` | `s` | Capture stack trace (pauses → dumps → resumes) |
| `pause` | `p` | Pause execution |
| `resume` | `r` | Resume execution |
| `exit` | `q` | Disconnect and exit |
| `help` | `?` | Show commands |

Unknown input is treated as `eval`.

## Examples

```bash
> process.env.NODE_ENV
"production"

> Object.keys(require.cache).length
42

> stack
Stack Trace:
  0: processTicksAndRejections (node:internal/process/task_queues:95:5)
  1: runNextTicks (node:internal/process/task_queues:64:3)

> global.DEBUG = true
true
```

## Programmatic API

```javascript
import { Inspector } from 'nodebugger';

const inspector = new Inspector(9229);
await inspector.connect();

const result = await inspector.eval('process.memoryUsage()');
console.log(result);

const stack = await inspector.getStackTrace();
console.log(stack);

await inspector.disconnect();
```

### API

- `new Inspector(port?, options?)` - Create inspector instance
- `connect()` - Connect to target process
- `eval(expression)` - Evaluate JS expression
- `pause()` - Pause execution
- `resume()` - Resume execution
- `getStackTrace()` - Get current stack trace (pauses if needed)
- `disconnect()` - Clean disconnect

## License

MIT
npm package: @huksley/react-responsive-modal
Description: A simple responsive and accessible react modal
Author: Léo Pradel
Latest version: 6.3.3

# react-responsive-modal

[![npm version](https://img.shields.io/npm/v/react-responsive-modal.svg)](https://www.npmjs.com/package/react-responsive-modal)
[![npm downloads per month](https://img.shields.io/npm/dm/react-responsive-modal.svg)](https://www.npmjs.com/package/react-responsive-modal)
[![codecov](https://img.shields.io/codecov/c/github/pradel/react-responsive-modal/master.svg)](https://codecov.io/gh/pradel/react-responsive-modal)

A simple responsive and accessible react modal.

- Focus trap inside the modal.
- Centered modals.
- Scrolling modals.
- Multiple modals.
- Accessible modals.
- Easily customizable via props.
- Typescript support
- [Small bundle size](https://bundlephobia.com/result?p=react-responsive-modal)

## Documentation

- [Getting started](https://react-responsive-modal.leopradel.com/)
  - [Installation](https://react-responsive-modal.leopradel.com/#installation)
  - [Usage](https://react-responsive-modal.leopradel.com/#usage)
  - [Props](https://react-responsive-modal.leopradel.com/#props)
  - [Licence](https://react-responsive-modal.leopradel.com/#license)

## Installation

With npm: `npm install react-responsive-modal --save`

Or with yarn: `yarn add react-responsive-modal`

## Usage

[![Edit react-responsive-modal](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/9jxp669j2o)

```javascript
import React, { useState } from 'react';
import ReactDOM from 'react-dom';
import 'react-responsive-modal/styles.css';
import { Modal } from 'react-responsive-modal';

const App = () => {
  const [open, setOpen] = useState(false);

  const onOpenModal = () => setOpen(true);
  const onCloseModal = () => setOpen(false);

  return (
    <div>
      <button onClick={onOpenModal}>Open modal</button>
      <Modal open={open} onClose={onCloseModal} center>
        <h2>Simple centered modal</h2>
      </Modal>
    </div>
  );
};

ReactDOM.render(<App />, document.getElementById('app'));
```

## Props

Check the documentation: https://react-responsive-modal.leopradel.com/#props.

## License

MIT © [Léo Pradel](https://www.leopradel.com/)
npm package: @huksley/request
Description: [gist-sized] Zero dependency, single-file NodeJS 14+ HTTP(s) request module
Author: Ruslan Gainutdinov
Latest version: 1.0.9

# HTTP(s) Request

<span class="badge-npmversion"><a href="https://npmjs.com/package/@huksley/request" title="View this project on NPM"><img src="https://img.shields.io/npm/v/@huksley/request.svg" alt="NPM version" /></a></span> <span class="badge-npmsize"><a href="https://npmjs.com/package/@huksley/request" title="View this project on NPM"><img src="https://img.shields.io/bundlephobia/min/@huksley/request.svg" alt="NPM Size" /></a></span> <span class="badge-npmstats"><a href="https://npmjs.com/package/@huksley/request" title="View this project on NPM"><img src="https://img.shields.io/npm/dw/.svg" alt="NPM Downloads" /></a></span>

Use as a dependency or copy-paste directly into your code.
Zero-dependency alternative of fetch for NodeJS (with different API).

```js
const { request } = require("@huksley/request");

request("https://jsonip.com").then((res) => {
  console.info("Your IP", res.body.ip, "headers", res.headers);
});
```

**ESM**

```js
import { request } from "@huksley/request";

const res = await request("https://jsonip.com");
console.info("Your IP", res.body.ip, "headers", res.headers);
```

### Features

* Both CommonJS and ESM environment supported.
* Single-file & gist-sized
* Handles JSON transparently
* Handles binary
* Handles compressed bodies (deflate, brotli, gzip)
* Promise-based
* Default timeout provided
npm package: @huksley/workflow-es
Description: A lightweight workflow engine for Node.js
Author: Daniel Gerlag
Latest version: 2.3.7

# Workflow ES 

[![Build Status](https://travis-ci.org/danielgerlag/workflow-es.svg?branch=master)](https://travis-ci.org/danielgerlag/workflow-es)

Workflow ES is a workflow / saga library for Node.js (or modern browsers).  It supports pluggable persistence and concurrency providers to allow for multi-node clusters.

## Installing

Install the core npm package "workflow-es"

```
npm install workflow-es --save
```


### Guides

* [Javascript (ES6)](https://github.com/danielgerlag/workflow-es/blob/master/es2017-guide.md)
* [Typescript](https://github.com/danielgerlag/workflow-es/blob/master/typescript-guide.md)


### Persistence

Since workflows are typically long running processes, they will need to be persisted to storage between steps.
There are several persistence providers available as seperate npm packages.

* Memory Persistence Provider *(Default provider, for demo and testing purposes)*
* [MongoDB](https://github.com/danielgerlag/workflow-es/tree/master/providers/workflow-es-mongodb)
* *(more to come soon...)*

### Multi-node clusters

By default, the WorkflowHost service will run as a single node using the built-in queue and locking providers for a single node configuration.  Should you wish to run a multi-node cluster, you will need to configure an external queueing mechanism and a distributed lock manager to co-ordinate the cluster.  These are the providers that are currently available.

#### Queue Providers

* SingleNodeQueueProvider *(Default built-in provider)*
* [Azure](https://github.com/danielgerlag/workflow-es/tree/master/providers/workflow-es-azure)
* [Redis](https://github.com/danielgerlag/workflow-es/tree/master/providers/workflow-es-redis)


#### Distributed lock managers

* SingleNodeLockProvider *(Default built-in provider)*
* [Azure](https://github.com/danielgerlag/workflow-es/tree/master/providers/workflow-es-azure)
* [Redis Redlock](https://github.com/danielgerlag/workflow-es/tree/master/providers/workflow-es-redis)


## Authors

* **Daniel Gerlag** - *Initial work*


## License

This project is licensed under the MIT License - see the [LICENSE.md](https://github.com/danielgerlag/workflow-es/blob/master/LICENSE.md) file for details