INNER CODE UNIT · Go
Argon2Iter
benbusby/yeetfile · shared/js.go:25
export const Argon2Iter = %d;
export const Argon2Mem = %d;`
const endpointsHeadJS = `
// Auto-generated from shared/js.go. Don't edit this manually.
export type Endpoint = {
path: string
}
export class Endpoints {`
const endpointsTailJS = `
static format(endpoint: Endpoint, ...args: string[]): string {
let path = endpoint.path;
for (let arg of args) {
path = path.replace("*", arg);