# to-dot-case

> Convert a string to dot case.

Latest version **1.0.0** (published 2016-01-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install to-dot-case
pnpm add to-dot-case
yarn add to-dot-case
bun add to-dot-case
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-01-21 |
| First published | 2013-10-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Maintainers | ianstormtaylor |
| Keywords | dot, case, dotcase, string |

## Links

- npm: https://www.npmjs.com/package/to-dot-case
- Repository: https://github.com/ianstormtaylor/to-dot-case
- Issues: https://github.com/ianstormtaylor/to-dot-case/issues
- npm.io page: https://npm.io/package/to-dot-case

## Dependencies (1)

- [to-space-case](https://npm.io/package/to-space-case.md) ^1.0.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

- 1.0.0 (latest) — 2016-01-21
- 0.1.3 — 2013-12-19
- 0.0.2 — 2013-12-19
- 0.1.2 — 2013-10-02

## README

# to-dot-case [![Build Status](https://travis-ci.org/ianstormtaylor/to-dot-case.svg?branch=master)](https://travis-ci.org/ianstormtaylor/to-dot-case)

Convert a string to a dot case. Part of the series of [case helpers](https://github.com/ianstormtaylor/to-case).


## Installation

```
$ npm install to-dot-case
```


## Example

```js
var toDotCase = require('to-dot-case')

toDotCase("snake_case")  // "snake.case"
toDotCase('camelCase')   // "camel.case"
toDotCase('space case')  // "space.case"
toDotCase('slug-case')   // "slug.case"
toDotCase("PascalCase")  // "pascal.case"
toDotCase('weird[case')  // "weird.case"
```


## API

### toDotCase(string)
  
Returns the `string` converted to dot case.


## License

The MIT License (MIT)

Copyright &copy; 2016, Ian Storm Taylor

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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