From db2050e2a56c16cec2298548e2218aed708c08c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomomi=20=E2=9D=A4=20Imura?= Date: Fri, 24 Jul 2015 14:35:53 -0700 Subject: [PATCH] Fix a function name typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1b1058b..c5ae3a1 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ callback (function) - the callback will contain the err object and the encoded i var options = {filename: 'test'}; var imageData = new Buffer('/9j/4AAQSkZJRgABAQAAAQABAAD...', 'base64'); -base64.base64decode(imageData, options, function (err, saved) { +base64.base64decoder(imageData, options, function (err, saved) { if (err) { console.log(err); } console.log(saved); });