Using the semver NPM package
https://docs.npmjs.com/misc/semver
is there a way to convert a package version like so ^4.2.3
, to one that is without the ^
? I just need to do string manipulation to remove any preceding characters that are not numbers, I suppose.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…