# webpack-key-parse

> simple function parse webpack key context string

Latest version **0.0.3** (published 2020-03-27) · 0 weekly downloads

## Install

```sh
npm install webpack-key-parse
pnpm add webpack-key-parse
yarn add webpack-key-parse
bun add webpack-key-parse
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2020-03-27 |
| First published | 2019-10-08 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 17.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | flynnlee123 |

## Links

- npm: https://www.npmjs.com/package/webpack-key-parse
- Repository: https://github.com/FlynnLeeGit/webpack-key-parse
- Issues: https://github.com/FlynnLeeGit/webpack-key-parse/issues
- npm.io page: https://npm.io/package/webpack-key-parse

## Recent versions

- 0.0.3 (latest) — 2020-03-27
- 0.0.2 — 2020-03-11
- 0.0.1 — 2019-10-08

## README

# webpack-key-parse

simple function parse webpack key context string

```js
import { parse } from "webpack-key-parse";


const key = './plugin/a/b.vue'

parse(key)
// {
//    ext:'.vue',
//    name: 'b',
//    base: 'b.vue',
//    dir： 'plugin/a',
//    entry: 'plugin/a/b'
//    dir_dash:'plugin-a',
//    entry_dash: 'plugin-a-b'
//  }

```

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