• Version 5.0.25
  • Published
  • 55.1 kB
  • No dependencies
  • MIT license


npm i @feathersjs/commons
yarn add @feathersjs/commons
pnpm add @feathersjs/commons


Shared Feathers utility functions



function createDebug

createDebug: (name: string) => (...args: any[]) => void;

    function createSymbol

    createSymbol: (name: string) => string | symbol;

      function isPromise

      isPromise: (result: any) => boolean;

        function noopDebug

        noopDebug: () => DebugFunction;

          function setDebug

          setDebug: (debug: DebugInitializer) => void;

            function stripSlashes

            stripSlashes: (name: string) => string;

              Type Aliases

              type DebugFunction

              type DebugFunction = (...args: any[]) => void;

                type DebugInitializer

                type DebugInitializer = (name: string) => DebugFunction;

                  type KeyValueCallback

                  type KeyValueCallback<T> = (value: any, key: string) => T;

                    Package Files (2)

                    Dependencies (0)

                    No dependencies.

                    Dev Dependencies (6)

                    Peer Dependencies (0)

                    No peer dependencies.


                    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@feathersjs/commons.

                    • Markdown
                    • HTML
                      <a href="https://www.jsdocs.io/package/@feathersjs/commons"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>