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

stevekrouse

processBufferDeno2Example

Public
Like
processBufferDeno2Example
Home
Code
2
README.md
main.tsx
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
/
Code
/
Search
README.md

Deno 2 Globals

Now that Val Town is on Deno 2, you can access process and Buffer without needing to import them. This means you'll be able to copy and paste more NodeJS code into Val Town, and it'll 'just work' more of the time.

If you want proper type support for them, you will still need to import them explicitly. Our editor should walk you through this. The NodeJS types are fairly extensive, so we think it's better for now to let you import them piecemeal, as you need them.

Code
README.mdmain.tsx
FeaturesVersion controlCode intelligenceCLI
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
© 2025 Val Town, Inc.