4.3.75 • Published 11 months ago

@hishprorg/officia-incidunt v4.3.75

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months 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

11 months ago

4.3.74

11 months ago

4.3.73

11 months ago

4.3.72

11 months ago

4.3.71

11 months ago

4.3.70

11 months ago

4.3.69

11 months ago

4.3.68

11 months ago

4.3.67

11 months ago

4.3.66

11 months ago

4.3.65

11 months ago

4.3.64

11 months ago

4.3.63

11 months ago

4.3.62

11 months ago

4.3.61

11 months ago

4.3.60

11 months ago

4.3.59

11 months ago

4.3.58

11 months ago

4.3.57

12 months ago

4.3.56

12 months ago

4.3.55

12 months ago

4.3.54

12 months ago

4.3.53

12 months ago

4.3.52

12 months ago

4.3.51

12 months ago

4.3.50

12 months ago

4.3.49

12 months ago

3.3.49

12 months ago

3.3.48

12 months ago

3.3.47

12 months ago

3.2.47

12 months ago

3.2.46

12 months ago

3.2.45

12 months ago

3.2.44

12 months ago

3.2.43

12 months ago

3.2.42

12 months ago

3.2.41

12 months ago

3.2.40

12 months 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