rigel-base
TypeScript icon, indicating that this package has built-in type declarations

0.0.18 • Public • Published

主要依赖

简单工具:

  • classNames: typeof classNames;
  • compose: (...funcs: Function[]) => Function;
  • executeSafe: (method: () => any, defaultValue?: any) => any;
  • format: (tplString: string, dataMap: Record<string, any>) => string;
  • getBrowserName: () => string;
  • getGuid: (operator: string | true) => string;
  • getNumberValue: (value: any, opts?: import("./getNumberValue").GetNumberValueOption) => number;
  • hashCode: (source: string) => number;
  • hashEncode: (source: string) => string;
  • isMatches: (handle: Function | RegExp | any[], params: any) => boolean;
  • observe: (object: any, keyName: string, callback: (prev: any, next: any) => void) => void;
  • parseParam: (query: string, options?: ParseOptions) => import("query-string").ParsedQuery;
  • parseUrl: (url: string, options?: ParseOptions) => import("query-string").ParsedUrl;
  • throwAsync: (error: string | Error) => void;
  • toParam: (queryParams: Record<string, any>, options?: import("./parseUrl").ParseOptions) => string;
  • toUrl: (url: string, queryParams: StringifiableRecord, options?: .ParseOptions) => string;
  • warning: (...messages: any[]) => void;

Readme

Keywords

none

Package Sidebar

Install

npm i rigel-base

Weekly Downloads

0

Version

0.0.18

License

ISC

Unpacked Size

206 kB

Total Files

35

Last publish

Collaborators

  • mycoin