Thrift client for browser
npm install browser-thriftPatched version of Apache Thrift Node.js library to work with Webpack / Browserify.
require('thrift') with require('browser-thrift') in the thrift generated files. You may use sed for that:sh
for f in /*; do
sed -i '' -e "s/'thrift'/'browser-thrift'/" "$f"
done
``