cwacekINV / browser-thrift

Patched version of Apache Thrift Node.js library to work with Webpack / Browserify.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

browser-thrift

Patched version of Apache Thrift Node.js library to work with Webpack / Browserify.

Usage

It is necessary to replace all require('thrift') with require('browser-thrift') in the thrift generated files. You may use sed for that:

for f in <gen_folder>/*; do
  sed -i '' -e \"s/'thrift'/'browser-thrift'/\" $f
done`

About

Patched version of Apache Thrift Node.js library to work with Webpack / Browserify.

License:Apache License 2.0


Languages

Language:JavaScript 100.0%