<commit_before>package DDG::Spice::Haxelib;

use DDG::Spice;

primary_example_queries "haxelib openfl";
description "Lookup packages from the Haxe libraries";
name "Haxelib";
code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Haxelib.pm";
topics "programming";
category "programming";
spice to => 'http://haxelib-json.herokuapp.com/package/$1?callback={{callback}}';

attribution github => ['https://github.com/TopHattedCoder','TopHattedCoder'];

triggers any => "haxelib", "haxe lib", "haxe library";
spice proxy_cache_valid => "200 1d";
handle remainder => sub {
    return $_ if $_;
    return;
};

1;
<commit_msg>Added icon<commit_after>package DDG::Spice::Haxelib;

use DDG::Spice;

primary_example_queries "haxelib openfl";
description "Lookup packages from the Haxe libraries";
name "Haxelib";
code_url "https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Haxelib.pm";
icon_url "/i/www.haxe.org.ico";
topics "programming";
category "programming";
spice to => 'http://haxelib-json.herokuapp.com/package/$1?callback={{callback}}';

attribution github => ['https://github.com/TopHattedCoder','TopHattedCoder'];

triggers any => "haxelib", "haxe lib", "haxe library";
spice proxy_cache_valid => "200 1d";
handle remainder => sub {
    return $_ if $_;
    return;
};

1;

{'fraction_non_alphanumeric': 0.16204051012753187, 'fraction_numerical': 0.00900225056264066, 'mean_word_length': 5.9119170984455955, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 4, 'lorem ipsum': 0, 'www.': 1, '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': '6925767', 'n_tokens_mistral': 511, 'n_tokens_neox': 482, 'n_words': 95}