0.4.3 • Published 5 years ago

mavencc v0.4.3

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

mavencc

Build Status dependencies Status

NPM

A simple maven central client.

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

Installation

npm install mavencc -S

Usage

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.
0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago