You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

create-nts-app

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-nts-app

Create Node TypeScript (nts) apps with no build configuration.

1.1.0
latest
Source
npm
Version published
Weekly downloads
3
50%
Maintainers
1
Weekly downloads
 
Created
Source

build   npm

create-nts-app

Create Node TypeScript (nts) apps with no build configuration.

Inspired by the simplicity of Create React App 👏

Getting started

npx create-nts-app my-node-app
cd my-node-app
npm start

Templates

By default create-nts-app generates the simplest TypeScript app possible. However, you can jump start your next project with various templates; just provide the --template argument.

Supported templates

Any published npm package that is prefixed with nts-template-* should work. Just pass it into the --template argument without the prefix.

// Drop the package's "nts-template-" prefix
npx create-nts-app my-express-app --template express

Here are some we've specifically setup:

Coming soon:

  • npm
  • express
  • tsoa
  • graphql

Other sources

You can also pull in locally stored templates or templates directly from a git URL. For a locally stored template prefix your --template argument with file:. To pull a template from a git URL, just pass in it in.

// Local template
npx create-nts-app my-app --template file:../nts-template

// Git template
npx create-nts-app my-app --template https://github.com/djdmbrwsk/nts-template.git

Keywords

node

FAQs

Package last updated on 04 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts