# uppercamelcase

> Convert a dash/dot/underscore/space separated string to UpperCamelCase

Latest version **3.0.0** (published 2017-04-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install uppercamelcase
pnpm add uppercamelcase
yarn add uppercamelcase
bun add uppercamelcase
```

## Health

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

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2017-04-24 |
| First published | 2015-04-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/uppercamelcase) |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 81 |
| Author | Sam Verschueren |
| Maintainers | samverschueren |
| Keywords | camelcase, uppercamelcase, upper, camel, case |

## Links

- npm: https://www.npmjs.com/package/uppercamelcase
- Repository: https://github.com/samverschueren/uppercamelcase
- Homepage: https://github.com/samverschueren/uppercamelcase#readme
- Issues: https://github.com/samverschueren/uppercamelcase/issues
- npm.io page: https://npm.io/package/uppercamelcase

## Dependencies (1)

- [camelcase](https://npm.io/package/camelcase.md) ^4.1.0

## 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

- 3.0.0 (latest) — 2017-04-24
- 2.0.0 — 2017-04-23
- 1.1.0 — 2015-11-12
- 1.0.0 — 2015-04-17

## README

# UpperCamelCase [![Build Status](https://travis-ci.org/SamVerschueren/uppercamelcase.svg?branch=master)](https://travis-ci.org/SamVerschueren/uppercamelcase)

> Convert a dash/dot/underscore/space separated string to UpperCamelCase: `foo-bar` → `FooBar`


## Install

```sh
$ npm install --save uppercamelcase
```


## Usage

```js
const upperCamelCase = require('uppercamelcase');

upperCamelCase('foo-bar');
//=> FooBar

upperCamelCase('foo_bar');
//=> FooBar

upperCamelCase('Foo-Bar');
//=> FooBar

upperCamelCase('--foo.bar');
//=> FooBar

upperCamelCase('__foo__bar__');
//=> FooBar

upperCamelCase('foo bar');
//=> FooBar

console.log(process.argv[3]);
//=> --foo-bar
upperCamelCase(process.argv[3]);
//=> FooBar

upperCamelCase('foo', 'bar');
//=> 'FooBar'

upperCamelCase('__foo__', '--bar');
//=> 'FooBar'
```


## Related

- [`camelcase`](https://github.com/sindresorhus/camelcase) - The lowerCamelCase variant


## License

MIT © Sam Verschueren

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