register as node package