diff --git a/README.md b/README.md index 567283c..75e2427 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ emoji.has('unknown') // false emoji.random() // { name: 'house', emoji: '🏠' } -emoji.replace('I ❤️ coffee!', 'love') // 'I love coffee!' +emoji.replace('I ❤️ coffee!', 'love', { preserveSpaces: true }) // 'I love coffee!' emoji.search(':uni:') // [ { emoji: '🦄', name: 'unicorn' }, ... ] diff --git a/package.json b/package.json index a55c5f2..a5b1b6a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-emoji", - "version": "2.0.1", + "version": "2.0.2", "description": "Friendly emoji lookups and parsing utilities for Node.js", "author": "Daniel Bugl ", "repository": {