string-convert

WebJar for string-convert

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

string-convert
Last Version

Last Version

0.2.1
Release Date

Release Date

Type

Type

jar
Description

Description

string-convert
WebJar for string-convert
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/akiran/string-convert

Download string-convert

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/string-convert/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>string-convert</artifactId>
    <version>0.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/string-convert/
implementation 'org.webjars.npm:string-convert:0.2.1'
// https://jarcasting.com/artifacts/org.webjars.npm/string-convert/
implementation ("org.webjars.npm:string-convert:0.2.1")
'org.webjars.npm:string-convert:jar:0.2.1'
<dependency org="org.webjars.npm" name="string-convert" rev="0.2.1">
  <artifact name="string-convert" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='string-convert', version='0.2.1')
)
libraryDependencies += "org.webjars.npm" % "string-convert" % "0.2.1"
[org.webjars.npm/string-convert "0.2.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.

string-convert

Set of string conversion functions

Installation

npm install string-convert --save

Methods

hyphen2camel

Converts hyphenated string to camelcase string

Example:

var hyphen2camel = require('string-convert/hyphen2camel');
hyphen2camel('min-width'); // minWidth
hyphen2camel('-moz-transition'); // MozTransition

camel2hyphen

Converts camel case string to hyphenated string

Example:

var camel2hyphen = require('string-convert/camel2hyphen');
camel2hyphen('minWidth');  // min-width
camel2hyphen('MozTransition'); //-moz-transition 

Versions

Version
0.2.1