4.3.75 • Published 1 year ago

@hishprorg/officia-incidunt v4.3.75

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@hishprorg/officia-incidunt

This packages lets you autoload your environment variables from your .env file, no code changes required.

Similar to dotenv, but with zero-dependencies and less verbose.

Easy as:

yarn add @hishprorg/officia-incidunt
node -r @hishprorg/officia-incidunt index.js # autoloads .env file

Features:

  • auto-detect of .env.<NODE_ENV> or .env file
  • support for custom .env filename with ENVK environment variable
  • support for variable expansiong
  • support for single quotes
  • support for double quotes
  • support for empty lines
  • support for multiline quoting with double quotes "SECRET=hello\nworld"
  • support for comments prefixing the line with #

You can see what's happening inspecting index.js.

Nothing more, nothing less.

Usage

Load envs from .env:

node -r @hishprorg/officia-incidunt index.js

Load envs from .env.production file, otherwise .env:

NODE_ENV=production node -r @hishprorg/officia-incidunt index.js

Load envs from specific file:

ENVK=file.env node -r @hishprorg/officia-incidunt index.js

Log to console imported variables:

ENVK_DEBUG=1 node -r @hishprorg/officia-incidunt index.js
less cssfromramdasetargumentoperating-systemwhatwgURLES2022awsstylesheetacornlanguageTypeScriptspeedes2016runtimeapolloIteratortypedarraysenvWebSocketsECMAScript 2022propertiesmanagerstylesawesomesaucedom-testing-libraryES3user-streamsglobal this valuekeyscharacterserializationPushECMAScript 2016ESUint16Arrayes7assignexpressparseless.jssymlinkscorebuffersreducerInt8Arraycss nestingES2018ECMAScript 2015binhelpers0Promiseformatajvlocationaccessorrulesregular expressiontypeofsuperagentunicodeparsermkdirtc39querystringpreprocessorwgettrimStarttypesformsdeep-cloneString.prototype.trimanimationFunction.prototype.namequeueArray.prototype.findLastrecursivebusyflatsuperstruct.gitignorespinnerreduxjapaneseregular-expressioncurlformattingidentifierslinuxes-abstractgroupemitaccessibilityarraybufferextratostringtag[[Prototype]]package managergetoptdescriptorjavascriptflattentranspilerbabel-coreback-endsyntaxfast-deep-copyquerynamedeep-copyconcatmockingprunecolorInt32ArrayspecvestWeakMapYAMLdatepnpm9ECMAScriptajaxairbnbfullwidthes2017snsfindLastIndexbinarygradients cssworkerzodvisuallazyreduceoutputopenssljsdynamodbflatMapconsolecallbindelb_.extendhelperdeepeast-asian-widthinferencesymbolsterminalchromiumhardlinksmake dirES7matchnodejslinkhooksqueueMicrotaskbundlingdirectoryformES2015multi-packageendpointvalueredux-toolkithas-ownjson-schema-validatorhigher-ordercensorchromeoptionsyntaxerrorimmerRxconfigurablefnmatchshimbyteOffsetintrinsicsigintreal-timehandlerstoolsnested csspathletenumerablea11ywhichroute53toolkitreplaypoint-freedatastructurejsonesutilityECMAScript 2020checktypedvaluesjwtES2016loggerArray.prototype.filterminimalpostcss-pluginserializerdotenvTypeBoxlockfilelibphonenumberchaiStreamsreact-componentcss-in-jsreact-hook-formCSSStyleDeclarationwritablestatusES2017l10ni18nclassnamereact-testing-librarydataviewArray.prototype.findLastIndexisConcatSpreadablegetintrinsichasOwnslotbcryptObservableschinesenopeextendsortedgetPrototypeOfsortpromisecallinstallESnextobjectWebSocketdirendermapreducetslibpureutil.inspectbrowsereslint-pluginstreamenvironmentasterisksieeffect-tsSymbol.toStringTagschemaES8estreees8creatergbuploadcloudtrailsesargsRegExp.prototype.flagsefficientoptimizerglacierstyleguidejsdiffmruhandlerhasOwnPropertyReflect.getPrototypeOfbrowserlistbrowserslistcryptobinariesescapeflagjestwaapiECMAScript 5arktypeirqlastjsonschemaoffsetwaitvalidzeroloadbalancingerror-handlingequalschemeprotobufform-validationmetadataECMAScript 2019entriespolyfillreadmomentArrayBufferfastifyimportpreserve-symlinksmergeArrayBuffer.prototype.slicefilebindauthdependenciesroutingfast-copypredictableinternaldiffhashiamjsdomgradients css3ansicloudfrontstatelesstesterpostcssECMAScript 2017assertsinternal slotfilterES2020callbackzxlesscssuninstallhttpsvarsio-tsautoscalingexit-codepinoregularscheme-validationserializeeventEmittersettercurriedeventDispatcherargvinterruptswafwriteobjdependency managerRFC-6455beanstalkexitgetOwnPropertyDescriptorcopyincludess3windowdatatelephoneES5ec2groupBytsECMAScript 2018deterministicdomwalknpmignorerouteconfigyamlcollection.es6SymbolstreamsrandomtrimRightreusesignedSetArray.prototype.containscircularapisafecloudformationless compilersequencevalidatesignalerrorshellcall-bindbootstrap lesslengthprotocol-bufferselasticachevarredacttypetrimrangeerrorstarterexecutevariablessomelruutilstimeforkyupvalidatortty256global objectsqspluginBigUint64Arrayebswindowsmapcompile lesscoerciblefastclonefantasy-landES2021idleharmonyserverfunctionalshrinkwrapInt16ArraypersistentkinesisstringifystringifierbabelresolvejoisetImmediateviewArray.prototype.flatMaptouchgdprecmascriptBigInt64Arrayfront-endtranspilesigtermES6typed arrayregexgetterhttpsharedagentlessownSystem.globalshebangmacoselmcomparestatenodepropertysharedarraybufferJSONhotsymbolvalidationMicrosoftslicefast-clonecss variablewidthphonegestureslogsameValueZerordssetPrototypeOfpipestylecollectiontrimEndprototypechannelarrayworkspace:*String.prototype.matchAlltestmonorepotransportloadinges-shimsCSSObject.assignfpautoprefixerObservableiterate
4.3.75

1 year ago

4.3.74

1 year ago

4.3.73

1 year ago

4.3.72

1 year ago

4.3.71

1 year ago

4.3.70

1 year ago

4.3.69

1 year ago

4.3.68

1 year ago

4.3.67

1 year ago

4.3.66

1 year ago

4.3.65

1 year ago

4.3.64

1 year ago

4.3.63

1 year ago

4.3.62

1 year ago

4.3.61

1 year ago

4.3.60

1 year ago

4.3.59

1 year ago

4.3.58

1 year ago

4.3.57

1 year ago

4.3.56

1 year ago

4.3.55

1 year ago

4.3.54

1 year ago

4.3.53

1 year ago

4.3.52

1 year ago

4.3.51

1 year ago

4.3.50

1 year ago

4.3.49

1 year ago

3.3.49

1 year ago

3.3.48

1 year ago

3.3.47

1 year ago

3.2.47

1 year ago

3.2.46

1 year ago

3.2.45

1 year ago

3.2.44

1 year ago

3.2.43

1 year ago

3.2.42

1 year ago

3.2.41

1 year ago

3.2.40

1 year ago

3.2.39

1 year ago

3.1.39

1 year ago

3.1.38

1 year ago

3.1.37

1 year ago

3.1.36

1 year ago

3.0.36

1 year ago

3.0.35

1 year ago

3.0.34

1 year ago

3.0.33

1 year ago

3.0.32

1 year ago

3.0.31

1 year ago

3.0.30

1 year ago

3.0.29

1 year ago

2.0.29

1 year ago

2.0.28

1 year ago

2.0.27

1 year ago

2.0.26

1 year ago

2.0.25

1 year ago

2.0.24

1 year ago

2.0.23

1 year ago

1.0.23

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago