]> zoso.dev Git - buffer.git/commitdiff
readme fixes
authorFeross Aboukhadijeh <feross@feross.org>
Fri, 7 Feb 2014 05:55:25 +0000 (21:55 -0800)
committerFeross Aboukhadijeh <feross@feross.org>
Fri, 7 Feb 2014 05:55:25 +0000 (21:55 -0800)
README.md

index 1eb01b3b2b27c11105c647f26bccae49ecbdf4d3..2d93cb3578a6dc6524a0daa6e0cbe42f3cd17b7e 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
 # buffer (native-buffer-browserify)
 [![Build Status](http://img.shields.io/travis/feross/buffer.svg)](https://travis-ci.org/feross/buffer)
 [![NPM Version](http://img.shields.io/npm/v/buffer.svg)](https://npmjs.org/package/buffer)
-[![NPM](http://img.shields.io/npm/dm/buffer.svg)](https://npmjs.org/package/buffer)
+[![NPM](http://img.shields.io/npm/dm/native-buffer-browserify.svg)](https://npmjs.org/package/buffer)
 [![Gittip](http://img.shields.io/gittip/feross.svg)](https://www.gittip.com/feross/)
 
 The buffer module from [node.js](http://nodejs.org/), for the browser.
@@ -34,7 +34,7 @@ npm install buffer
 ## usage
 
 ```
-var buffer = require('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.