Spearfisher
Spearfisher

Reputation: 8773

use NodeJs Buffer class from client side

I am using nodejs Buffer class (http://nodejs.org/api/buffer.html) to parse some raw data and make use a lot of all its methods. However I'd like to use it on the client side as I don't need a server for what I am doing (mostly parsing the data).

Is there a simple way to access all the methods from the Buffer class on the client side?

Many thanks

Upvotes: 2

Views: 3118

Answers (1)

mscdex
mscdex

Reputation: 106698

browserify contains a Buffer implementation for the browser, among other node core modules.

Upvotes: 6

Related Questions