• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
stevekrouse

stevekrouse

utils

Remix of std/utils
Public
Like
utils
Home
Code
18
README.md
H
_docs.tsx
H
_tests.ts
debug_test.ts
docs-todos.md
H
example.test.ts
H
file.test.ts
file.ts
index.ts
H
is-main.test.ts
is-main.ts
H
parseImportMeta.test.ts
parseImportMeta.ts
H
serve-file.test.ts
serve-file.ts
H
static.test.ts
static.tsx
test.tsx
Environment variables
Branches
1
Pull requests
Remixes
History
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
11/1/2025
Viewing readonly version of main branch: v23
View latest version
README.md

Val Town Utilities

A comprehensive collection of utilities for building and testing applications in Val Town Projects.

  • readFile - Read files from Val Town vals
  • listFiles - List all files in a val
  • listFilesByPath - List files in a specific directory path
  • httpEndpoint - Get HTTP endpoint URL for a file
  • emailAddress - Get email address for email trigger files
  • getValId - Lookup a val's ID
  • fetchTranspiledJavaScript - Fetch and transpile TypeScript/JavaScript
  • parseVal - Extract metadata from Val Town URLs
  • serveFile - Serve files with proper content types
  • getContentType - Determine MIME types for files
  • staticHTTPServer - Create a static file server
  • testServer - Create a test runner with HTML/SVG output
  • isMain - Check if current file is the main entry point

See the generated documentation for complete API reference.

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.