npm

@use-services/echo
TypeScript icon, indicating that this package has built-in type declarations

1.3.3 • Public • Published

Echo

// in services.ts
import * as Echo from "@use-services/echo";

import * as settings from "@/settings";

const options = {
  settings: {
    init: Echo.init,
    args: settings,
  } as Echo.Option<typeof settings>,
};

// in settings.ts
const settings = {
  app: "app",
  host: "0.0.0.0",
  port: 3000,
  prod: false,

};

export = settings;

// usage
srvs.settings.app

Readme

Keywords

Package Sidebar

Install

npm i @use-services/echo

Weekly Downloads

1

Version

1.3.3

License

MIT

Unpacked Size

2.29 kB

Total Files

4

Last publish

Collaborators

  • sigoden