open-index/open-npm huggingface dataset:
npm package: @leo4096/strophejs
Description: Strophe.js is an XMPP library for JavaScript
Author: Jack Moffit
Latest version: 1.3.5

# Strophe.js

[![Build Status](https://travis-ci.org/strophe/strophejs.png?branch=master)](https://travis-ci.org/strophe/strophejs)

Strophe.js is a JavaScript library for speaking XMPP via BOSH
([XEP 124](http://xmpp.org/extensions/xep-0124.html)
and [XEP 206](http://xmpp.org/extensions/xep-0206.html)) and WebSockets
([RFC 7395](http://tools.ietf.org/html/rfc7395)).

Its primary purpose is to enable web-based, real-time XMPP applications that
run in any browser.

The book [Professional XMPP Programming with JavaScript and jQuery](http://professionalxmpp.com)
covers Strophe in detail in the context of web applications.

## Quick Links

* [Homepage](http://strophe.im/strophejs)
* [Documentation](http://strophe.im/strophejs/doc/1.3.4/files/strophe-js.html)
* [Mailing list](http://groups.google.com/group/strophe)
* [Community Plugins](http://github.com/strophe/strophejs-plugins)

## Browser support

Versions <= 1.2.16 have been tested on Firefox, Firefox for Android, IE, Safari,
Mobile Safari, Chrome, Chrome for Android, Opera and the mobile Opera browser.

Since version 1.3.0, support for IE < 11 has been dropped.

## Running tests

You'll need to have [GNU Make](https://www.gnu.org/software/make/) available.
Then, simply run `make check` to run the tests.

## License

It is licensed under the [MIT license](https://github.com/strophe/strophejs/raw/master/LICENSE.txt),
except for the files sha1.js, base64.js and md5.js, which are licensed as public domain and BSD (see these files for details).

## Author & History

Strophe.js was originally created by Jack Moffitt. It was originally developed
for Chesspark, an online chess community based on XMPP technology. It has been
cared for and improved over the years and is currently maintained by many
people in the community.
npm package: @leo56/simple-redact-skill
Description: Simple Redact - CLI tool for PDF sensitive information redaction
Latest version: 0.1.5

# @leo56/simple-redact-skill

Skill-first distribution of **Simple Redact**.

This npm package installs the `simple-redact` CLI and includes the full skill
structure (`SKILL.md`, `SKILL.toml`, references, default config, assets).

## Install

```bash
npm install -g @leo56/simple-redact-skill
```

## Quick Start

```bash
mkdir -p output

# 1) Parse PDF to extract text + coordinates (offline)
simple-redact parse --input document.pdf --output output/extracted.json --parser local

# 2) Create output/sensitive.json
# See: references/WORKFLOW.md

# 3) Apply redactions
simple-redact apply --input document.pdf --output output/redacted.pdf --sensitive output/sensitive.json --parser local
```

## TextIn (Optional)

If you want better OCR and matching for complex PDFs:

### Get Credentials

TextIn credentials are called `x-ti-app-id` and `x-ti-secret-code` (you will use
them as `TEXTIN_APP_ID` and `TEXTIN_SECRET_CODE`).

Per TextIn official docs, you can obtain them from the Workbench:

1. Open the TextIn "功能体验" page
2. Click the profile icon in the bottom-left
3. Click **账号与开发者信息**
4. Copy `x-ti-app-id` and `x-ti-secret-code`

Reference: https://docs.textin.com/xparse/api-key

```bash
export TEXTIN_APP_ID=YOUR_ID
export TEXTIN_SECRET_CODE=YOUR_SECRET

simple-redact parse --input document.pdf --output output/extracted.json --parser textin
simple-redact apply --input document.pdf --output output/redacted.pdf --sensitive output/sensitive.json --parser textin
```

## References

- Workflow: `references/WORKFLOW.md`
- Config: `references/CONFIG.md`
- Output formats: `references/OUTPUT.md`
- Troubleshooting: `references/TROUBLESHOOTING.md`