prepare as node module