Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 786 Bytes

README.md

File metadata and controls

50 lines (40 loc) · 786 Bytes

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": "🌈"
}