Displaying 1 to 20 from 55 results

emoj - Find relevant emoji from text on the command-line :open_mouth: :sparkles: :raised_hands: :horse: :boom: :see_no_evil:

  •    Javascript

Uses the API from this great article on Emoji & Deep Learning. Check out the Dango app if you want something like this on your phone.Works best on macOS. Terminals on Linux render emojis in monochrome as they don't support color emojis. On Linux, I would recommend installing Emoji One for full emoji coverage. Doesn't really work on Windows.

matches.js - Powerful pattern matching for Javascript

  •    Javascript

Matches.js brings the power and expressiveness of pattern matching to Javascript. Check for specific values using number or string literals, null, or undefined.

sparkler - Native pattern matching for JavaScript

  •    Javascript

Sparkler is a pattern matching engine for JavaScript built using sweet.js macros, so it looks and feels like native syntax. It has no runtime dependencies and compiles down to simple ifs and fors. Sparkler overloads the function keyword as a macro (don't worry, all your old functions will still work) but implements a slightly different syntax. There's no argument list after the name or function keyword. Instead the function body is just a set of ES6 style arrow-lambdas separated by commas.




url-pattern - easier than regex string matching patterns for urls and other strings

  •    CoffeeScript

easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.a pattern is immutable after construction. none of its methods changes its state. that makes it easier to reason about.

matcher - Simple wildcard matching

  •    Javascript

Useful when you want to accept loose string input and regexes/globs are too convoluted.Accepts an array of input's and pattern's.


allot - Parse placeholder and wildcard text commands

  •    Go

allot is a small Golang library to match and parse commands with pre-defined strings. For example use allot to define a list of commands your CLI application or Slackbot supports and check if incoming requests are matching your commands.The allot library supports placeholders and regular expressions for parameter matching and parsing.

murl - murl is url pattern matching and replacing

  •    Javascript

Per default the {} groups matches until the next character or /.Per default murl will disregard trailing / from the input string. Pass {strict:true} to disable this.

phase-align - Aligns a pair of ndarrays up to translation

  •    Javascript

Aligns two ndarrays up to a translation such that the sum of squared differences between them is minimized. This can be used as a quick preprocess for other more detailed alignment algorithms.