npm module definition