node-ts-starterdeprecated

Bare NodeJS Typescript boilerplate project

Usage no npm install needed!

<script type="module">
  import nodeTsStarter from 'https://cdn.skypack.dev/node-ts-starter';
</script>

README

                | |           | |                | |           | |           
 _ __   ___   __| | ___ ______| |_ ___ ______ ___| |_ __ _ _ __| |_ ___ _ __ 
| '_ \ / _ \ / _` |/ _ \______| __/ __|______/ __| __/ _` | '__| __/ _ \ '__|
| | | | (_) | (_| |  __/      | |_\__ \      \__ \ || (_| | |  | ||  __/ |   
|_| |_|\___/ \__,_|\___|       \__|___/      |___/\__\__,_|_|   \__\___|_|
node-ts-starter

Simple NodeJS project with TypeScript and Mocha.

  • Targets Node >7.x & ES6 out of the box
  • Defaults that are easy to change: tsconfig.json, tslint.json.
  • The bare minimum in dependencies: typescript, tslint, ts-node, mocha & chai.

This project stemmed from the lack of solid documentation for getting started writing TypeScript on Node, especially around tsconfig.json. I then found myself copying configuration from my 'last' project each time I'd start a new one, and so creating a reusable starting point made sense.

Cheers!

Installation

git clone https://github.com/elithrar/node-typescript-starter.git

npm install

npm start

Run Tests

npm test

Build Project

npm run build

License

MIT