{"id":51277,"library":"tdewolff-parse-v2","title":"parse v2","description":"Package parse contains a collection of parsers for various formats in its subpackages.","status":"active","version":"2.8.13","language":"go","source_language":null,"source_url":"https://github.com/tdewolff/parse","tags":["parser","html","css","javascript","lexer"],"install":[{"cmd":"go get github.com/tdewolff/parse/v2","lang":"bash","label":"Install github.com/tdewolff/parse/v2"}],"dependencies":[],"imports":[{"symbol":"parse","correct":"github.com/tdewolff/parse/v2"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/tdewolff/parse/v2/html\"\n)\n\nfunc main() {\n\tinput := []byte(\"<html><body><p>Hello</p></body></html>\")\n\tl := html.NewLexer(input)\n\tfor {\n\t\ttt := l.Next()\n\t\tif tt == html.ErrorToken {\n\t\t\tbreak\n\t\t}\n\t\tfmt.Printf(\"Token: %s\\n\", l.Text())\n\t}\n}","lang":"go","description":"Parse HTML using tdewolff/parse HTML lexer"},"warnings":[],"env_vars":null,"search_vec":"'collect':7 'contain':5 'css':18 'format':12 'html':17 'javascript':19 'lexer':20 'packag':3 'pars':1,4 'parser':9,16 'subpackag':15 'v2':2 'various':11","created_at":"2026-06-15T06:07:14.142045+00:00","updated_at":"2026-06-15T06:07:14.142045+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/tdewolff/parse","github":"https://github.com/tdewolff/parse","docs":"https://pkg.go.dev/github.com/tdewolff/parse/v2#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}