From afa6e8f8d35447a0708f93d8d954911c67982617 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 6 Feb 2014 21:55:25 -0800 Subject: [PATCH] readme fixes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1eb01b3..2d93cb3 100644 --- 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. -- 2.34.1