Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/go-shiori/dom
Package for access and manipulate DOM element in HTML file
https://github.com/go-shiori/dom
dom go golang hmtl
Last synced: 3 months ago
JSON representation
Package for access and manipulate DOM element in HTML file
- Host: GitHub
- URL: https://github.com/go-shiori/dom
- Owner: go-shiori
- License: mit
- Created: 2019-09-30T00:15:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-11T22:27:15.000Z (about 1 year ago)
- Last Synced: 2024-06-18T17:12:51.503Z (5 months ago)
- Topics: dom, go, golang, hmtl
- Language: Go
- Size: 27.3 KB
- Stars: 34
- Watchers: 5
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- go-awesome - DOM - HTML DOM node editing (Open source library / Word Processing)
README
DOM
===[![GoDoc](https://godoc.org/github.com/go-shiori/dom?status.png)](https://godoc.org/github.com/go-shiori/dom)
[![Travis CI](https://travis-ci.org/go-shiori/dom.svg?branch=master)](https://travis-ci.org/go-shiori/dom)
[![Go Report Card](https://goreportcard.com/badge/github.com/go-shiori/dom)](https://goreportcard.com/report/github.com/go-shiori/dom)
[![Donate PayPal](https://img.shields.io/static/v1?label=donate&message=PayPal&color=00457C&logo=paypal)](https://www.paypal.me/RadhiFadlillah)
[![Donate Ko-fi](https://img.shields.io/static/v1?label=donate&message=Ko-fi&color=F16061&logo=ko-fi)](https://ko-fi.com/radhifadlillah)DOM is a Go package for manipulating [HTML](https://godoc.org/golang.org/x/net/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`](https://github.com/go-shiori/warc) and [`go-readability`](https://github.com/go-shiori/go-readability).
## Installation
To install this package, just run `go get` :
```
go get -u -v github.com/go-shiori/dom
```## Licenses
DOM is distributed under [MIT license](https://choosealicense.com/licenses/mit/), 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](https://www.paypal.me/RadhiFadlillah) or [Ko-Fi](https://ko-fi.com/radhifadlillah).