UNPKG

@mccann-hub/create-typescript-template

Version:

CLI tool to initialize a TypeScript project with dual CommonJS and ESM support, path aliases, unit testing, and linting for NPM publishing.

6 lines (4 loc) 105 B
const WORLD = 'world'; export function hello(who: string = WORLD): string { return `Hello ${who}!`; }