Public
parseImportMeta
If you're running code in Val Town, sometimes you want to know information about the val that's running. This module has functions for that.
import { parseProject } from 'https://esm.town/v/std/parseImportMeta/project'
const projectVal = parseProject(import.meta.url)
console.log(projectVal)
import { parseVal } from 'https://esm.town/v/std/parseImportMeta/val'
const val = parseVal(import.meta.url)
console.log(val)
Script
HTTP
Script
Script