This package has been deprecated

Author message:

Sambo has been renamed to sarnie. Please install the latest version of sarnie instead of sambo

sambo

0.0.2 • Public • Published

Build Status

sambo

Converts a list of strings into a compact, readable representation with delimiters of choice

sambo alba,albero,albergo,alberto
# => alb(a|er(go|o|to))

sambo aria:arianna : [ + ]
# => aria[+nna]

what?

In Irish slang, sambo is the abbreviation of sandwich. The name hints at the strings being sliced and interleaved with bread, the delimiters.

why?

Useful when you need to pass long lists of URL params

license

Copyright (c) 2016, Claudio Procida

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i sambo

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • claudiopro