0.0.3 • Published 4 years ago

@null-404/ts-server v0.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

tsserver

Installation

npm install @null-404/ts-server

Example

tsserver.conf.js

module.exports = {
    port: 8888,
    root: 'html',
    autoindex: 'off', // on || off
    index: ['index.html', 'index.htm'],
    // "error_page": "/404.html",
    proxy: {
      '/api': 'http:127.0.0.1:8080'
    }
  }
npx tsserver 8080 --config tsserver.conf.js