UNPKG

elsewhere

Version:

A node project that aims to replicate the functionality of the Google Social Graph API

11 lines (7 loc) 510 B
<p>Elsewhere is available on <a href='https://npmjs.org/package/elsewhere'>NPM</a>. To install it, run:</p> <pre><code>npm install elsewhere</code></pre> <p>Once you have it installed, you can <a href='http://nodejs.org/api/globals.html#globals_require'>require()</a> it and interact with it using the <code>graph()</code> method.</p> <pre><code>var elsewhere = require(&#39;elsewhere&#39;); elsewhere.graph(&#39;http://premasagar.com&#39;).then(function (err, graph) { res.end(graph); });</code></pre>