# duo-parse

> duo's dependency parser

Latest version **0.5.0** (published 2016-03-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install duo-parse
pnpm add duo-parse
yarn add duo-parse
bun add duo-parse
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.0 |
| Published | 2016-03-23 |
| First published | 2014-08-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Matthew Mueller |
| Maintainers | mattmueller, dominicbarnes, stephenmathieson |
| Keywords | duo, parse |

## Links

- npm: https://www.npmjs.com/package/duo-parse
- Repository: https://github.com/duojs/parse
- Issues: https://github.com/duojs/parse/issues
- npm.io page: https://npm.io/package/duo-parse

## Dependencies (1)

- [debug](https://npm.io/package/debug.md) ^2.2.0

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 0.5.0 (latest) — 2016-03-23
- 0.4.0 — 2015-07-10
- 0.3.0 — 2015-07-10
- 0.2.1 — 2015-07-10
- 0.2.0 — 2014-12-16
- 0.1.1 — 2014-09-04
- 0.1.0 — 2014-08-27
- 0.0.1 — 2014-08-27

## README

# duo-parse

[![npm package](https://img.shields.io/npm/v/duo-parse.svg)](https://www.npmjs.com/package/duo-parse)
[![travis build status](https://img.shields.io/travis/duojs/parse.svg)](https://travis-ci.org/duojs/parse)

> duo's dependency parser

## parse(slug)

```js
var obj = parse('component/tip@0.1.0:index.js');

obj.slug     // component/tip@0.1.0:index.js
obj.user     // component
obj.repo     // tip
obj.ref      // 0.1.0
obj.path     // index.js
obj.provider // github.com
```

This function comes memoized by default, so there is no need to
cache results externally.


## License

(The MIT License)

Copyright (c) 2014 Matthew Mueller &lt;mattmuelle@gmail.com&gt;

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/duo-parse · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
