1.0.0 • Published 14 days ago

@devtea2025/magni-impedit-quo-quibusdam v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
14 days ago

Configure your Node.js Applications

NPM   Build Status   release notes

Introduction

Node-@devtea2025/magni-impedit-quo-quibusdam organizes hierarchical @devtea2025/magni-impedit-quo-quibusdamurations for your app deployments.

It lets you define a set of default parameters, and extend them for different deployment environments (development, qa, staging, production, etc.).

Configurations are stored in @devtea2025/magni-impedit-quo-quibusdamuration files within your application, and can be overridden and extended by environment variables, command line parameters, or external sources.

This gives your application a consistent @devtea2025/magni-impedit-quo-quibusdamuration interface shared among a growing list of npm modules also using node-@devtea2025/magni-impedit-quo-quibusdam.

Project Guidelines

  • Simple - Get started fast
  • Powerful - For multi-node enterprise deployment
  • Flexible - Supporting multiple @devtea2025/magni-impedit-quo-quibusdam file formats
  • Lightweight - Small file and memory footprint
  • Predictable - Well tested foundation for module and app developers

Quick Start

The following examples are in JSON format, but @devtea2025/magni-impedit-quo-quibusdamurations can be in other file formats.

Install in your app directory, and edit the default @devtea2025/magni-impedit-quo-quibusdam file.

$ npm install @devtea2025/magni-impedit-quo-quibusdam
$ mkdir @devtea2025/magni-impedit-quo-quibusdam
$ vi @devtea2025/magni-impedit-quo-quibusdam/default.json
{
  // Customer module @devtea2025/magni-impedit-quo-quibusdams
  "Customer": {
    "dbConfig": {
      "host": "localhost",
      "port": 5984,
      "dbName": "customers"
    },
    "credit": {
      "initialLimit": 100,
      // Set low for development
      "initialDays": 1
    }
  }
}

Edit @devtea2025/magni-impedit-quo-quibusdam overrides for production deployment:

 $ vi @devtea2025/magni-impedit-quo-quibusdam/production.json
{
  "Customer": {
    "dbConfig": {
      "host": "prod-db-server"
    },
    "credit": {
      "initialDays": 30
    }
  }
}

Use @devtea2025/magni-impedit-quo-quibusdams in your code:

const @devtea2025/magni-impedit-quo-quibusdam = require('@devtea2025/magni-impedit-quo-quibusdam');
//...
const dbConfig = @devtea2025/magni-impedit-quo-quibusdam.get('Customer.dbConfig');
db.connect(dbConfig, ...);

if (@devtea2025/magni-impedit-quo-quibusdam.has('optionalFeature.detail')) {
  const detail = @devtea2025/magni-impedit-quo-quibusdam.get('optionalFeature.detail');
  //...
}

@devtea2025/magni-impedit-quo-quibusdam.get() will throw an exception for undefined keys to help catch typos and missing values. Use @devtea2025/magni-impedit-quo-quibusdam.has() to test if a @devtea2025/magni-impedit-quo-quibusdamuration value is defined.

Start your app server:

$ export NODE_ENV=production
$ node my-app.js

Running in this @devtea2025/magni-impedit-quo-quibusdamuration, the port and dbName elements of dbConfig will come from the default.json file, and the host element will come from the production.json override file.

Articles

Further Information

If you still don't see what you are looking for, here are some more resources to check:

Contributors

License

May be freely distributed under the MIT license.

Copyright (c) 2010-2022 Loren West and other contributors

protocol-bufferscoresharedarraybuffergetintrinsicspawnappfile systemspeedmacosslicevaluebrowserslistgroupreact-hook-formwatchercore-jsdeepcloneUint8Arrayreal-timeObjectpromiseURLSearchParamsmkdirssignalsyntaxerrorl10nglobcompilerajvsomelruutil.inspectbundlercontainsmimedom-testing-librarydescriptormomentcirculargradients css3package.jsonReflect.getPrototypeOfshebanga11yfast-deep-cloneidentifiershashlastnodejsformatinstallerdeep-copyyup.envInt32Arrayprivate datacjkcorsECMAScript 2023getoptrfc4122opener$.extendtypeescapepathECMAScript 2018WebSocketsprotobuffindLastartqueryECMAScript 2022glacierresolvexhrStreamstyleguideairbnbobjelbArraymkdirtypesflatUint8ClampedArrayless.jsWeakSetoperating-systemsetterdayjsmoduleiteratorinArray.prototype.findLastBigUint64Arrayinterruptsvisualinferencesuperagentredux-toolkitStyleSheetlinkcolumnssharedcloudwatchcall-bindtestingworkspace:*workflowoffsetmatcheshotdescriptionstringifytrimEndzeromapreduceclassnamestypedreact-testing-libraryparsersigtermargumentsownerrorbusyregular expressionprocessfind-uptrimRightgetOwnPropertyDescriptortelephoneES2015picomatchhandlerslistenersfetchthrottleSymbolstylesrouteremojityped arrayconcattypeerrorcloudtrailes-shim APIaccessorbytebootstrap cssfpspasswordsesbrowserStreamsnameArray.prototype.includesmochaeast-asian-widthaccessibilityES2019classnametapextermnameseslint-pluginrm -rfrapidvarsauthparentsqsshimtraversecssserializationxdg-openchaiECMAScript 5YAMLmakeis[[Prototype]]fast-deep-copystringtrimLeftserializeelasticacheinstallloadingregexloadbalancingECMAScript 3stateless mixinsjsshamspecrestArray.prototype.flattenisConcatSpreadablejsxless cssfull-widthwarningWeakMapwebsiteIteratorindicatorregularlazyArrayBuffer.prototype.sliceAsyncIteratorconsumeschemestatusprettycommand-linepruneprefixObject.getPrototypeOfconfigpreprocessorrdsajaxfilefixed-widthfunctionalautoscalingasciitypescriptkinesisduplexWebSocketpyyamluninstallless compilerwebiterationexecendpointECMAScript 2020collectionfilterhttpswafunicodeerror-handlingavatypedarraysECMAScript 2016lockfileeditores2018symlinksRegExp#flagselmdefaultES3takeEScallbounddebuggerratelimitstartObject.istypesafebluebird_.extenddefinepropertycloudsearchimportexportwatchFilestyled-componentsdeepexpresstaskObject.valuesfast-copyTypedArrayformattinggetcensorreduxenumerableObject.keysurlcryptphonesignalsArray.prototype.flatMapstreamscollection.es6fastifyrequestwgetlinewraputilqslook-upemrObservablepatchtoSortedebsenderuuidmetadataArray.prototype.flateslintpluginrequireconcurrencydropeventDispatcherauthenticationrecursivecharacterbounddeepcopypromisespushbeanstalkES2022arrayenvironmentwordwrapvalidationwatchingString.prototype.trimUint32ArrayhasOwnglobalbddcommandhardlinkssigintdirapies-shimsES2016String.prototype.matchAlljshinttoolsponyfillSetomitentriesstatelesschanneles5ansiencryptionnested css-0connectObject.assignmonorepowhatwges-abstractfastlookpredictableReactiveExtensionswordbreakdynamodbcharacterstypeofdombyteOffsetargvpropreuseBigInt64ArrayformJSONlessmatchparsefullwidthvalidatesetImmediateirqwidthbufferrandomcompile lessweaksetpackagessymbolsInt16ArrayquoteECMAScript 6directoryarraybuffermobileform-validationmiddlewarerangeerrorwritablees7liveFunction.prototype.namematchAllObject.fromEntriesimporttoArrayworkerextensionnopegenericsPromisehookformkeyArrayBuffer#sliceargparsestreams2assertequalTypeScriptcolorsweakmaphigher-orderawaitreact-hooksbyteLengthMicrosoftkoreanelectronpostcssjsonpathbundlingttytestgetterfastcloneeveryframeworksearchhasOwnPropertyInt8ArraywhichfolderfscloudformationdatastructurewalkingstringifiercallbackloggerhttpcachebatchlimiteddefinePropertytermArrayBufferSymbol.toStringTagtextupgdprguidlogjavascriptimmutablestructuredClonevestsortedidlees2016callbindiamexites2015ecmascriptfunctionscalltesterroute53eslintconfigexecutablesidechromeexpressionwindowsmergesuperstructES8iegetPrototypeOf0negativeenvmkdirpfullxdgfigletmulti-packagesetPrototypeOfcurlfseventssyntaxjasmineReactiveXyamloptionvpcjwtlibphonenumberratechecklanguagemodulestouchnegative zeroreplaywritehas-owntimeextendhelpersinternalfindLastIndexstylingobjectperformanteventEmitterassertionglobalsES7findprogresscss variableprototyperegular expressionschineseconfigurablegradients csspolyfillremovesymlinkkeysmimetypespreserve-symlinksreducerRFC-6455stdliboncecodesimmerexit-codetoStringTagmixinsparentspipetsurlshaslimitdescriptorsES2018Float64Arraycss lessdotenvconcatMapjoireadablereactreduceredacteseslintformsflatMapdependenciesutilitydataviewi18nopenes2017invariantcmdtoobjectsettingsmime-dbObservablesrgbtrimproxyUnderscorechromiummake dircolumnURLautoprefixer__proto__RxclassescolorES2021deep-cloneinputlinuxUint16Arraywalkargsstylesheetcall-boundreadablestreamschemaassignrestfulPushawesomesaucedeletebcryptqueueMicrotasktoolkitsequencelengthnpmpositiveECMAScript 2021jsdiffrmprivatedeterministicclonelintserializerarktypemruspinnersamazonintrinsicvaluesshelldateFloat32Arrayflagspluginclass-validatorECMAScript 2015io-tsvalidstablefast-clonetslibenvironmentsestreesorteventsstreamCSScommanderMapwrapcloudfrontchild@@toStringTagtapjestjsonshrinkwraprm -frtypanionasyncArray.prototype.containsfinduptostringtagES2020consoleRxJSArray.prototype.filterES6JSON-SchemaES2017slotcomparestarterscheme-validationsameValueZeroincludesES2023snssetdatathroatarrayssimpledbESnextbuffersCSSStyleDeclarationidObject.entriesbannertddpackage managerrobustsinatraArray.prototype.findLastIndexcss-in-jsastclioptimizer
1.0.0

14 days ago