New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

twf-cli

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twf-cli

TypeScript Web Framework CLI

latest
Source
npmnpm
Version
1.7.2
Version published
Maintainers
1
Created
Source

dependencies Status Known Vulnerabilities Maintainability Documentation Status Build Status npm version Greenkeeper badge

TypeScript Web Framework Command Line Interface

TypeScript Web Framework CLI

Features

  • Create project
    • Current Directory
    • Own Directory
  • Generate API Controller
    • Default CRUD
      • @HttpPost create()
      • @HttpGet read()
      • @HttpPut update()
      • @HttpDelete delete()
  • Remove API Controller
  • Verify project structure
    • Verify existing www
    • Verify existing package.json
    • Verify existing src
    • Verify existing src/manifiest.json
    • Verify existing src/controllers
    • Verify existing src/annotations
    • Verify existing src/core
    • Verify existing src/app.ts
    • Verify existing src/server.ts
    • Verify existing src/typings.d.ts
  • Version info & comparison
    • CLI Version
    • Project Version
    • Node Version
    • NPM Version
  • Clean project
    • Remove www
    • Remove dist
    • Remove temp
    • Remove node_modules
    • Remove package-lock.json
  • Install dependencies
  • Serve project
  • Generate http property on controller
  • Remove http property on controller
  • Test Project(Unit Testing)
  • Build Project
  • Generate compiled binary package
    • Windows
    • Linux
    • OSX

Commands

Start Project

To start a new project on current directory you don't need set project name

!IMPORTANT

twf-cli does not interpret . or ...

twf start

To start a new project on with a own directory you need set project name

twf start MyProject

Clean Project

twf clean

Install Dependencies

twf install

Verify Project

twf verify

Serve

twf serve

Generate Controller

# twf add controller [name] [default route]
twf add controller index
twf add controller index /profile/:id
twf add controller main/index /profile/:id

Keywords

web

FAQs

Package last updated on 23 Jul 2018

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