x/eta@v1.12.3/polyfills.ts

Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript
GitHub Stars
590
Latest
export const promiseImpl = Promise;
export function getAsyncFunctionConstructor(): Function { return async function () {}.constructor;}
export function trimLeft(str: string): string { return str.trimLeft();}
export function trimRight(str: string): string { return str.trimRight();}