From 3ffe2bbb859eff295857f8ac3e3bd7e3c460cf32 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Sat, 5 Apr 2014 11:46:24 -0700 Subject: [PATCH] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fe7d8bf..4074eff 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,11 @@ supported methods. If you want to use this module directly without browserify, install it: -``` +```bash npm install buffer ``` + ## usage As mentioned before, when you `require('buffer')` or use the `Buffer` global in [browserify](http://github.com/substack/node-browserify), this module will automatically @@ -42,7 +43,7 @@ be included in your bundle so you get a `Buffer` API that actually works in the If you're depending on this module explicitly, then require it like this: -``` +```js var Buffer = require('buffer/').Buffer // use the npm module, not the core module! ``` -- 2.34.1