Add resource helper for node apis lib