# mavencc

> A simple maven central client.

Latest version **0.4.3** (published 2019-03-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install mavencc
pnpm add mavencc
yarn add mavencc
bun add mavencc
```

## 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.4.3 |
| Published | 2019-03-07 |
| First published | 2017-03-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 8.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Helio Frota |
| Maintainers | helio-frota |
| Keywords | maven, client |

## Links

- npm: https://www.npmjs.com/package/mavencc
- Repository: https://github.com/panther-js/mavencc
- Homepage: https://github.com/panther-js/mavencc#readme
- Issues: https://github.com/panther-js/mavencc/issues
- npm.io page: https://npm.io/package/mavencc

## Dependencies (1)

- [roi](https://npm.io/package/roi.md) ^0.18.0

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 0.4.3 (latest) — 2019-03-07
- 0.4.2 — 2019-03-07
- 0.4.1 — 2017-10-04
- 0.4.0 — 2017-04-25
- 0.3.0 — 2017-03-21
- 0.2.1 — 2017-03-18
- 0.2.0 — 2017-03-18
- 0.1.0 — 2017-03-18

## README

# mavencc

[![Build Status](https://travis-ci.org/panther-js/mavencc.svg?branch=master)](https://travis-ci.org/panther-js/mavencc)
[![dependencies Status](https://david-dm.org/panther-js/mavencc/status.svg)](https://david-dm.org/panther-js/mavencc)

[![NPM](https://nodei.co/npm/mavencc.png)](https://npmjs.org/package/mavencc)

A simple maven central client.

|                 | Project Info  |
| --------------- | ------------- |
| License:        | MIT |
| Build:          | npm |
| Engines:        | Node.js 4.x, 6.x, 8.x |

## Installation

```bash
npm install mavencc -S
```

## Usage

```javascript
const mavencc = require('mavencc');

mavencc.basicArtifactSearch('wildfly-swarm', 5)
.then(console.log)
.catch(error => console.log(error));

mavencc.artifactSearch('wildfly-swarm', 5)
.then(console.log)
.catch(error => console.log(error));

mavencc.listVersions('org.wildfly.swarm', 'wildfly-swarm', 5)
.then(console.log)
.catch(error => console.log(error));

mavencc.artifactByClassname('junit', 5)
.then(console.log)
.catch(error => console.log(error));

mavencc.artifactByFullyClassname('org.specs.runner.JUnit', 5)
.then(console.log)
.catch(error => console.log(error));

mavencc.artifactBySHA1('35379fb6526fd019f331542b4e9ae2e566c57933', 5)
.then(console.log)
.catch(error => console.log(error));

mavencc.searchTags('sbtplugin', 5)
.then(console.log)
.catch(error => console.log(error));

mavencc.downloadArtifact('com/jolira/guice/3.0.0/guice-3.0.0.pom', '/tmp/guice.pom')
.then(console.log)
.catch(error => console.log(error));
```

## You can use to

* A basic artifact search.
* Search any artifactId irrespective of groupId
* List all versions of an artifact.
* Search for all artifacts in a groupId.

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