open-index/open-npm huggingface dataset:
npm package: @scuderia-fe/docx-to-html
Description: Converts a docx file to html
Latest version: 0.7.0

<h3 align="center">
    <a href="https://scuderia-fe.github.io/docx-to-html">
      <img src="./.github/assets/logo.webp">
    </a>
    @scuderia-fe/docx-to-html
</h3>

> WARNING: WIP package. Do not use

<hr />

<p align="center">
  <i align="center">Blazing fast docx to html converter 🚀</i>
</p>

<h4 align="center">
  <a href="https://github.com/scuderia-fe/docx-to-html/graphs/contributors">
   <img alt="GitHub contributors" src="https://img.shields.io/github/contributors-anon/scuderia-fe/docx-to-html">
  </a>
  <a href="https://opensource.org/licenses/MIT">
    <img alt="GitHub License" src="https://img.shields.io/github/license/scuderia-fe/docx-to-html">
  </a>
  <a href="https://www.npmjs.com/package/@scuderia-fe/docx-to-html">
    <img alt="NPM Version" src="https://img.shields.io/npm/v/%40scuderia-fe%2Fdocx-to-html">
  </a>
  <br>
</h4>

## Node

### Installation

You can install the package with your favorite package manager

```bash
npm install @scuderia-fe/docx-to-html
```

Your project needs to support `asyncWebAssembly`:

- [Vite](https://github.com/Menci/vite-plugin-wasm)

```bash
npm install --save-dev vite-plugin-wasm vite-plugin-top-level-await
```

```ts
import wasm from "vite-plugin-wasm";
import topLevelAwait from "vite-plugin-top-level-await";

export default defineConfig({
  plugins: [wasm(), topLevelAwait()],
});
```

- Webpack

```js
module.exports = {
  experiments: {
    asyncWebAssembly: true,
    topLevelAwait: true,
  },
};
```

### Usage

```ts
import { convert } from "@scuderia-fe/docx-to-html";

const buffer = await file
  .arrayBuffer()
  .then((buffer) => new Uint8Array(buffer));
const html = wasm.convert(buffer);
```

### Rust

> WIP
npm package: @sculkdev/ruhaste
Description: CLI client for the Ruhaste pastebin service
Latest version: 1.0.4

# ruhaste

CLI client for [hastebin.ru](https://hastebin.ru) — a Hastebin-compatible pastebin.

## Install

```sh
npm install -g @sculkdev/ruhaste
```

Requires Node.js ≥ 18. No external dependencies.

## Usage

### Post a paste

```sh
# from stdin
echo "hello world" | ruhaste
cat file.txt | ruhaste

# from a file
ruhaste ./notes.txt

# bash process substitution
ruhaste <(echo "hello")
```

Prints the URL of the created paste, e.g. `https://hastebin.ru/abc123`.

### Fetch a paste

```sh
ruhaste get abc123
ruhaste get https://hastebin.ru/abc123
```

### Help

```sh
ruhaste help
```

## Configuration

| Variable | Default | Description |
|---|---|---|
| `RUHASTE_SERVER` | `https://hastebin.ru` | Base URL of the server |

Point at a self-hosted instance:

```sh
export RUHASTE_SERVER=http://localhost:7331
echo "test" | ruhaste
```

## Composing with other tools

```sh
# share the output of a command
npm test 2>&1 | ruhaste

# fetch a paste into a variable
content=$(ruhaste get abc123)

# open a paste in the browser (macOS/Linux)
ruhaste ./file.txt | xargs open
```
s