open-index/open-npm huggingface dataset:
npm package: @oomm/transformer
Description: [documents](https://github.com/shulandmimi/object-member-replacer)
Author: shulandmimi
Latest version: 0.0.22

# @oomm/transformer

[documents](https://github.com/shulandmimi/object-member-replacer)

## usage

**install**

```shell
npm i @oomm/transformer
```

### webpack

`@oomm/transformer` is only suitable for specific compression, general compression still requires other compressors to complete (e.g., `terser-webpack-plugin`).

```js
// webpack.config.js
const { OOMPlugin } = require("@oomm/transformer");

module.exports = {
  plugins: [new OOMPlugin()],
};
```
npm package: @oomol-lab/luna-console
Description: Console for logging
Author: redhoodsu
Latest version: 1.3.6

# Luna Console

Console for logging, similar to the one in chrome DevTools.
All these methods can be used in the same way as window.console object.
log, error, info, warn, dir, time/timeLog/timeEnd, clear, count/countReset, assert, table, group/groupCollapsed/groupEnd

## Demo

https://luna.liriliri.io/?path=/story/console

## Install

Add the following script and style to your page.

```html
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/luna-object-viewer/luna-object-viewer.css" />
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/luna-data-grid/luna-data-grid.css" />
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/luna-dom-viewer/luna-dom-viewer.css" />
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/luna-console/luna-console.css" />
<script src="//cdn.jsdelivr.net/npm/luna-object-viewer/luna-object-viewer.js"></script>
<script src="//cdn.jsdelivr.net/npm/luna-data-grid/luna-data-grid.js"></script>
<script src="//cdn.jsdelivr.net/npm/luna-dom-viewer/luna-dom-viewer.js"></script>
<script src="//cdn.jsdelivr.net/npm/luna-console/luna-console.js"></script>
```

You can also get it on npm.

```bash
npm install luna-console luna-dom-viewer luna-data-grid luna-object-viewer --save
```

```javascript
import 'luna-object-viewer/luna-object-viewer.css'
import 'luna-data-grid/luna-data-grid.css'
import 'luna-dom-viewer/luna-dom-viewer.css'
import 'luna-console/luna-console.css'
import LunaConsole from 'luna-console'
```

## Usage

```javascript
const container = document.getElementById('container')
const console = new LunaConsole(container)
console.log('luna')
```

## Configuration

* accessGetter(boolean): Access getter value.
* asyncRender(boolean): Asynchronous rendering.
* filter(string | RegExp | AnyFn): Log filter.
* lazyEvaluation(boolean): Lazy evaluation for objects.
* level(string | string[]): Log level, verbose, info, warning and error.
* maxNum(number): Max log number, zero means infinite.
* showHeader(boolean): Show time and from.
* unenumerable(boolean): Show unenumerable properties.

## Api

### evaluate(code: string): void

Evaluate JavaScript.

### html(args: any): void

Log out html content.
npm package: @oomol-lab/mac-power-monitor
Description: macOS Sleep / Wake notifications
Author: Tao Zeyu
Latest version: 1.0.0

# mac-power-monitor

[![Test Service](https://github.com/oomol-lab/mac-power-monitor/actions/workflows/test-service.yml/badge.svg)](https://github.com/oomol-lab/mac-power-monitor/actions/workflows/test-service.yml)

> Inspiration from: [prashantgupta24/mac-sleep-notifier](https://github.com/prashantgupta24/mac-sleep-notifier)

## Install

```shell
pnpm add @oomol-lab/mac-power-monitor
# or
npm install @oomol-lab/mac-power-monitor
# or
yarn add @oomol-lab/mac-power-monitor
```

## Usage

```typescript
import { createMacPowerMonitor } from "@oomol-lab/mac-power-monitor";

const monitor = createMacPowerMonitor();

monitor.listenOnWillSleep(function () {
    console.log("will sleep");
});

monitor.listenOnWillWake(function () {
    console.log("will wake");
});

// when we don't need it
monitor.dispose();
```
npm package: @oomol-lab/oo-cli
Description: OOMOL's command-line interface for accounts, packages, and cloud tasks.
Author: BlackHole1
Latest version: 0.2.0

# oo

[English](./README.md) | [简体中文](./README-ZH_CN.md)

`oo` is OOMOL's command-line interface for working with OOMOL accounts,
packages, and cloud tasks from the terminal.

## Overview

`oo` provides a terminal interface for common OOMOL workflows. It covers
account authentication, persisted CLI configuration, package discovery, package
inspection, cloud task execution, and shell completion generation.

## Installation

```bash
bun install -g @oomol-lab/oo-cli
```

## Quick Start

1. Log in:

```bash
oo login
```

2. Open Codex and start working with:

```text
$oo generate a QR code for the string OOMOL
```

## Bundled Skills

On the first `oo` launch, bundled skills are installed automatically into each
supported local host that already exists:

- Codex: `${CODEX_HOME:-~/.codex}/skills/oo` and
  `${CODEX_HOME:-~/.codex}/skills/oo-find-skills`
- Claude Code: `~/.claude/skills/oo` and `~/.claude/skills/oo-find-skills`

Then you can use them in Codex or Claude Code. For example, in Codex:

```text
$oo generate a QR code for the string OOMOL
```

You can also install all bundled skills explicitly with:

```bash
oo skills install
```

And you can install the search helper explicitly with:

```bash
oo skills install oo-find-skills
```

## Documentation

- [Command reference](./docs/commands.md)

## Contributing

For contribution workflow and repository conventions, see
[CONTRIBUTING.md](./CONTRIBUTING.md).
npm package: @oomol-lab/oo-cli-darwin-arm64
Description: OOMOL's command-line interface for accounts, packages, and cloud tasks. (darwin arm64 binary)
Author: BlackHole1
Latest version: 0.2.0

# oo

[English](./README.md) | [简体中文](./README-ZH_CN.md)

`oo` is OOMOL's command-line interface for working with OOMOL accounts,
packages, and cloud tasks from the terminal.

## Overview

`oo` provides a terminal interface for common OOMOL workflows. It covers
account authentication, persisted CLI configuration, package discovery, package
inspection, cloud task execution, and shell completion generation.

## Installation

```bash
bun install -g @oomol-lab/oo-cli
```

## Quick Start

1. Log in:

```bash
oo login
```

2. Open Codex and start working with:

```text
$oo generate a QR code for the string OOMOL
```

## Bundled Skills

On the first `oo` launch, bundled skills are installed automatically into each
supported local host that already exists:

- Codex: `${CODEX_HOME:-~/.codex}/skills/oo` and
  `${CODEX_HOME:-~/.codex}/skills/oo-find-skills`
- Claude Code: `~/.claude/skills/oo` and `~/.claude/skills/oo-find-skills`

Then you can use them in Codex or Claude Code. For example, in Codex:

```text
$oo generate a QR code for the string OOMOL
```

You can also install all bundled skills explicitly with:

```bash
oo skills install
```

And you can install the search helper explicitly with:

```bash
oo skills install oo-find-skills
```

## Documentation

- [Command reference](./docs/commands.md)

## Contributing

For contribution workflow and repository conventions, see
[CONTRIBUTING.md](./CONTRIBUTING.md).
npm package: @oomol-lab/oo-cli-darwin-x64
Description: OOMOL's command-line interface for accounts, packages, and cloud tasks. (darwin x64 binary)
Author: BlackHole1
Latest version: 0.2.0

# oo

[English](./README.md) | [简体中文](./README-ZH_CN.md)

`oo` is OOMOL's command-line interface for working with OOMOL accounts,
packages, and cloud tasks from the terminal.

## Overview

`oo` provides a terminal interface for common OOMOL workflows. It covers
account authentication, persisted CLI configuration, package discovery, package
inspection, cloud task execution, and shell completion generation.

## Installation

```bash
bun install -g @oomol-lab/oo-cli
```

## Quick Start

1. Log in:

```bash
oo login
```

2. Open Codex and start working with:

```text
$oo generate a QR code for the string OOMOL
```

## Bundled Skills

On the first `oo` launch, bundled skills are installed automatically into each
supported local host that already exists:

- Codex: `${CODEX_HOME:-~/.codex}/skills/oo` and
  `${CODEX_HOME:-~/.codex}/skills/oo-find-skills`
- Claude Code: `~/.claude/skills/oo` and `~/.claude/skills/oo-find-skills`

Then you can use them in Codex or Claude Code. For example, in Codex:

```text
$oo generate a QR code for the string OOMOL
```

You can also install all bundled skills explicitly with:

```bash
oo skills install
```

And you can install the search helper explicitly with:

```bash
oo skills install oo-find-skills
```

## Documentation

- [Command reference](./docs/commands.md)

## Contributing

For contribution workflow and repository conventions, see
[CONTRIBUTING.md](./CONTRIBUTING.md).
npm package: @oomol-lab/oo-cli-linux-arm64-gnu
Description: OOMOL's command-line interface for accounts, packages, and cloud tasks. (linux arm64 glibc binary)
Author: BlackHole1
Latest version: 0.2.0

# oo

[English](./README.md) | [简体中文](./README-ZH_CN.md)

`oo` is OOMOL's command-line interface for working with OOMOL accounts,
packages, and cloud tasks from the terminal.

## Overview

`oo` provides a terminal interface for common OOMOL workflows. It covers
account authentication, persisted CLI configuration, package discovery, package
inspection, cloud task execution, and shell completion generation.

## Installation

```bash
bun install -g @oomol-lab/oo-cli
```

## Quick Start

1. Log in:

```bash
oo login
```

2. Open Codex and start working with:

```text
$oo generate a QR code for the string OOMOL
```

## Bundled Skills

On the first `oo` launch, bundled skills are installed automatically into each
supported local host that already exists:

- Codex: `${CODEX_HOME:-~/.codex}/skills/oo` and
  `${CODEX_HOME:-~/.codex}/skills/oo-find-skills`
- Claude Code: `~/.claude/skills/oo` and `~/.claude/skills/oo-find-skills`

Then you can use them in Codex or Claude Code. For example, in Codex:

```text
$oo generate a QR code for the string OOMOL
```

You can also install all bundled skills explicitly with:

```bash
oo skills install
```

And you can install the search helper explicitly with:

```bash
oo skills install oo-find-skills
```

## Documentation

- [Command reference](./docs/commands.md)

## Contributing

For contribution workflow and repository conventions, see
[CONTRIBUTING.md](./CONTRIBUTING.md).
npm package: @oomol-lab/oo-cli-linux-arm64-musl
Description: OOMOL's command-line interface for accounts, packages, and cloud tasks. (linux arm64 musl binary)
Author: BlackHole1
Latest version: 0.2.0

# oo

[English](./README.md) | [简体中文](./README-ZH_CN.md)

`oo` is OOMOL's command-line interface for working with OOMOL accounts,
packages, and cloud tasks from the terminal.

## Overview

`oo` provides a terminal interface for common OOMOL workflows. It covers
account authentication, persisted CLI configuration, package discovery, package
inspection, cloud task execution, and shell completion generation.

## Installation

```bash
bun install -g @oomol-lab/oo-cli
```

## Quick Start

1. Log in:

```bash
oo login
```

2. Open Codex and start working with:

```text
$oo generate a QR code for the string OOMOL
```

## Bundled Skills

On the first `oo` launch, bundled skills are installed automatically into each
supported local host that already exists:

- Codex: `${CODEX_HOME:-~/.codex}/skills/oo` and
  `${CODEX_HOME:-~/.codex}/skills/oo-find-skills`
- Claude Code: `~/.claude/skills/oo` and `~/.claude/skills/oo-find-skills`

Then you can use them in Codex or Claude Code. For example, in Codex:

```text
$oo generate a QR code for the string OOMOL
```

You can also install all bundled skills explicitly with:

```bash
oo skills install
```

And you can install the search helper explicitly with:

```bash
oo skills install oo-find-skills
```

## Documentation

- [Command reference](./docs/commands.md)

## Contributing

For contribution workflow and repository conventions, see
[CONTRIBUTING.md](./CONTRIBUTING.md).
npm package: @oomol-lab/oo-cli-linux-x64-gnu
Description: OOMOL's command-line interface for accounts, packages, and cloud tasks. (linux x64 glibc binary)
Author: BlackHole1
Latest version: 0.2.0

# oo

[English](./README.md) | [简体中文](./README-ZH_CN.md)

`oo` is OOMOL's command-line interface for working with OOMOL accounts,
packages, and cloud tasks from the terminal.

## Overview

`oo` provides a terminal interface for common OOMOL workflows. It covers
account authentication, persisted CLI configuration, package discovery, package
inspection, cloud task execution, and shell completion generation.

## Installation

```bash
bun install -g @oomol-lab/oo-cli
```

## Quick Start

1. Log in:

```bash
oo login
```

2. Open Codex and start working with:

```text
$oo generate a QR code for the string OOMOL
```

## Bundled Skills

On the first `oo` launch, bundled skills are installed automatically into each
supported local host that already exists:

- Codex: `${CODEX_HOME:-~/.codex}/skills/oo` and
  `${CODEX_HOME:-~/.codex}/skills/oo-find-skills`
- Claude Code: `~/.claude/skills/oo` and `~/.claude/skills/oo-find-skills`

Then you can use them in Codex or Claude Code. For example, in Codex:

```text
$oo generate a QR code for the string OOMOL
```

You can also install all bundled skills explicitly with:

```bash
oo skills install
```

And you can install the search helper explicitly with:

```bash
oo skills install oo-find-skills
```

## Documentation

- [Command reference](./docs/commands.md)

## Contributing

For contribution workflow and repository conventions, see
[CONTRIBUTING.md](./CONTRIBUTING.md).
npm package: @oomol-lab/oo-cli-linux-x64-musl
Description: OOMOL's command-line interface for accounts, packages, and cloud tasks. (linux x64 musl binary)
Author: BlackHole1
Latest version: 0.2.0

# oo

[English](./README.md) | [简体中文](./README-ZH_CN.md)

`oo` is OOMOL's command-line interface for working with OOMOL accounts,
packages, and cloud tasks from the terminal.

## Overview

`oo` provides a terminal interface for common OOMOL workflows. It covers
account authentication, persisted CLI configuration, package discovery, package
inspection, cloud task execution, and shell completion generation.

## Installation

```bash
bun install -g @oomol-lab/oo-cli
```

## Quick Start

1. Log in:

```bash
oo login
```

2. Open Codex and start working with:

```text
$oo generate a QR code for the string OOMOL
```

## Bundled Skills

On the first `oo` launch, bundled skills are installed automatically into each
supported local host that already exists:

- Codex: `${CODEX_HOME:-~/.codex}/skills/oo` and
  `${CODEX_HOME:-~/.codex}/skills/oo-find-skills`
- Claude Code: `~/.claude/skills/oo` and `~/.claude/skills/oo-find-skills`

Then you can use them in Codex or Claude Code. For example, in Codex:

```text
$oo generate a QR code for the string OOMOL
```

You can also install all bundled skills explicitly with:

```bash
oo skills install
```

And you can install the search helper explicitly with:

```bash
oo skills install oo-find-skills
```

## Documentation

- [Command reference](./docs/commands.md)

## Contributing

For contribution workflow and repository conventions, see
[CONTRIBUTING.md](./CONTRIBUTING.md).
npm package: @oomol-lab/oo-cli-win32-arm64
Description: OOMOL's command-line interface for accounts, packages, and cloud tasks. (win32 arm64 binary)
Author: BlackHole1
Latest version: 0.2.0

# oo

[English](./README.md) | [简体中文](./README-ZH_CN.md)

`oo` is OOMOL's command-line interface for working with OOMOL accounts,
packages, and cloud tasks from the terminal.

## Overview

`oo` provides a terminal interface for common OOMOL workflows. It covers
account authentication, persisted CLI configuration, package discovery, package
inspection, cloud task execution, and shell completion generation.

## Installation

```bash
bun install -g @oomol-lab/oo-cli
```

## Quick Start

1. Log in:

```bash
oo login
```

2. Open Codex and start working with:

```text
$oo generate a QR code for the string OOMOL
```

## Bundled Skills

On the first `oo` launch, bundled skills are installed automatically into each
supported local host that already exists:

- Codex: `${CODEX_HOME:-~/.codex}/skills/oo` and
  `${CODEX_HOME:-~/.codex}/skills/oo-find-skills`
- Claude Code: `~/.claude/skills/oo` and `~/.claude/skills/oo-find-skills`

Then you can use them in Codex or Claude Code. For example, in Codex:

```text
$oo generate a QR code for the string OOMOL
```

You can also install all bundled skills explicitly with:

```bash
oo skills install
```

And you can install the search helper explicitly with:

```bash
oo skills install oo-find-skills
```

## Documentation

- [Command reference](./docs/commands.md)

## Contributing

For contribution workflow and repository conventions, see
[CONTRIBUTING.md](./CONTRIBUTING.md).
npm package: @oomol-lab/oo-cli-win32-x64
Description: OOMOL's command-line interface for accounts, packages, and cloud tasks. (win32 x64 binary)
Author: BlackHole1
Latest version: 0.2.0

# oo

[English](./README.md) | [简体中文](./README-ZH_CN.md)

`oo` is OOMOL's command-line interface for working with OOMOL accounts,
packages, and cloud tasks from the terminal.

## Overview

`oo` provides a terminal interface for common OOMOL workflows. It covers
account authentication, persisted CLI configuration, package discovery, package
inspection, cloud task execution, and shell completion generation.

## Installation

```bash
bun install -g @oomol-lab/oo-cli
```

## Quick Start

1. Log in:

```bash
oo login
```

2. Open Codex and start working with:

```text
$oo generate a QR code for the string OOMOL
```

## Bundled Skills

On the first `oo` launch, bundled skills are installed automatically into each
supported local host that already exists:

- Codex: `${CODEX_HOME:-~/.codex}/skills/oo` and
  `${CODEX_HOME:-~/.codex}/skills/oo-find-skills`
- Claude Code: `~/.claude/skills/oo` and `~/.claude/skills/oo-find-skills`

Then you can use them in Codex or Claude Code. For example, in Codex:

```text
$oo generate a QR code for the string OOMOL
```

You can also install all bundled skills explicitly with:

```bash
oo skills install
```

And you can install the search helper explicitly with:

```bash
oo skills install oo-find-skills
```

## Documentation

- [Command reference](./docs/commands.md)

## Contributing

For contribution workflow and repository conventions, see
[CONTRIBUTING.md](./CONTRIBUTING.md).
npm package: @oomol-lab/sparse-file
Description: Create / Resize sparse file
Author: BlackHole1
Latest version: 1.0.0

# @oomol-lab/sparse-file

[![github license]](https://github.com/oomol-lab/sparse-file-js/blob/main/LICENSE) [![coveralls]](https://coveralls.io/github/oomol-lab/sparse-file-js) [![npm bundle size]](https://www.npmjs.com/package/@oomol-lab/sparse-file) [![github release]](https://github.com/oomol-lab/sparse-file-js/releases/latest)

Create / Resize sparse file

## Features

* Support Linux / MacOS
* Default Safe Mode
* Not Affected By System Cache
* Get Physical Size(the space that a file takes up on disk)
* 100% Code Coverage
* 0 Dependency

## Install

```bash
# npm
npm install @oomol-lab/sparse-file
# yarn
yarn add @oomol-lab/sparse-file
# pnpm
pnpm add @oomol-lab/sparse-file
```

## API

### createSparse(filepath: string, size: number, options?: SparseOptions): Promise\<void\>

* `filepath`: string - Sparse file paths to create/resize
* `size`: number - Sparse file size
* `options?.safe`: boolean - Safe mode, default: true
* `options?.mode`: number - File mode. By default, the mode is only set when creating a file, unless overwriteMode is specified. default: 0o644
* `options?.overwriteMode`: boolean - Overwrite mode. When the overwrite mode is allowed, the mode will be set even if the file exists. default: false

In safe mode, an error will occur if the size is less than 0 or greater than `Number.MAX_SAFE_INTEGER`. Additionally, it will be rejected if the passed size is larger than the current file size.

In non-safe mode, a size less than 0 will be reset to 0, and a size greater than `Number.MAX_SAFE_INTEGER` will be reset to `Number.MAX_SAFE_INTEGER`.

### resizeSparse(filepath: string, size: number, options?: SparseOptions): Promise\<void\>

alias to: `createSparse`

### physicalFileSize(filepath: string): Promise\<number\>

* `filepath`: string - File paths

Return the actual occupied size of the file on the physical hard drive.

[github license]: https://img.shields.io/github/license/oomol-lab/sparse-file-js?style=flat-square&color=9cf
[coveralls]: https://img.shields.io/coverallsCoverage/github/oomol-lab/sparse-file-js?branch=main&style=flat-square&color=9cf
[npm bundle size]: https://img.shields.io/bundlephobia/minzip/%40oomol-lab/sparse-file?style=flat-square&color=9cf
[github release]: https://img.shields.io/github/v/release/oomol-lab/sparse-file-js?style=flat-square&color=9cf