# drop-extnames

> Drops all extnames from file path.

Latest version **1.0.3** (published 2017-10-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install drop-extnames
pnpm add drop-extnames
yarn add drop-extnames
bun add drop-extnames
```

## 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.3 |
| Published | 2017-10-13 |
| First published | 2017-10-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Tigran Atayan |
| Maintainers | t10ko |
| Keywords | drop, delete, complete, extnames, extname, extensions, extension, path |

## Links

- npm: https://www.npmjs.com/package/drop-extnames
- Repository: https://github.com/t10ko/drop-extnames
- Issues: https://github.com/t10ko/drop-extnames/issues
- npm.io page: https://npm.io/package/drop-extnames

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.0.3 (latest) — 2017-10-13

## README

# drop-extnames

Because I needed to drop all extnames from path too many times.

## Install

```bash
npm install --save drop-extnames
```

## API

### `dropExts(path)`

_path_: `String` (file path)
Return: `String`

*Example*:

```js
let dropExts = require('drop-extnames');

dropExts('anywhere/something.tar.gz');  //  = 'anywhere/something'
dropExts('something.tar.gz');           //  = 'something'
```

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