a resource access layer for nodejs