Skip to content

Commit 858b804

Browse files
authored
Fixed spelling error
1 parent 5d2c3f7 commit 858b804

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ This module provides you random access to a file hosted over http so that it can
1717
## Usage
1818

1919
```js
20-
var randomAccessHttp = require('random-access-http')
20+
var randomAccessHTTP = require('random-access-http')
2121

22-
var file = randomAccessHttp('http://example.com/somefile.mp4')
22+
var file = randomAccessHTTP('http://example.com/somefile.mp4')
2323

2424
// Read 10 bytes at an offset of 5
2525
file.read(5, 10, function(err, buffer) {
@@ -34,7 +34,7 @@ file will use a keepalive agent to reduce the number http requests needed for th
3434

3535
## API
3636

37-
#### `var file = randomAccessFile(url)`
37+
#### `var file = randomAccessHTTP(url)`
3838

3939
Create a new 'file' that reads from the provided `url`. The `url` can be either `http` or `https`.
4040

0 commit comments

Comments
 (0)