Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/5rahim/gojadoc
Goja bindings for HTML parsing.
https://github.com/5rahim/gojadoc
cheerio goja goquery jquery
Last synced: 3 days ago
JSON representation
Goja bindings for HTML parsing.
- Host: GitHub
- URL: https://github.com/5rahim/gojadoc
- Owner: 5rahim
- License: mit
- Created: 2024-11-07T15:43:09.000Z (13 days ago)
- Default Branch: main
- Last Pushed: 2024-11-07T15:54:15.000Z (13 days ago)
- Last Synced: 2024-11-07T16:41:31.912Z (13 days ago)
- Topics: cheerio, goja, goquery, jquery
- Language: Go
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gojadoc
Goja bindings for HTML parsing inspired by Cheerio.
```go
package mainimport (
"github.com/dop251/goja"
"github.com/5rahim/gojadoc"
)func main() {
vm := goja.New()
err := gojadoc.BindDocument(vm)
if err != nil {
panic(err)
}
}
``````ts
const html = `
First Post
This is the first post.
Read more
Second Post
This is the second post.
Read more
Third Post
This is the third post.
Read more