<commit_before>require("./stylesheets/main.less");

var settings = require("./settings");
var packageTemplate = require("./templates/package.html");

var Q = codebox.require("q");
var _ = codebox.require("hr.utils");
var axios = require("axios");
var commands = codebox.require("core/commands");
var dialogs = codebox.require("utils/dialogs");
var packages = codebox.require("core/packages");
var rpc = codebox.require("core/rpc");
var hash = codebox.require("utils/hash");

// Return packages from repository
var listFromRepository = function() {
    var p = Q(axios.get("https://api.github.com/repos/"+settings.data.get("repository")+"/readme"))
    .then(function(response) {
        return hash.atob(response.data.content);
    })
    .then(function(content) {<commit_msg>Fixed axios require in the pkgcontrol package<commit_after>require("./stylesheets/main.less");

var settings = require("./settings");
var packageTemplate = require("./templates/package.html");

var Q = codebox.require("q");
var _ = codebox.require("hr.utils");
var axios = codebox.require("axios");
var commands = codebox.require("core/commands");
var dialogs = codebox.require("utils/dialogs");
var packages = codebox.require("core/packages");
var rpc = codebox.require("core/rpc");
var hash = codebox.require("utils/hash");

// Return packages from repository
var listFromRepository = function() {
    var p = Q(axios.get("https://api.github.com/repos/"+settings.data.get("repository")+"/readme"))
    .then(function(response) {
        return hash.atob(response.data.content);
    })
    .then(function(content) {
{'fraction_non_alphanumeric': 0.1777638190954774, 'fraction_numerical': 0.0, 'mean_word_length': 5.034090909090909, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6906590', 'n_tokens_mistral': 485, 'n_tokens_neox': 479, 'n_words': 94}