• Townie
    AI
  • Blog
  • Docs
  • Pricing
Log inSign up
vtTestLocal

vtTestLocal

a8b48747537_

Public
Like
a8b48747537_
Home
Code
21
dailyBriefing
3
dashboard
4
dbUtils
4
importers
5
shared
1
.cursorrules
README.md
backstory.ts
file0-ff16522a-ef01-4704-92e2-c7c4b3a58a78.txt
file1-6d86a22b-adf1-44b7-ab32-2f108e3533d6.txt
file11-c9ed8182-11c4-4585-bc06-7267745027f6.txt
file2-78563ff5-2c21-4862-829e-e527d00b65ed.txt
file3-06cd3555-dd80-44b4-abf9-2947c0fd59c0.txt
file4-0e073133-7bd8-48c0-8c1d-d1b68c642c9c.txt
file5-151d31e1-2629-4ecf-b752-d405c188ed12.txt
file6-ffacf80d-7a26-4dbd-92bc-4da3cf9c21fc.txt
file7-6d65e70e-bac1-41b9-be8d-d886ad0a8847.txt
file8-4493f3c5-6b30-4425-b2dc-b67a72073e4d.txt
file9-11aadbb4-7f7b-4ec2-8dd0-561d9b23a71e.txt
memoryUtils.ts
populateDemo.ts
Branches
1
Pull requests
Remixes
History
Environment variables
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
/
dashboard
/
shared
/
README.md
Code
/
dashboard
/
shared
/
README.md
Search
5/12/2025
Viewing readonly version of main branch: v60
View latest version
README.md

Shared

It's common to have code and types that are needed on both the frontend and the backend. It's important that you write this code in a particularly defensive way because it's limited by what both environments support:

shapes at 25-02-25 11.57.13.png

For example, you cannot use the Deno keyword. For imports, you can't use npm: specifiers, so we reccomend https://esm.sh because it works on the server & client. You can use TypeScript because that is transpiled in /backend/index.ts for the frontend. Most code that works on the frontend tends to work in Deno, because Deno is designed to support "web-standards", but there are definitely edge cases to look out for.

FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareersBrandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.