singularity-forge/packages/native/package.json
Lex Christopherson 0b288f389f feat: add html-to-markdown native module
Port HTML-to-Markdown conversion from Oh My Pi's html module using
html-to-markdown-rs. Exposes `htmlToMarkdown()` via N-API with options
for content cleaning (strip nav/forms/headers/footers) and image skipping.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-13 12:40:22 -06:00

31 lines
789 B
JSON

{
"name": "@gsd/native",
"version": "0.1.0",
"description": "Native Rust bindings for GSD — high-performance grep via N-API",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"scripts": {
"build:native": "node ../../native/scripts/build.js",
"build:native:dev": "node ../../native/scripts/build.js --dev",
"test": "node --test src/__tests__/grep.test.mjs src/__tests__/html.test.mjs"
},
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts"
},
"./grep": {
"types": "./src/grep/index.ts",
"import": "./src/grep/index.ts"
},
"./html": {
"types": "./src/html/index.ts",
"import": "./src/html/index.ts"
}
},
"files": [
"src"
],
"license": "MIT"
}