Browse Source

Updated README.md nodejs example typo.

pull/112/head
Cosmin Lupu 7 years ago committed by GitHub
parent
commit
8251dfebe9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      README.md

2
README.md

@ -119,7 +119,7 @@ npm install canvas
The API under Node is the same as on the browser with one addition, a promise based `compareImage` convenience function that is used as follows:
``` js
const compareImage = require('resemblejs/compareImages');
const compareImages = require('resemblejs/compareImages');
// The parameters can be Node Buffers
// data is the same as usual with an additional getBuffer() function

Loading…
Cancel
Save