Skip to content

ktfth/node-matches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xMatcher

Description

Library of pattern matching based on pure types and symbols

Usage

[sudo] npm i -S xmatcher

Example

const matcher = require('xmatcher');

console.log(matcher.matches({ 'foo': 1, 'bar': 2, 'baz': 3, '_': 'Common value' }, 'bar'));
// [ 2 ]

Releases

No releases published

Packages

No packages published