<commit_before># EditorConfig JavaScript Core

[![Build Status](https://travis-ci.org/editorconfig/editorconfig-core-js.png?branch=master)](https://travis-ci.org/editorconfig/editorconfig-core-js)

The EditorConfig JavaScript core will provide the same functionality as the
[EditorConfig C Core][] and [EditorConfig Python Core][].


## Installation

You need [node][] to use this package.

To install this package (system-wide):

    $ npm install editorconfig

To install the package system-wide:

    $ npm install -g editorconfig


## Usage

Usage as a Node library:

    $ node<commit_msg>Use svg instead of png to get better image quality<commit_after># EditorConfig JavaScript Core

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

The EditorConfig JavaScript core will provide the same functionality as the
[EditorConfig C Core][] and [EditorConfig Python Core][].


## Installation

You need [node][] to use this package.

To install this package (system-wide):

    $ npm install editorconfig

To install the package system-wide:

    $ npm install -g editorconfig


## Usage

Usage as a Node library:

    $ node
{'fraction_non_alphanumeric': 0.10285714285714286, 'fraction_numerical': 0.0, 'mean_word_length': 4.473214285714286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4949926', 'n_tokens_mistral': 360, 'n_tokens_neox': 344, 'n_words': 120}