UNPKG

@suryadarsan/html-to-md

Version:

A lightweight package for converting HTML to Markdown, compatible with Vanilla JS and popular frameworks/libraries like Angular, React, and Node.js.

66 lines 1.82 kB
{ "name": "@suryadarsan/html-to-md", "version": "1.1.1", "description": "A lightweight package for converting HTML to Markdown, compatible with Vanilla JS and popular frameworks/libraries like Angular, React, and Node.js.", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "browser": "dist/suryadarsan.htmlToMd.umd.js", "types": "dist/index.d.ts", "exports": { "import": "./dist/index.esm.js", "require": "./dist/index.cjs.js", "types": "./dist/index.d.ts" }, "repository": { "type": "git", "url": "https://github.com/Suryadarsan/html-to-md/" }, "bugs": { "url": "https://github.com/Suryadarsan/html-to-md/issues" }, "homepage": "https://github.com/Suryadarsan/html-to-md#suryadarsanhtml-to-md", "scripts": { "build": "npx rollup -c", "test": "npx jest", "pack": "npm pack", "publish": "npm publish --access public", "link": "npm link @suryadarsan/html-to-md" }, "files": [ "dist" ], "keywords": [ "htmlToMarkdown", "markdown", "html2markdown", "html2md", "parseHtml", "parseMarkdown", "parseMD", "angular", "react", "nodejs", "vanillaJS", "html", "commonJS", "ecosystem:angular", "ecosystem:react", "ecosystem:nodejs" ], "author": "Ajith S Punalur (ASP)", "license": "MIT", "devDependencies": { "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.2", "@types/jest": "^29.5.14", "@types/jsdom": "^21.1.7", "@types/node": "^22.13.4", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jsdom": "^26.0.0", "rollup": "^4.34.8", "rollup-plugin-typescript2": "^0.36.0", "ts-jest": "^29.2.5", "typescript": "^5.7.3" } }