| |||||
Works with client-side (browsers) and server-side (Node.js) environments.
Currently, Matches.js supports patterns for objects, literals, identifiers, types, wildcards, and arrays.
Requirements:
· JavaScript enabled on client side
Limitations:
· For advanced JavaScript developers only.
What's New in This Release: [ read full changelog ]
· Removed strict object comparison. It just wasn't useful, it was brittle, and it didn't make sense when combined with rest expressions. Object are now always non-strict.
· Added a couple more methods (extract and extractOne) for just doing destructuring rather than dispatch.
· Consolidated the source code into one file.

Via: Matches.js 0.5.0






0 Comment:
Post a Comment