<commit_before># elsewhere-mapper

The elsewhere-mapper is a social media profile endpoint mapper, it is part of a collection of node.js modules that enable the discovery of profiles and identities an indivdaul creates across the web.


## Install

    npm install elsewhere-mapper

or

    git clone http://github.com/glennjones/elsewhere-mapper.git
    cd elsewhere-mapper
    npm link


#### Use

with list of URLs

    var mapper = require("elsewhere-mapper");

    mapper.parseUrls('http://glennjones.net/about', function(data){
        // do something with data
    });

with list of SGNs

    var mapper = require("elsewhere-mapper");

    mapper.parseSgns('sgn://twitter.com/?ident=glennjones', function(data){
        // do something with data
    });<commit_msg>Fix typo<commit_after># elsewhere-mapper

The elsewhere-mapper is a social media profile endpoint mapper, it is part of a collection of node.js modules that enable the discovery of profiles and identities an indivdual creates across the web.


## Install

    npm install elsewhere-mapper

or

    git clone http://github.com/glennjones/elsewhere-mapper.git
    cd elsewhere-mapper
    npm link


#### Use

with list of URLs

    var mapper = require("elsewhere-mapper");

    mapper.parseUrls('http://glennjones.net/about', function(data){
        // do something with data
    });

with list of SGNs

    var mapper = require("elsewhere-mapper");

    mapper.parseSgns('sgn://twitter.com/?ident=glennjones', function(data){
        // do something with data
    });
{'fraction_non_alphanumeric': 0.10006497725795971, 'fraction_numerical': 0.0, 'mean_word_length': 3.2777777777777777, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5337145', 'n_tokens_mistral': 477, 'n_tokens_neox': 447, 'n_words': 147}