Socket
Socket
Sign inDemoInstall

create-koats-starter

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-koats-starter

Creates a TypeScript koa.js starter project.


Version published
Maintainers
1
Created
Source

KOATS-STARTER - a generator to create a Koa Typescript Web Server Template

To create a new project

  1. Create a directory for your projects $ mkdir my-project
  2. Change directory into your project: $ cd my-project
  3. Run: $ npm init koats-starter
  4. Start the dev server locally with: $ npm run dev
  5. Use this to start a great web site using Koa and Typescript

Stuff Included (third-party)

  • koa: well supported, extensible, simple web framework
  • koa-static: serve static assets with koa middleware
  • koa-hbs: handlebars view template middleware for koa
  • koa-bodyparser: body/form parsing of requests
  • @koa/router: router middleware for koa
  • config: dynamic and environmentally aware configuration
  • pino: low overhead, extensible, well supported logger
  • koa-pino-logger: koa/pino logging middleware
  • pino-tiny: simple pino formatter for local dev
  • Bootstrap 5: css framework
  • standardx: linting standard for typescript
  • prettier: make pretty code
  • ts-node: run TypesScript in without compiling first
  • nodemon: run app and restart on changes
  • typescript: compile TypeScript into JavaScript (and all the necessary @types/* libs)

Built-in

  • error handling middleware
  • graceful startup/shutdown

Keywords

FAQs

Package last updated on 12 Dec 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc