Skip to content

Dermah/made-with-x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Made With X

Made with literally anything but love

Use in browser

Drop this in your page just before </body>

<script src='index.js'></script>

Then drop anything except love in to your page by using

<span class='made-with-x'></span>

This drops an emoji in to the page so your browser will have to support that.

Use package

Install with one of:

yarn add made-with-x
npm install made-with-x

Then import with one of:

import getX from 'made-with-x';
var getX = require('made-with-x');

Then drop anything except love in using

getX().emoji

getX() returns an object with this shape:

{
  "name": "rainbows",
  "alt_text": "rainbows",
  "emoji_unicode": "1F308",
  "emoji": "🌈"
}