@types/searchjs
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Installation

npm install --save @types/searchjs

Summary

This package contains type definitions for searchjs (https://github.com/deitch/searchjs).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/searchjs.

index.d.ts

export function setDefaults(options: {
    negator: boolean;
    joinAnd: string;
    text: boolean;
    word: boolean;
    start: boolean;
    end: boolean;
    separator: string;
    propertySearch: boolean;
    propertySearchDepth: number;
}): void;

export function resetDefaults(): void;

export function singleMatch(field: any, s: any, text: boolean, word: boolean, start: boolean, end: boolean): any;

export function matchArray(ary: any[], search: any): any;

export function matchObject(obj: any, search: any): any;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Melvin Mupondori.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/searchjs

      Weekly Downloads

      558

      Version

      1.0.2

      License

      MIT

      Unpacked Size

      3.58 kB

      Total Files

      5

      Last publish

      Collaborators

      • types