Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 830 Bytes

readme.md

File metadata and controls

13 lines (11 loc) · 830 Bytes

Barebones TS CLI + Scripting Template

This code is intended to be used as a template for quickly setting up a new project for simple scripts or coding challenges with TypeScript. It makes use of Vite and Vitest and is inspired by the Minimal TS Node Project by Jimmy Hogoboom.

To Use

  1. Clone this repo or download the ZIP. Just get the code on your machine somehow.
  2. Run npm install
  3. Write your tests in index.test.ts
  4. Write your code in index.ts
  5. Run the tests with npm test
  6. Run the code as CLI with npm run it

Contributing

If you like this project and have ideas about making it better, submit a PR!