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

0.4.2 • 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 agentstack-grpc

Weekly Downloads

0

Version

0.4.2

License

Apache-2.0

Last publish

Collaborators

  • e2tox