Dashboard
Trending
Newest
Townie
AI
Editor
Docs
Log in
Sign up
myApi
@nik
Public
Script
Fork
0 Likes
Code
Pull Requests
Forks
References
Dependencies
Versions
v2
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Sign up with GitHub
myApi
Script
v2
Fork
1
2
3
export
function
myApi
(
name
)
{
return
"hi "
+
name
;
}
October 23, 2023
Copy module URL
https://esm.town/v/nik/myApi
Copy script tag
<script type="module" src="https://esm.town/v/nik/myApi" />
Copy embed code
Copy link
Copy Val ID