@mahisoft/mvn-artifact-downloader
TypeScript icon, indicating that this package has built-in type declarations

4.0.1 • Public • Published

mvn-artifact-download

travis npm

Install

$ npm install --save mvn-artifact-download

Usage

import download from 'mvn-artifact-download';

download('org.apache.commons:commons-lang3:3.4')
// Promise that resolves to destination filename

download('org.apache.commons:commons-lang3:3.4', '/path/to/destination/dir')
// Promise that resolves to destination filename

download('org.apache.commons:commons-lang3:3.4', null, 'http://alternative.repo')
// Promise that resolves to destination filename

API

download(artifactName, [destinationFolder], [repository])

Downloads an artifact from the repository

artifactName

Type: string

destinationFolder

Type: string Default: process.cwd()

repository

Type: string

License

MIT © Sigurd Fosseng

Readme

Keywords

Package Sidebar

Install

npm i @mahisoft/mvn-artifact-downloader

Weekly Downloads

0

Version

4.0.1

License

MIT

Unpacked Size

4.72 kB

Total Files

4

Last publish

Collaborators

  • shernandez
  • aelkareh