Adds npm install instructions to readme
Allow detection of empty elements - Issue #22
endDocument is called even after pause/resume used
…lly only make it search the length of the needle at the start of the haystack instead of the rest of it.
… string. Call toString to make sure it's a string. Signed-off-by: Nick Campbell <firstname.lastname@example.org>