Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

abbrev

Package Overview
Dependencies
0
Maintainers
2
Versions
8
Issues
File Explorer

Advanced tools

abbrev

Like ruby's abbrev module, but in js

    1.1.1latest

Version published
Maintainers
2
Weekly downloads
15,850,905
decreased by-1%

Weekly downloads

Readme

Source

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.

FAQs

What is abbrev?

Like ruby's abbrev module, but in js

Is abbrev popular?

The npm package abbrev receives a total of 15,078,981 weekly downloads. As such, abbrev popularity was classified as popular.

Is abbrev well maintained?

We found that abbrev demonstrated a not healthy version release cadence and project activity. It has 2 open source maintainers collaborating on the project.

Last updated on 28 Sep 2017
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc