Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/?q=linkedom&page=1&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=linkedom

Returns an array of strings in format "username" or "username/projectName"

Found 27 results for "linkedom"(918ms)

Web scraping416 words

https://docs.val.town/guides/web-scraping/
and provides an API for traversing/manipulating the resulting data structure. We also recommend node-html-parser and linkedom. ExampleRun in Val Town ↗ import { fetchText } from "https://esm.town/v/stevekrouse/fetchText?v=6"; import { load

Sections

Parsing HTML

and provides an API for traversing/manipulating the resulting data structure. We also recommend node-html-parser and linkedom. ExampleRun in Val Town ↗ import { fetchText } from "https://esm.town/v/stevekrouse/fetchText?v=6"; import { load

digestread1 match

@joseforonda•Updated 1 month ago
5import * as Plot from "npm:@observablehq/plot@0.6.14";
6import { d3 } from "npm:d3@7";
7import { parseHTML } from "npm:linkedom@0.15";
8
9const style = `

youthfulCyanSheepmain.tsx1 match

@alexwein•Updated 2 months ago
8
9 // Create a mock document object to prevent undefined errors
10 const { document } = await import("https://cdn.jsdelivr.net/npm/linkedom@0.16.1/+esm").then((m) =>
11 m.parseHTML(`<html><body></body></html>`)
12 );

plotLinkeDOMSRRExample2 file matches

@stevekrouse•Updated 10 months ago