emoji-express

1.1.1 • Public • Published

emoji-express 🚂

emoji-express adds emoji support to your express website's URLs. ✌️


Examples:

/contact routes

https://boardme.app/📮

/pricing routes

https://boardme.app/💳

Default usage (static websites)

It offers automatic emoji support for all the main routes of your website. E.g. contact, pricing, faq, etc.

const express = require('express')
const app = express()
 
const emoji = require('emoji-express')
 
emoji.defaults( app )
 
// Your routes here
 
app.listen(3000)

Translate emojis from URLs automatically

It translates emojis automatically from URLs.

Examples:

https://yourwebsite.com/🦇🚶‍♂️

translated: https://yourwebsite.com/batman-walking

https://yourwebsite.com/🔥-in-the-🕳️

translated: https://yourwebsite.com/fire-in-the-hole

const express = require('express')
const app = express()
 
const emoji = require('emoji-express')
 
app.use( emoji.translateURLs )
 
// Your routes here
 
app.listen(3000)

Custom usage

It links any custom emojis (or strings of emojis) to any URL in your website.

const express = require('express')
const app = express()
 
const emoji = require('emoji-express')
 
emoji.set( app, '📞', '/your/route/here' )
emoji.set( app, '🍉🍌', '/any/route/you/want' )
emoji.set( app, '🥑😂😂😂', '/any/route/you/want' )
 
// Your routes here
 
app.listen(3000)

Installation

Installation is done using the npm install command:

$ npm install emoji-express

Defaults

/contact /☎ /📮 /📞 /🤙

/about /🙋‍♂️ /🙋‍♀️

/pricing /💳 /💵

/donate /💰

/info /💡

/faq /🤔

/home /🏠

/profile /👤

/settings /⚙

/support / 🛠️

/login /⌨️

/terms /📜

/privacy /🔒

/posts /🖊️

/subscribe /✔️

/join-us /🤗

/search /🧐

/careers /💼

/delivery /🚚

/tv /📺

/podcast /🎙️


brought you by

Readme

Keywords

Package Sidebar

Install

npm i emoji-express

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

298 kB

Total Files

4

Last publish

Collaborators

  • boardme