nexus-repo

0.0.16 • Public • Published

nexus-repo

  • promise-based interaction with a nexus repository
  • in the early days there will be frequent updates
  • tested on Nexus Repository Manager OSS 2.14.9-01

Commands

  • list-repos
  • pom-model
  • retrieve-artifact
  • search-maven-central

Installation

Using npm:

 $ npm install nexus-repo --save

Usage

In Node.js:

var {nexusRepo} = require("nexus-repo")

nexusRepo({command:'search-maven-central', searchMavenCentral:'log4j'})

NOTE

  • you can place a file in your home directory called .nexusRepo.json where you can place common information and/or credentials. For example:
{
    "username" : "myusername",
    "password" : "mypassword",
    "repoUrl" : "http://mylocal.domain.com/nexus/",
    "verbose" : false
}

docs

How to publish

  • // after git committing
  • npm version patch
  • npm publish --access public

Readme

Keywords

Package Sidebar

Install

npm i nexus-repo

Weekly Downloads

0

Version

0.0.16

License

ISC

Unpacked Size

14.7 kB

Total Files

12

Last publish

Collaborators

  • javapda