Socket
Socket
Sign inDemoInstall

loon

Package Overview
Dependencies
149
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    loon

Enterprise ready spring like framework build on Typescript and Express


Version published
Weekly downloads
34
decreased by-72.36%
Maintainers
1
Install size
10.1 MB
Created
Weekly downloads
 

Readme

Source

NPM version Downloads Build Status Dependency status Dev Dependency status Coverage Status

LOON(气球)

Now it's time to celebrate, LOON 2.0!
Enterprise ready spring like framework build with Typescript on top of fastest node http framework fastify or express

Changelog

2.0

  • fastify adapter
  • add files to ApplicationSettings, remove srcDir, publicDir, logDir, configDir, dbDir, rootDir is not required
  • use SettingOptions in ApplicationLoader constructor
  • use start() return raw node http server
  • remove @Service() decorator
  • remove @RestController() decorator
  • remove @On() @Subscriber decorator
  • add create-loon-app script
  • $beforeLoadRoutes rename to $beforeLoadControllers, $afterLoadRoutes rename to $afterLoadControllers
  • add $onClose lifecycle hook
  • add graceful shutdown by default
  • add debug support

Quick Start

$ npm install -g create-loon-app
$ create-loon-app <appName>
$ cd <appName>
$ npm start

Open your browser, and go to http://localhost:9000, you will get hello world response

Features

  • Dependency Injection
  • Controller
  • Middleware
  • Filter
  • Model
  • Converter
  • Initializer

Please refer to the documentation for more details. 中文文档

Core Team


Vincent

Founder of loon

Keywords

FAQs

Last updated on 01 Aug 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc