Getting started
The core module of SugoiJS supplies the main classes and functions which are used by sugois' modules.
Overview
@sugoi/core define some of the basic features of SugoiJS, like:
Extendable exception classes.
Singleton objects & injections (powered by InversifyJS).
Policies - argument validator + decorator implementation.
Installation
npm install --save @sugoi/core
tsconfig.json:
Under your tsconfig - compilerOptions set:
"target": "es2015"
"emitDecoratorMetadata": true
"experimentalDecorators": true
"lib": ["es2015","dom"]
Template
You can use the config template which was set for the @sugoi/demo application:
Last updated