node lib for public