Skip to content
noconfig

starter-typescript

by @noconfig Official

Type-safe server code that runs as-is. No tsconfig, no build step.

starter-typescript.noconfig.online

README.md

# TypeScript API

Node runs `server.ts` directly by stripping the types, so there's nothing to compile. Use type-only syntax (no `enum` or `namespace`).

## How noconfig runs this

There's no config file. noconfig looks at your files and works it out:

- `package.json` scripts → `npm start` (or build, then serve the output)
- `server.js`, `index.ts` and friends → `node <file>` (TypeScript runs directly)
- `app.py` → Python, with `requirements.txt` installed first
- `index.php` → PHP's built-in server
- otherwise `index.html` → served as a static site

Edit any file and the preview updates by itself. Put secrets in `.env`: they're hidden from anyone who views or remixes your project.

Comments 0

  • No comments yet. Say something nice.

Sign in or create an account to comment and react.