<commit_before>#!/usr/bin/env node

//Shim for Promises
if (typeof Promise == "undefined") {Promise = require("promise");}

//Load in the API initialisers
var endpoints = {collector: require('../collector-api/collector.js')} //The collector API calls
//Visualiser API should go here too

var scope = {restify: require('restify') //API server
    , save: require('save') //Database interface
    , saveMongodb: require('save-mongodb')
    , chance: require('chance').Chance() //Salt generator<commit_msg>Making the visualiser api endpoints available to the full api.<commit_after>#!/usr/bin/env node

//Shim for Promises
if (typeof Promise == "undefined") {Promise = require("promise");}

//Load in the API initialisers
var endpoints = {collector: require('../collector-api/collector.js'), visualiser: require('../visualiser-api/visualiser.js')} //The collector API calls
//Visualiser API should go here too

var scope = {restify: require('restify') //API server
    , save: require('save') //Database interface
    , saveMongodb: require('save-mongodb')
    , chance: require('chance').Chance() //Salt generator
{'fraction_non_alphanumeric': 0.15391539153915393, 'fraction_numerical': 0.0, 'mean_word_length': 4.477832512315271, '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': '3166936', 'n_tokens_mistral': 339, 'n_tokens_neox': 320, 'n_words': 102}