7.11.108 • Published 11 months ago

@devtea2026/provident-quasi-voluptatum-facere v7.11.108

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

@devtea2026/provident-quasi-voluptatum-facere

Exports a method which fetches the children keys of a Firebase Admin Database Reference via the REST API.

API Reference

The default export is a method with the following signature:

(ref[, options]) => string[]

Arguments

ref is a Firebase Admin Database Reference.

options is an optional object containing the following configuration options:

  • maxRetries - The maximum number of times to try to fetch the keys, in case of transient errors (defaults to 1).
  • retryInterval - The number of milliseconds to delay between retries (defaults to 1000).
  • agent - The HTTP(S) agent to use when requesting data (defaults to none).

Return Value

An array of strings representing the children keys of the provided Firebase Admin Database Reference. If the provided reference has no children, the return value will be an empty array.

Example Usage

const admin = require('firebase-admin');
const firebaseChildrenKeys = require('@devtea2026/provident-quasi-voluptatum-facere');

admin.initializeApp(
  // ...
);

const db = admin.database();
const fooRef = db.ref('foo');

// Fetch all children keys of fooRef.
firebaseChildrenKeys(fooRef)
  .then((keys) => {
    if (keys.length === 0) {
      console.log('No children keys found.');
    }

    keys.forEach((key) => {
      console.log('Found child key:', key);
    });
  })
  .catch((error) => {
    console.log('Failed to fetch children keys:', error);
  });

// Fetch all children keys of fooRef, with an optional configuration.
firebaseChildrenKeys(fooRef, {
  maxRetries: 5,
  retryInterval: 500,
})
  .then((keys) => {
    if (keys.length === 0) {
      console.log('No children keys found.');
    }

    keys.forEach((key) => {
      console.log('Found child key:', key);
    });
  })
  .catch((error) => {
    console.log('Failed to fetch children keys:', error);
  });
ansiArrayBufferbusyassertsguidstylesless cssimmermetadataclassnamesloggerthrottlefile systemiterationenumerableieescoreprivatesetImmediatees6WebSocketwordwraparthandlersrecursivequeryeast-asian-width$.extendlintentriescore-jsglobalscreatermglob256iterateprotoclassesdropbuffereveryarraypasswordtypesaccessorindicatormergemocharemovesuperstructdata0qssequenceerror-handlinges8styled-componentsbyteLengthArray.prototype.findLastIndexreact-hook-formjavascriptkinesismonorepotaskperformantarktypeRegExp#flagslistenersparsingupbootstrap less__proto__globalargparsehelpersCSSStyleDeclarationinstallerpicomatchvariables in csssortwafbeanstalknested cssFunction.prototype.namestructuredClonetddsearchspeedbyteutil.inspectECMAScript 3promisesvariablesstringavatelephoneemitarrayscallStyleSheetspinnergetPrototypeOfcss lesseslintpluginenvmoveslicesnscssvestObservablesdeepUint16ArrayeventEmitterfind-uplimitedpathcryptUint32ArrayutilreadablestreamgroupByidflagsigtermchannelfetchphoneajvmkdirpgetjsonpathebswalkcmdtouchmomentclass-validatorbreakPushcjkrmdirawesomesaucedefineexeTypeScriptajaxiamdefaultCSScontainsexecutablelockfileparseauthawsgettercollection.es6cryptofinduphttpsStreamsefficientsigintwhatwgrestfulroutermiddlewareconfigurableArray.prototype.flattenArray.prototype.filtertestingObject.getPrototypeOfpropertiesquoteRegExp.prototype.flagslesscsscompilerprototypeapiArray.prototype.containswindows-0getopteventsbannerform-validationloggingrangeerrorcloudtrailtaptestnodejsqueueuuidtoArrayfileconfigdependenciesforEachWebSocketsbddfunctionsyntaxes2016ReactiveXformatlinkMapcommand-linewalkingES5setURLcallbackfast-deep-copyhardlinksdataViewfsaccessibilitypushFloat64Arraynodewatcherfull-widthArray.prototype.flattimeincludesstylingasynccommanderopenerelectronMicrosoftUnderscorekoreanutilityvarsdatecomputed-typesextensioncodesfastifyfindLastIndexYAMLautoscalingredux-toolkitfunctionaljQueryES2017asciireact-testing-libraryTypeBoxjssameValueZerotermglacierdirstoragegatewayfolderjsxnegative zeroworkerreduxhasurlcss-in-jscall-bindirqHyBifast-clonejapaneseReflect.getPrototypeOfelbECMAScript 2021eventDispatcherReactiveExtensionssinatraemojilaunchrm -fr[[Prototype]]validformattingstreams2Uint8ArraylimitjshintBigUint64Arrayes2017dom-testing-librarycompile lesshashflattenbuffersexecArrayxdg-openlinewrapreact-hooksObject.definePropertyvalidationless.jstypedependency managerhigher-ordercolumnPromisefullwidthreplayRxdefinePropertyECMAScript 2020streamhasOwnPropertylibphonenumberkeysquerystringcopytc39identifiersroute53ECMAScript 7simpledbsymbolsFloat32ArraybrowserslistoptimizerWeakSettrimRightfast-copyTypedArrayArrayBuffer#sliceInt8Arrayviewbluebird_.extendtyped arrayObject.keysfrommimetypestslibcallboundenvironmentsxhrpipeserializerxtermECMAScript 5streamsRFC-6455queueMicrotaskreducerInt32Arraysymlinkes-shimsinterruptspropertyenderstarterpatchmake dircoercibletakerateurlsES2021mimexdgrdsinimmutableconcatMapWeakMapsymbolpackageinspectregular expressionscloudfrontvalidateopenspositivestatuscallbindhooksnpmdescriptionjasmineshebangserializedeterministicdirectoryjsonspecArray.prototype.findLastprivate datatextoperating-systemkeystdlibcachecensorwraptoStringTagcollectionsesweaksetsharedJSON-Schemabatchfluxexpressionregexrobustes-abstractjesttrimLeftInt16ArrayplugindynamodbdebuggerfastcopycolumnspostcssESextend
7.11.108

11 months ago

6.11.108

11 months ago

6.11.107

11 months ago

6.11.106

11 months ago

6.11.105

11 months ago

6.11.104

11 months ago

6.11.103

11 months ago

6.11.102

11 months ago

5.9.86

12 months ago

5.9.87

11 months ago

5.9.88

11 months ago

5.9.89

11 months ago

5.9.82

12 months ago

3.2.28

1 year ago

5.9.83

12 months ago

5.9.84

12 months ago

5.9.85

12 months ago

3.2.29

1 year ago

5.9.80

12 months ago

5.9.81

12 months ago

3.4.44

1 year ago

3.4.45

1 year ago

5.7.69

12 months ago

5.7.68

1 year ago

3.2.35

1 year ago

3.2.34

1 year ago

3.2.37

1 year ago

5.9.78

12 months ago

5.4.60

1 year ago

3.2.36

1 year ago

3.2.39

1 year ago

3.2.38

1 year ago

3.2.31

1 year ago

3.2.30

1 year ago

3.2.33

1 year ago

3.2.32

1 year ago

5.9.79

12 months ago

4.4.47

1 year ago

4.4.46

1 year ago

4.4.45

1 year ago

5.4.58

1 year ago

5.4.59

1 year ago

4.4.49

1 year ago

5.4.57

1 year ago

4.4.48

1 year ago

6.11.101

11 months ago

5.6.64

1 year ago

5.6.63

1 year ago

6.11.100

11 months ago

5.6.66

1 year ago

5.6.65

1 year ago

5.6.68

1 year ago

5.6.67

1 year ago

5.8.74

12 months ago

5.8.75

12 months ago

5.8.76

12 months ago

5.8.77

12 months ago

5.8.72

12 months ago

5.8.73

12 months ago

6.10.100

11 months ago

2.2.18

1 year ago

6.9.99

11 months ago

6.9.98

11 months ago

6.9.97

11 months ago

5.8.78

12 months ago

6.9.96

11 months ago

6.9.95

11 months ago

6.9.94

11 months ago

4.4.50

1 year ago

3.3.42

1 year ago

3.3.43

1 year ago

3.3.44

1 year ago

2.2.19

1 year ago

4.4.54

1 year ago

2.2.28

1 year ago

4.4.53

1 year ago

4.4.52

1 year ago

2.2.26

1 year ago

6.9.100

11 months ago

4.4.51

1 year ago

2.2.27

1 year ago

2.2.24

1 year ago

4.4.57

1 year ago

2.2.25

1 year ago

4.4.56

1 year ago

2.2.22

1 year ago

4.4.55

1 year ago

2.2.23

1 year ago

2.2.20

1 year ago

2.2.21

1 year ago

5.5.62

1 year ago

5.5.63

1 year ago

5.5.60

1 year ago

5.5.61

1 year ago

3.2.40

1 year ago

3.2.42

1 year ago

3.2.41

1 year ago

5.9.93

11 months ago

5.7.70

12 months ago

5.9.94

11 months ago

5.7.72

12 months ago

5.7.71

12 months ago

5.9.90

11 months ago

5.9.91

11 months ago

5.9.92

11 months ago

2.2.17

1 year ago

2.2.16

1 year ago

2.2.15

1 year ago

2.1.14

1 year ago

2.1.15

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.6

1 year ago

2.1.5

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago