# dot-parts

> Split a dot property into its parts

Latest version **1.0.1** (published 2015-07-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install dot-parts
pnpm add dot-parts
yarn add dot-parts
bun add dot-parts
```

## 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.1 |
| Published | 2015-07-14 |
| First published | 2015-07-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Ben Drucker |
| Maintainers | bendrucker |
| Keywords | dot, prop, identifier, part |

## Links

- npm: https://www.npmjs.com/package/dot-parts
- Repository: https://github.com/bendrucker/dot-parts
- Homepage: https://github.com/bendrucker/dot-parts#readme
- Issues: https://github.com/bendrucker/dot-parts/issues
- npm.io page: https://npm.io/package/dot-parts

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-07-14
- 1.0.0 — 2015-07-13

## README

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

> Split a dot property into its parts


## Install

```
$ npm install --save dot-parts
```


## Usage

```js
var dotParts = require('dot-parts')

// normal
dotParts('foo.bar.baz')
//=> ['foo', 'bar', 'baz']

// escaping with \\
dotParts('foo\\.bar', 'baz')
//=> ['foo.bar', 'baz']
```

## API

#### `dotParts(path)` -> `array[string]`

##### path

*Required*  
Type: `string`

A dot-delimeted path.


## License

MIT © [Ben Drucker](http://bendrucker.me)

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