0.0.7 • Published 5 years ago

jsherlock v0.0.7

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

JSherLock

Find usernames across social networks

Build Status install size code style: prettier npm contributions welcome License: MIT

Install

npm install jsherlock

API

checkAll

check username availability across social networks

Example

import jsherlock from 'jsherlock';

const checker = new jsherlock('username');

checker
  .checkAll()
  .then(status => {
    console.log(status);
  })
  .catch(err => {
    console.log(err);
  });

//=> [
//=>   {
//=>     "userName": "username",
//=>     "siteName": "siteName",
//=>     "uri": "url://url.url/username",
//=>     "exist": false
//=>   }
//=> ]

checkFor

check username availability for individual site

Example

import jsherlock from 'jsherlock';

const checker = new jsherlock('username');

checker
  .checkFor('site')
  .then(status => {
    console.log(status);
  })
  .catch(err => {
    console.log(err);
  });

//=>  {
//=>    "userName": "username",
//=>    "siteName": "siteName",
//=>    "uri": "url://url.url/username",
//=>    "exist": false
//=>  }

sites

available sites

Example

import jsherlock from 'jsherlock';

const sites = jsherlock.sites();

console.log(sites);

//=>  ["site"]

Related

Inspired by

LICENSE

MIT © Aung Myo Kyaw

0.0.7

5 years ago

0.0.7-beta.2

5 years ago

0.0.7-beta.0

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.4-beta.0

5 years ago

0.0.3

5 years ago

0.0.3-beta.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago