rigel-base
v0.0.18
Published
rigel base utils.
Downloads
3
Readme
主要依赖
EventEmitter
依赖于 events@3 https://www.npmjs.com/package/eventsQueue
依赖于 queue@6 https://www.npmjs.com/package/queueMiddleware
参考来自:js-middleware
Deferred
简单工具:
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;