Skip to content

Repository files navigation

ambeeance-loader

Attempt to load ambeeance client gracefully

package.json

{
//..."dependencies": {
"ambeeance-loader": "1.0.0"
},
"devDependencies": {
"ambeeance-client": "x.y.z"
}
}

your_app.js

const{ ambeeance }=require("ambeeance-loader")(require);constconfig=ambeeance(loadConfig());

ambeeance-client will only be required if the environment is not production and AMBEEANCE=ENABLED is set in your environment.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages