Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
q2s2t committed Aug 20, 2014
1 parent 1c687fc commit 915267d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ Promise-style e.g:
```js
var Zip = require('7z');
var myTask = new Zip();
myTask.test('myArchive.7z')
.then(fulfillHandler, rejectHandler);
myTask.test('myArchive.7z').then(successHandler, errorHandler);
```

Callback-style e.g:
Expand All @@ -32,7 +31,7 @@ myTask.test('myArchive.7z', function (err, files) {
Installation
------------

```cmd
```
npm install -g 7z
```

Expand Down Expand Up @@ -78,4 +77,4 @@ With :heart: from [quentinrossetti](https://github.com/quentinrossetti)
[coveralls-url]: https://coveralls.io/r/quentinrossetti/node-7zip
[coveralls-image]: http://img.shields.io/coveralls/quentinrossetti/node-7zip.svg
[npm-url]: https://www.npmjs.org/package/node-7zip
[npm-image]: http://img.shields.io/npm/v/node-7zip.svg
[npm-image]: http://img.shields.io/npm/v/node-7zip.svg

0 comments on commit 915267d

Please sign in to comment.