version=4
opts=\
dversionmangle=auto,\
repacksuffix=+ds1,\
filenamemangle=s%.*/@ANY_VERSION@%@PACKAGE@-$1.tar.gz%,\
downloadurlmangle=s%api.github.com/repos/([^/]+/[^/]+)/git/refs/tags/@ANY_VERSION@%github.com/$1/archive/refs/tags/$2.tar.gz%g,\
searchmode=plain \
https://api.github.com/repos/isaacs/node-tar/git/matching-refs/tags/ \
https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/@ANY_VERSION@ group

# It is not recommended use npmregistry. Please investigate more.
# Take a look at https://wiki.debian.org/debian/watch/
opts=\
searchmode=plain,\
component=types-tar,\
ctype=nodejs,\
pgpmode=none,\
filenamemangle=s/.*?(\d[\d\.-]*@ARCHIVE_EXT@)/node-types-tar-$1/ \
 https://registry.npmjs.org/@types/tar https://registry.npmjs.org/@types/tar/-/tar-@ANY_VERSION@@ARCHIVE_EXT@ checksum
