mvn-artifact-download
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