ultisuite-backend/services/hocuspocus/node_modules/.pnpm/abbrev@1.1.1/node_modules/abbrev
R3D347HR4Y 3b387e7e4a
Some checks are pending
CI / Go tests (push) Waiting to run
CI / Integration tests (push) Waiting to run
CI / DB migrations (push) Waiting to run
hocuspocus lol
2026-06-09 14:29:58 +02:00
..
abbrev.js hocuspocus lol 2026-06-09 14:29:58 +02:00
LICENSE hocuspocus lol 2026-06-09 14:29:58 +02:00
package.json hocuspocus lol 2026-06-09 14:29:58 +02:00
README.md hocuspocus lol 2026-06-09 14:29:58 +02:00

abbrev-js

Just like ruby's Abbrev.

Usage:

var abbrev = require("abbrev");
abbrev("foo", "fool", "folding", "flop");

// returns:
{ fl: 'flop'
, flo: 'flop'
, flop: 'flop'
, fol: 'folding'
, fold: 'folding'
, foldi: 'folding'
, foldin: 'folding'
, folding: 'folding'
, foo: 'foo'
, fool: 'fool'
}

This is handy for command-line scripts, or other cases where you want to be able to accept shorthands.