From: Feross Aboukhadijeh Date: Fri, 7 Feb 2014 05:58:33 +0000 (-0800) Subject: readme X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=fb5fb9cd26b7303791bd339da758402e2ba35dd7;p=buffer.git readme --- diff --git a/README.md b/README.md index 2d93cb3..69edf87 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ npm install buffer ## usage ``` -var buffer = require('buffer/').Buffer // use the npm module, not the core module! +var Buffer = require('buffer/').Buffer // use the npm module, not the core module! ``` The goal is to provide a Buffer API that is 100% identical to node's Buffer API. Read the [official docs](http://nodejs.org/api/buffer.html) for a full list of supported methods.