open-index/open-npm huggingface dataset:
npm package: @hyzeng202211/calc-lib
Description: ## 安装 ```shell npm install @hyzeng202211/calc-lib yarn add @hyzeng202211/calc-lib pnpm add @hyzeng202211/calc-lib ```
Latest version: 1.0.3

# @hyzeng202211/calc-lib

## 安装
```shell
npm install @hyzeng202211/calc-lib
yarn add @hyzeng202211/calc-lib
pnpm add @hyzeng202211/calc-lib
```

## 使用
```ts
const { add } from '@hyzeng202211/calc-lib';

const rst = add(2, 1);

console.log(`rst:${rst}`);

```
npm package: @hyzhak/apple-notes-export
Description: CLI to export Apple Notes to deterministic local artifacts
Author: Ievgenii Krevenets
Latest version: 0.1.4

# apple-notes-extractor

![Apple Notes Exporter](assets/title-image.png)

Apple Notes Extractor CLI (macOS + Apple Notes via JXA)

## Requirements

- macOS (Apple Notes access via JXA / AppleScript)
- Node.js >= 24

## Installation

- Global (installs CLI name `apple-notes-export`):

```bash
npm install -g @hyzhak/apple-notes-export
```

- Run without installing (npx — fetches published package and runs it):

```bash
npx @hyzhak/apple-notes-export --help
```

## Quick use

Export all notes to an absolute target directory.

- If you installed the package globally:

```bash
apple-notes-export --target /tmp/notes-export --force
```

- Using npx (no install):

```bash
npx @hyzhak/apple-notes-export --target /tmp/notes-export --force
```

## Folder filters

Keep only specific folders (prefix match, case-insensitive). Example using the installed CLI:

```bash
apple-notes-export \
  --target /tmp/notes-export \
  --force \
  --include-folder "Work/Projects" "Personal"
```

Or with npx:

```bash
npx @hyzhak/apple-notes-export \
  --target /tmp/notes-export \
  --force \
  --include-folder "Work/Projects" "Personal"
```

Exclude folders:

```bash
apple-notes-export \
  --target /tmp/notes-export \
  --force \
  --exclude-folder "Archive" "Trash"
```

Include and exclude together (include evaluated first, then exclude):

```bash
apple-notes-export \
  --target /tmp/notes-export \
  --force \
  --include-folder "Work" \
  --exclude-folder "Work/Secret"
```

Notes:

- Paths are matched by prefix; `Work` matches `Work/Sub/Note`.
- Attachments flag exists but export is not implemented yet; CLI will warn and proceed without attachments.

## Verbosity

- Default: info (progress + per-note/skip lines).
- Quiet: `--quiet` or `-q` (progress only).
- Verbose: `-v` adds extra detail; `-vv` enables debug (also set by `NOTES_DEBUG=1`).

## Date filters

Filter by created/modified timestamps (UTC, inclusive bounds):

```bash
apple-notes-export \
  --target /tmp/notes-export \
  --force \
  --created-after 2024-01-01T00:00:00Z \
  --modified-before 2024-12-31T23:59:59Z
```

Or with npx:

```bash
npx @hyzhak/apple-notes-export \
  --target /tmp/notes-export \
  --force \
  --created-after 2024-01-01T00:00:00Z \
  --modified-before 2024-12-31T23:59:59Z
```

## Development

For working on the project locally (developer workflow):

```bash
npm install
npm run lint
npm test
npm run build
```

Notes on validating README examples:
- Use `npx @hyzhak/apple-notes-export --help` to confirm the published CLI's help text matches these examples.
- To validate an actual export (will contact npm and run on macOS), run:
  - `npx @hyzhak/apple-notes-export --target /tmp/test-export --force`
npm package: @hyzyla/pdfium
Description: Universal wrapper for PDFium
Author: Yevhenii Hyzyla
Latest version: 2.1.12

# @hyzyla/pdfium

📃 [Documentation](https://pdfium.js.org/docs/intro)

TypeScript/JavaScript wrapper for the PDFium library:

- ⬇️ [pdfium](https://pdfium.googlesource.com/pdfium/) - source code of the PDFium library, developed by Google and used in Chrome.
- ⬇️ [pdfium-lib](https://github.com/paulocoutinhox/pdfium-lib) - project to compile PDFium library to multiple platforms, including WebAssembly.
- 📍 [@hyzyla/pdfium](https://github.com/hyzyla/pdfium) - (you are here)
 TypeScript/JavaScript wrapper for the WebAssembly build of PDFium library.

# Features
-  📦 Zero dependencies - PDFium library is compiled to WebAssembly and bundled with the package.
- 🚀 Fast - PDFium can be faster than PDF.js, because it's originally written in C++ and compiled to WebAssembly, while PDF.js is entirely written in JavaScript.
- 🔒 Type-safe - TypeScript definitions are included.
- 🗼 Works in browser and Node.js

## Installation

```sh
# yarn add @hyzyla/pdfium
# pnpm install @hyzyla/pdfium
npm install @hyzyla/pdfium
```

## Usage

```ts
import { PDFiumLibrary } from "@hyzyla/pdfium";
import { promises as fs } from 'fs';
import sharp from 'sharp';


/**
 * For this and the following examples, we will use "sharp" library to convert
 * the raw bitmap data to PNG images. You can use any other library or write
 * your own function to convert the raw bitmap data to PNG images.
 */
async function renderFunction(options: PDFiumPageRenderOptions) {
  return await sharp(options.data, {
    raw: {
      width: options.width,
      height: options.height,
      channels: 4,
    },
  })
    .png()
    .toBuffer();
}


async function main() {
  const buff = await fs.readFile('test2.pdf');

  // Initialize the library, you can do this once for the whole application
  // and reuse the library instance.
  const library = await PDFiumLibrary.init();

  // Load the document from the buffer
  // You can also pass "password" as the second argument if the document is encrypted.
  const document = await library.loadDocument(buff);

  // Iterate over the pages, render them to PNG images and
  // save to the output folder
  for (const page of document.pages()) {
    console.log(`${page.number} - rendering...`);

    // Render PDF page to PNG image
    const image = await page.render({
      scale: 3, // 3x scale (72 DPI is the default)
      render: renderFunction,  // sharp function to convert raw bitmap data to PNG
    });

    // Save the PNG image to the output folder
    await fs.writeFile(`output/${page.number}.png`, Buffer.from(image.data));
  }

  // Do not forget to destroy the document and the library
  // when you are done.
  document.destroy();
  library.destroy();
}

main();
```


## Release

1. Bump version in `package.json`: `npm version patch`
2. Create a new release in GitHub
3. Check status of the [GitHub Actions](https://github.com/hyzyla/pdfium/actions)