onestack
TypeScript icon, indicating that this package has built-in type declarations

3.4.0 • Public • Published

OneStack 3

Build Status Coverage Status

Example

  1. Create new project using
npm init
  1. Install onestack as a dependance
npm install onestack --save
  1. Create config.ts file
import { Kernel, IKernelSettings } from 'onestack';

interface IOAuthSettings extends IKernelSettings {
  GOOGLE_OAUTH_KEY: string
  GOOGLE_OAUTH_PASSWORD: string
}

export default new Kernel<IOAuthSettings>();
  1. in your typescript file
import app from './config'

app.init();

console.log(app.settings.GOOGLE_OAUTH_KEY)

Readme

Keywords

none

Package Sidebar

Install

npm i onestack

Weekly Downloads

43

Version

3.4.0

License

Apache-2.0

Last publish

Collaborators

  • e2tox