1.2.0 • Published 6 years ago
slashemoji v1.2.0
emoji-express 🚂
emoji-express adds emoji support to your express website's URLs. ✌️
Default usage
const express = require('express')
const app = express()
const emoji = require('emoji-express')
emoji.defaults( app )
// Your routes here
app.listen(3000)Custom usage
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-expressDefaults
/contact /☎️ /📞 /🤙
/about /🙋♂️ /🙋♀️
/pricing /💳 /💵 /💰
/info /💡
/faq /🤔
/home /🏠
/profile /👤
/settings /⚙
/support / 🛠️
/login /⌨️
/terms /📜
/privacy /🔒
/posts /🖊️
/subscribe /✔️
brought you by