We use S2 extensively in our infrastructure, and open-sourced our Node.js TypeScript bindings for Google's reference C++ lib: https://github.com/radarlabs/s2. (More context about how and why here: https://radar.com/blog/open-source-node-js-typescript-s2-lib...)