@feathersjs/commons
- Version 5.0.30
- Published
- 55.7 kB
- No dependencies
- MIT license
Install
npm i @feathersjs/commons
yarn add @feathersjs/commons
pnpm add @feathersjs/commons
Overview
Shared Feathers utility functions
Index
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.
Badge
To add a badge like this oneto 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>
- Updated .
Package analyzed in 3152 ms. - Missing or incorrect documentation? Open an issue for this package.