abbrev

WebJar for abbrev

License

License

ISC
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

abbrev
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

abbrev
WebJar for abbrev
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/isaacs/abbrev-js

Download abbrev

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/abbrev/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>abbrev</artifactId>
    <version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/abbrev/
implementation 'org.webjars.npm:abbrev:1.1.1'
// https://jarcasting.com/artifacts/org.webjars.npm/abbrev/
implementation ("org.webjars.npm:abbrev:1.1.1")
'org.webjars.npm:abbrev:jar:1.1.1'
<dependency org="org.webjars.npm" name="abbrev" rev="1.1.1">
  <artifact name="abbrev" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='abbrev', version='1.1.1')
)
libraryDependencies += "org.webjars.npm" % "abbrev" % "1.1.1"
[org.webjars.npm/abbrev "1.1.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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.

Versions

Version
1.1.1
1.1.0
1.0.9
1.0.7
1.0.6
1.0.5