making this a node module as well