mafintosh/level-dat — pull request #2 by finnp (2014-12-05 14:22:46+00:00)
Title: Allow version key to be a string

Right now if you import a csv with version key into dat, you get `Error: pack(n) must be called with a number`.

I added some logic here that tries to parse every version as a number. If this fails the version is set to `1`. Not sure if that's the best idea or whether it should also throw an error if the version is not parseable.