This Val URL Returns the URL of the val that calls this function. See https://www.val.town/v/neverstew.thisValUrlExample
3
vladimyr
crates_io
Script
An interactive, runnable TypeScript val by vladimyr
0
vladimyr
npmRegistry
Script
An interactive, runnable TypeScript val by vladimyr
0
stevekrouse
parentReference
Script
Forked from easrng/thisReference
1
pomdtr
extractValInfo
Script
Extract vals infos (author, name, version) from a val url (either from esm.town or val.town ). Example usage: const {author, name} = extractValInfo(import.meta.url) Also returns a unique slug for the val: <author>/<name>