social-utilities

Install using npm:

Usage no npm install needed!

<script type="module">
  import socialUtilities from 'https://cdn.skypack.dev/social-utilities';
</script>

README

social-utilities

Install using npm:

npm install social-utilities --save-dev

How To Use WIth Ember

First you need to install the prerequisite addon called ember-browserfy:

npm install --save-dev ember-browserify

Now you'll be able to import a social-utilities function from anywhere in your javascript files:

import _fbShare from "npm:social-utilities/_fbShare";
...

actions {
    handleFbShare() {
        _fbShare(http://gleasonmovie.com, 400, 225);
    }
}