Skip to content

NamesMT/starter-ts

Repository files navigation

starter-ts TypeScript heart icon

npm version npm downloads Codecov Bundlejs jsDocs.io

starter-ts is my starter/boilerplate for typescript projects.
This template assumes you are using Linux, or the included Dev Container.

Notes (remove this section when you use the template)

* Do a global replace for starter-ts and NamesMT

* I'm heavily inspired by antfu and UnJS, some notable things:

* Script: play vs play:useBuild for playground testing?

  • play script uses unbuild's passive watcher (stub mode), which allows you to execute new code live without rebuilding the project. The cons is TS declarations are not available.
  • play:useBuild builds a static version of the package, useful for testing the actual look/behavior when shipping.

END NOTE

Features

  • TypeScript ready!

Usage

Install package:

# npm
npm install starter-ts

# yarn
yarn add starter-ts

# pnpm (recommended)
pnpm install starter-ts

Import:

// ESM
import { hello } from 'starter-ts'

Roadmap

  • Setting up Dev Container
  • Become the legendary 10000x developer

License License

MIT License © 2023 NamesMT

About

Opinionated starter template for TypeScript library (DevContainer included)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published