Closed cableray closed 3 years ago
I think I'm going to change it so that the formatter doesn't override the padding, and then extract the default formatter to a function to simplify...
I'd like to change the loop to a map, but that may be too much for this pr....
Still evaluating this, but at the very least it will need a version bump in package.json.
Still evaluating this, but at the very least it will need a version bump in package.json.
So, 0.1.0
? It's a non-breaking new feature, so minor bump? Given as it is currently at 0.0.1
, I didn't think it had been versioned before... Also, should I commit the auto reformatting of package.json
? (Looks like npm re-ordered some packages)
Yeah, 0.1.0 is fine. There's only 3 commits so far in this repo so far. The first one was just creating the repo from our template, the second was ver 0.0.1, and the third commit was just updating the make check
dependency, and no change in the behavior of the library.
And for the structure of package.json
, making the diff minimal is easier to read, but other than that I don't have a strong opinion about it.
Oops, changed the spacing in brackets... let me revert that...
In order to output various types easily, allow setting a custom separator, and allow providing a function to specify formatting.
Let me know what else is needed, please :)