diff --git a/README.md b/README.md index 57c47fd..5fd0ea8 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ emoji.find('🍕'); // Find the `pizza` emoji, and returns `({ emoji: '🍕', ke emoji.find('pizza'); // Find the `pizza` emoji, and returns `({ emoji: '🍕', key: 'pizza' })`; emoji.hasEmoji('🍕'); // Validate if this library knows an emoji like `🍕` emoji.hasEmoji('pizza'); // Validate if this library knowns a emoji with the name `pizza` +emoji.strip('⚠️ 〰️ 〰️ low disk space'); // Strips the string from emoji's, in this case returns: "low disk space". +emoji.replace('⚠️ 〰️ 〰️ low disk space', (emoji) => `${emoji.key}:`); // Replace emoji's by callback method: "warning: low disk space" ``` ## Options