This is currently listed as a TODO for libyear.
Right now we're running a node subprocess and reading from the stdout. This isn't ideal, in particular we're unable to get both json output, and validation information, so we're unable to take advantage of libyear configuration to specify under what conditions the action should fail etc...