@feathersjs/commons

  • Version 4.5.11
  • Published
  • 59.6 kB
  • No dependencies
  • MIT license

Install

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

Overview

Shared Feathers utility functions

Index

Variables

variable hooks

const hooks: typeof hookUtils;

    Functions

    function createSymbol

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

      function isPromise

      isPromise: (result: any) => boolean;

        function makeUrl

        makeUrl: (path: string, app?: any) => string;

          function stripSlashes

          stripSlashes: (name: string) => string;

            Type Aliases

            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.

              Badge

              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
                [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@feathersjs/commons)
              • 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>