<commit_before>node-prelude
============

[![Build Status](https://travis-ci.org/scravy/node-prelude.svg?branch=master)](https://travis-ci.org/scravy/node-prelude)

A port of the Haskell Prelude to JavaScript/NodeJS.

    npm install --save node-prelude

Usage:

```JavaScript
// have it in a variable P
var P = require('node-prelude');

var reverse = P.foldl(P.flip(P.cons), []);

// have it in a variable Prelude
var Prelude = require('node-prelude');

var reverse = Prelude.foldl(Prelude.flip(Prelude.cons), []);

// install it globally
require('node-prelude').install(GLOBAL);

var reverse = foldl(flip(cons), []);
<commit_msg>node-prelude -> nodash<commit_after>nodash
======

[![Build Status](https://travis-ci.org/scravy/nodash.svg?branch=master)](https://travis-ci.org/scravy/nodash)

A port of the Haskell Prelude to JavaScript/NodeJS.

    npm install --save nodash

Usage:

```JavaScript
// have it in a variable P
var P = require('node-prelude');

var reverse = P.foldl(P.flip(P.cons), []);

// have it in a variable Prelude
var Prelude = require('node-prelude');

var reverse = Prelude.foldl(Prelude.flip(Prelude.cons), []);

// install it globally
require('node-prelude').install(GLOBAL);

var reverse = foldl(flip(cons), []);

{'fraction_non_alphanumeric': 0.17969379532634971, 'fraction_numerical': 0.0, 'mean_word_length': 4.569506726457399, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 4, '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': '276423', 'n_tokens_mistral': 467, 'n_tokens_neox': 453, 'n_words': 97}