Platform and context agnostic authorization library for Node