dom-to-semantic-markdown
DOM to Semantic-Markdown for use with LLMs
File Explorer
Download Latest Version (.zip)- ci.yml
- publish.yml
- cli-example.ts
- d2m.js
- package.json
- README.md
- tryme.html
- tsconfig.json
- yarn.lock
- node-example.ts
- package.json
- tsconfig.json
- yarn.lock
- browser.html
- astUtils.ts
- domUtils.ts
- ElementNode.ts
- htmlToMarkdownAST.ts
- markdownASTToString.ts
- urlUtils.ts
- markdownTypes.ts
- index.ts
- calculateScore.test.ts
- mainContentExtraction.test.ts
- markdownASTToString.advanced.test.ts
- markdownConversion.test.ts
- .gitignore
- .npmignore
- d2m_black.svg
- d2m_color.svg
- failing-test.p
- issue.p
- jest.config.js
- jest.setup.js
- LICENSE
- package.json
- README.md
- rollup.config.js
- tsconfig.browser.json
- tsconfig.json
- tsconfig.node.json
# Installation Guide
1. Get the code
git clone https://github.com/romansky/dom-to-semantic-markdown
Downloads the entire project code from GitHub to your computer.
cd dom-to-semantic-markdown
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install dom-to-semantic-markdown
Downloads and installs the libraries listed in package.json.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
