node-semver
node-semver copied to clipboard
[FEATURE] Function to 'coerce' an identifier
What / Why
I think it would be nice to have a similar function like coerce()
for identifiers only.
Let's say there is a way for the user to check validity of an identifier (#350), what to do then?
No idea where to start though. Extend coerce()
somehow? Or create its own function? How to name it?
References
- Related to #349
- Related to #350