Mojee 1.0.0
See the version list below for details.
dotnet add package Mojee --version 1.0.0
NuGet\Install-Package Mojee -Version 1.0.0
<PackageReference Include="Mojee" Version="1.0.0" />
paket add Mojee --version 1.0.0
#r "nuget: Mojee, 1.0.0"
// Install Mojee as a Cake Addin #addin nuget:?package=Mojee&version=1.0.0 // Install Mojee as a Cake Tool #tool nuget:?package=Mojee&version=1.0.0
Welcome to Mojee π€ͺ
What is Mojee?
Mojee is a lightning β‘ fast Emoji library for .NET & TypeScript (.ts is coming soon).
Mojee's big party trick is the ultra-high-performance parse and replacement of emoji :short-codes:
within a block of text. Pass a string of text to Mojee, and Mojee will convert any emoji :short-codes:
found with actual emoji character instances. Here's a basic Mojee Replace
sample:
// Replace all shortcodes with an emoji
var result = Mojee.Replace("Hello, world :smile:");
Console.WriteLine(result);
The console output from the above sample would be:
Hello, world π
Mojee is also amazing at Emoji search. Search for any term and Mojee will hand back a collection of emoji results. The following sample demonstrates a basic emoji search using Mojee.
// Search for emojis
Mojee.Search("smile").ToList()
.ForEach(emoji => Console.Write(emoji));
The console output from the above sample would be:
π πΈ π πΊ π
Getting Started
Within seconds, Mojee can be added to any .NET Core project using NuGet.
# Install using dotnet CLI
dotnet add package Mojee
# or,
# Instal using NuGet CLI
Install-Package Mojee
The following sequence of commands could be used to create a new .NET Console project using the dotnet
CLI, then add Mojee, and finally open the new project in Visual Studio Code.
mkdir MojeeDemo # Make a new folder
cd MojeeDemo # Move into the new folder
dotnet new console # Create a new .NET Console app
dotnet add package Mojee # Add Mojee to your new project
code . # Open in Visual Studio Code
The MojeeIO
API is now available within your app. The following sample demonstrates a basic Console app scenario with Mojee.
using System;
using MojeeIO;
namespace MojeeDemo
{
class Program
{
static void Main(string[] args)
{
// Search for emojis
Mojee.Search("smile").ToList()
.ForEach(emoji => Console.Write(emoji));
Console.ReadKey();
}
}
}
Licensing
Mojee is free to use in both open-source and commercial applications, although with support for a limited set of emojis unless a license key is purchased.
Todays most 100 most popular emojis are supported for free, which covers approximately 80% of all emojis used. The following table documents the 100 emojis currently supported in the free (no license key) version of Mojee.
π | π | π | π | π | π | π | π | π | π |
---|---|---|---|---|---|---|---|---|---|
π | π | βΊοΈ | π | π | π | π | π | π | π |
πΆ | π | π | π¬ | π | π | πͺ | π΄ | π· | π |
π | π³ | π₯ | π’ | π | π± | π | π£ | π | π |
π© | π« | π€ | π‘ | π | π | π | π» | π | π |
π | π | π | π | π | π | π | π | β€οΈ | π |
π | π | π | π― | π₯ | π | β | π | βοΈ | π |
π | π | π | π | π | π | π | πͺ | π | π |
πΈ | πΉ | π | βοΈ | β | β‘ | π₯ | β¨ | π | β₯οΈ |
π | πΆ | π· | β‘οΈ | β¬ οΈ | βΆοΈ | β»οΈ | β | βοΈ | π΄ |
Please see the License Key Configuration guide for instructions on how to add your Mojee License key to a project.
Purchasing a Pro or Team license key will unlock the full power of Mojee with support for all 1743 emojis.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.Extensions.Configuration.Json (>= 3.1.7)
- System.Memory (>= 4.5.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.