<commit_before>Derby Lang
==========

A translation library for [Derby JS](http://derbyjs.com) that uses [messageformat.js](https://github.com/SlexAxton/messageformat.js).  
Refer to the messageformat.js on how to format translation strings.

[![Build Status](https://travis-ci.org/psirenny/derby-lang.png?branch=master)](https://travis-ci.org/psirenny/derby-lang)

Installation
------------

    $ npm install derby-lang --save

Server Usage
------------

In your server file, add the middleware:

    var lang = require('derby-lang').server;

    expressApp
      // ...
      // ...<commit_msg>fix readme typo<commit_after>Derby Lang
==========

A translation library for [Derby JS](http://derbyjs.com) that uses [messageformat.js](https://github.com/SlexAxton/messageformat.js).  
Refer to the messageformat.js docs on how to format translation strings.

[![Build Status](https://travis-ci.org/psirenny/derby-lang.png?branch=master)](https://travis-ci.org/psirenny/derby-lang)

Installation
------------

    $ npm install derby-lang --save

Server Usage
------------

In your server file, add the middleware:

    var lang = require('derby-lang').server;

    expressApp
      // ...
      // ...
{'fraction_non_alphanumeric': 0.186511240632806, 'fraction_numerical': 0.0, 'mean_word_length': 2.9539473684210527, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '6085266', 'n_tokens_mistral': 393, 'n_tokens_neox': 375, 'n_words': 85}