lib for nodejs and private