Public vals
120
eventsy
@yawnxyz
Script
The Eventsy class represents a system for logging and managing events. It utilizes Dobby for database operations and provides methods for logging events, retrieving events by type, performing full-text searches, and more. This class is designed to be flexible and adaptable to various event logging needs.
htmlkit
@yawnxyz
Script
This module provides functions to convert HTML to various formats such as Markdown, Pug, and Turndown.
It also includes utilities to fetch HTML from a URL, extract metadata, and clean HTML by removing unwanted selectors.
Dependencies include Cheerio for HTML parsing, JSDOM for DOM manipulation, and Turndown for converting HTML to Markdown.
selectHtml
@yawnxyz
Script
SelectHtml is a Deno-based HTML scraper that integrates AI with Cheerio and Pug. This tool allows you to fetch, clean, and manipulate HTML content from URLs, using the Cheerio library to select and clean the HTML elements, and html2pug to convert HTML into Pug templates. Deprecated; use htmlTo instead, as that one supports more formats: https://www.val.town/v/yawnxyz/htmlTo