DownloadNPMPackageOptions

Properties

Link copied to clipboard
abstract var cleanup: Boolean?

Remove old files before exporting.

Link copied to clipboard
abstract var fetch: Boolean?

Use HTTP requests instead of the npm command to get the version.

Link copied to clipboard
abstract var ifModifiedSince: dynamic

Download only if the version changed: a version string, true to check the version stored in the target directory, or the previous download result.

Link copied to clipboard
abstract var log: Boolean?

Log commands.

Link copied to clipboard
abstract var package: String

Package name.

Link copied to clipboard
abstract var tag: String?

Package tag.

Link copied to clipboard
abstract var target: String

Target directory.