# dash-2-camel

> A function to transform dash-style strings to camelCase ones

Latest version **0.1.0** (published 2015-08-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install dash-2-camel
pnpm add dash-2-camel
yarn add dash-2-camel
bun add dash-2-camel
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2015-08-24 |
| First published | 2015-08-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Roy Riojas |
| Maintainers | royriojas |
| Keywords | dash to camelCase, dasherize 2 camelCase, to camelCase |

## Links

- npm: https://www.npmjs.com/package/dash-2-camel
- Repository: https://github.com/royriojas/dash-2-camel
- Homepage: https://github.com/royriojas/dash-2-camel#readme
- Issues: https://github.com/royriojas/dash-2-camel/issues
- npm.io page: https://npm.io/package/dash-2-camel

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 0.1.0 (latest) — 2015-08-24
- 0.0.1 — 2015-08-24

## README

[![NPM Version](http://img.shields.io/npm/v/dash-2-camel.svg?style=flat)](https://npmjs.org/package/dash-2-camel)
[![Build Status](http://img.shields.io/travis/royriojas/dash-2-camel.svg?style=flat)](https://travis-ci.org/royriojas/dash-2-camel)

# dash-2-camel
A function to transform dash-style strings to camelCase ones

## Install

```bash
npm i --save dash-2-camel
```

## Usage

```javascript
describe( 'dash-2-camel', function () {
  it( 'should transform dash-style strings to camelCase ones', function () {
    var dash2Camel = require( 'dash-2-camel' );
    var str = 'dash-style-str';
    var expected = 'dashStyleStr';

    var actual = dash2Camel( str );
    expect( actual ).to.equal( expected )
  } );

  it( 'should ignore multiple dashes', function () {
    var dash2Camel = require( 'dash-2-camel' );
    var str = 'dash--style--str';
    var expected = 'dashStyleStr';

    var actual = dash2Camel( str );
    expect( actual ).to.equal( expected )
  } );
} );
```

## License

[MIT](./LICENSE)

## Changelog

[Changelog](./changelog.md)

---
_Source: https://npm.io/package/dash-2-camel · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
