This package has been deprecated

Author message:

Merged to alp-node

alp-node-config
TypeScript icon, indicating that this package has built-in type declarations

9.1.1 • Public • Published

alp-node-config

config in alp framework

In your app

import packageConfig from './package.json';
import { Config } from 'alp-node-config';

const config = new Config(new URL('./config', import.meta.url));
export default config;
config.loadSync({ packageConfig });

With Koa

import Koa from 'koa';
import config from './config';

const app = new Koa();
config()(app, config);

With Alp

import Alp from 'alp';
import config from './config';

const app = new Alp({ config });

Readme

Keywords

Package Sidebar

Install

npm i alp-node-config

Weekly Downloads

57

Version

9.1.1

License

ISC

Unpacked Size

33.7 kB

Total Files

10

Last publish

Collaborators

  • churpeau