DOM is a Go package for manipulating HTML node. The methods that exist in this package has similar name and purpose as the DOM manipulation methods in JS, which make it useful when porting code from JS to Go. Currently it used in warc
and go-readability
.
To install this package, just run go get
:
go get -u -v github.com/go-shiori/dom
DOM is distributed under MIT license, which means you can use and modify it however you want. However, if you make an enhancement for it, if possible, please send a pull request. If you like this project, please consider donating to me either via PayPal or Ko-Fi.