htom

1.0.7 • Public • Published

htom

convert html to markdown

  • list support
  • nested list support
  • task list support
  • table support
  • ...

usage

install

yarn add htom
 
# or 
 
npm install htom

usage

const htom = require('htom').default;
 
htom('<h1> test html </h1>').then(markdown => console.log(markdown));

build & test

git clone https://github.com/iamcco/htom.git
cd htom
npm install

# build
npm run build

#test
npm run test

screenshot

html for convert:

html

output markdown:

markdown

Readme

Keywords

Package Sidebar

Install

npm i htom

Weekly Downloads

9

Version

1.0.7

License

ISC

Unpacked Size

29.6 kB

Total Files

14

Last publish

Collaborators

  • yuuko