Hello Praveen,

It seems npm2deb does this already.
I tested the concerned package and it uses github tags not npm registry.

The question mark (?) before v in the matching regex allows the v to appear
0 or 1 times
.*/v?(\d\S+)\.tar\.gz

So I think that should cover tags with or without the v prefix.
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to