From c2cc5b7fa60a2e8d91c4c88abb08a7bea34ba05f Mon Sep 17 00:00:00 2001 From: Chris Foster Date: Tue, 14 Mar 2017 12:00:52 -0700 Subject: [PATCH] Expand on example --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 317996d..91874f8 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,10 @@ You can also use it as a library: ```javascript const count = require('contributor-count') +const name = 'express' +const version = 'latest' +const target = { name, version } + count(target) .then(count => console.log('The count is', count)) .catch(err => console.error('Failed to get count', err))