transforming to node module