Semantic versioning is back! In C form!

npm install semver-c
4 downloads in the last week
8 downloads in the last month


Semantic versioning is back! In C form!


What do you do when you want semver but you don't have node installed? Write it in C, of course! HA HA.

There's a library buried underneath the command-line program and it should be easy enough to integrate into another application. I haven't really tested this theory though so you're sort of on your own there.


➜  semver-c git:(master) semver-c -h
semver-c 0.0.0

A C implementation of the specification
Copyright Conrad Pankoff <>

This is a very rough clone of node-semver - please see for what that is.

Usage: semver-c [options] <version> [<version> [...]]
Prints valid versions sorted by SemVer precedence

  Prints out the version number.

  This is the help. You're looking at it.

-r <range>
  Print versions that match the specified range.

  Print versions in reverse order.

Program exits successfully if any valid version satisfies all
supplied ranges, and prints all satisfying versions.

If no satisfying versions are found, then exits failure.

Versions are printed in order, so supplying multiple versions
to the utility will just sort them.


3-clause BSD. A copy is included with the source.


npm loves you