readmeManager
postpostscript
readmeManager
Remix of: pomdtr/codemirror_demo
HTTP
filterVals
nbbaier
filterVals
filterVals This val exports a utility function that returns a list of all a user's val, filtered by a callback function. Example Get the names of all your private vals: import { filterVals } from "https://esm.town/v/nbbaier/filterVals"; const id = <user_id> const vals = await filterVals(id, (v) => v.privacy === "private") const privateValNames = vals.map(v => v.name);
Script
emptyValUtils
nbbaier
emptyValUtils
Empty Val Utils Handy utility functions to see if you have vals with no code lying around your account and to delete them (if you want to). Usage listEmptyVals import {listEmptyVals } from "https://esm.town/v/nbbaier/emptyValUtils"; console.log(await listEmptyVals(<user_id>)) deleteEmptyVals import {listEmptyVals } from "https://esm.town/v/nbbaier/emptyValUtils"; await deleteEmptyVals(<user_id>)
Script
readmeManager
dinavinter
readmeManager
Remix of: postpostscript/readmeManager
HTTP
mirroredSearchAPI
nbbaier
mirroredSearchAPI
Expanded search endpoint This is a mirrored version of the Val Town API /search/vals endpoint, meant mostly for use with pomdtr's vscode extension . It allows for more sophisticated filtering of the results of a search.
HTTP
1
Next
Updated: February 9, 2025