Socket
Socket
Sign inDemoInstall

node-emoji

Package Overview
Dependencies
148
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

2

package.json
{
"name": "node-emoji",
"version": "2.0.1",
"version": "2.0.2",
"description": "Friendly emoji lookups and parsing utilities for Node.js",

@@ -5,0 +5,0 @@ "author": "Daniel Bugl <me@omnidan.net>",

@@ -23,2 +23,8 @@ # node-emoji

## 2.0 Release :rocket:
This is the new 2.0 release of node-emoji, supporting ESM, new emoji and a new API.
If you want to use the old version, please check out the [legacy branch](https://github.com/omnidan/node-emoji/tree/legacy).
## Usage

@@ -43,3 +49,3 @@

emoji.replace('I ❤️ coffee!', 'love') // 'I love coffee!'
emoji.replace('I ❤️ coffee!', 'love', { preserveSpaces: true }) // 'I love coffee!'

@@ -46,0 +52,0 @@ emoji.search(':uni:') // [ { emoji: '🦄', name: 'unicorn' }, ... ]

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc