Skip to content

Commit

Permalink
Update examples in README to standard codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed Mar 27, 2016
1 parent 6283459 commit 21da3fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# buffer-reverse

[![NPM](http://img.shields.io/npm/v/buffer-reverse.svg)](https://www.npmjs.org/package/buffer-reverse)
[![TRAVIS](https://secure.travis-ci.org/crypto-browserify/buffer-reverse.png)](http://travis-ci.org/crypto-browserify/buffer-reverse)
[![NPM Package](https://img.shields.io/npm/v/buffer-reverse.svg?style=flat-square)](https://www.npmjs.org/package/buffer-reverse)
[![Build Status](https://img.shields.io/travis/crypto-browserify/buffer-reverse.svg?branch=master&style=flat-square)](https://travis-ci.org/crypto-browserify/buffer-reverse)

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)

Expand All @@ -11,7 +11,7 @@ A lite module for byte reverse on buffers.
## Examples

``` javascript
var reverse = require("buffer-reverse")
var reverse = require('buffer-reverse')
var a = new Buffer('00ff0f', 'hex')

console.log(reverse(a))
Expand All @@ -22,7 +22,7 @@ console.log(reverse(a))
Or for those seeking those few extra cycles, perform the operation in place:

``` javascript
var reverseInplace = require("buffer-reverse/inplace")
var reverseInplace = require('buffer-reverse/inplace')
var a = new Buffer('00ff0f', 'hex')

console.log(reverseInplace(a))
Expand Down

0 comments on commit 21da3fa

Please sign in to comment.