From 402125e641eec86ad771caa4b5ad9db657e5fcd9 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 17 Mar 2014 18:43:16 +0000 Subject: Add note that convertToHtml returns a promise --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 354f66d..b20eb01 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ mammoth.convertToHtml({path: "path/to/document.docx"}) .done(); ``` +Note that `mammoth.convertToHtml` returns a [promise](http://promises-aplus.github.io/promises-spec/). + ### Custom style map By default, -- cgit v1.2.3