arcee 简单的node.js配置
阿尔西简单的node.js配置Arcee提供可变和不可变的配置存储,可以在模块和工作程序之间共享。 npm install arcee用法var config = require ( "arcee" ) // You can pass an object... config . set ( "app.webserver" , { port : 8000 , engine : "haml" } ) // ...or the location of a file config . set ( "app.db" , "config/db.yaml" ) // Get all config under the 'app' namespace config . get ( "app" ) // => {webserver: {...}, db: {...}} // Ge
下载地址
用户评论