Natively Pronounced Mandarin

    @nio/topic-matcher

    1.2.0 • Public • Published

    Installation

    $ npm install @nio/topic-matcher

    Usage

    import match from '@nio/topic-matcher';
    
    // match: (subTopic: string, pubTopic: string) => boolean;
    
    match('foo', 'foo'); // => true
    match('foo', 'bar'); // => false
    match('foo.*', 'foo.bar'); // => true
    match('foo.**', 'foo.bar.baz'); // => true

    Keywords

    none

    Install

    npm i @nio/topic-matcher

    DownloadsWeekly Downloads

    19

    Version

    1.2.0

    License

    ISC

    Last publish

    Collaborators

    • 32bitkid
    • mattdodge
    • deliciousmonster