<commit_before># node-scm-source

Creates a `scm-source` JSON object according to [Zalando STUPS documentation](http://stups.readthedocs.org/en/latest/user-guide/application-development.html#docker).

## Usage

    var scm = require('node-scm-source');
    scm();
    > { revision: '79c5e3549682f918c81bdf36a4e361e0360d0c8e',
      url: '<EMAIL>:zalando-stups/node-scm-source.git',
      status: '',
      author: 'npiccolotto' }<commit_msg>Update docs regarding execSync<commit_after># node-scm-source

Creates a `scm-source` JSON object according to [Zalando STUPS documentation](http://stups.readthedocs.org/en/latest/user-guide/application-development.html#docker). Note that at this time it relies on `child_process.execSync` which is available only since **Node 0.12**. You will get an error with `0.11` or lower.

## Usage

    var scm = require('node-scm-source');
    scm();
    > { revision: '79c5e3549682f918c81bdf36a4e361e0360d0c8e',
      url: '<EMAIL>:zalando-stups/node-scm-source.git',
      status: '',
      author: 'npiccolotto' }
{'fraction_non_alphanumeric': 0.13822688274547187, 'fraction_numerical': 0.057197330791229746, 'mean_word_length': 4.198019801980198, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4452608', 'n_tokens_mistral': 419, 'n_tokens_neox': 377, 'n_words': 76}