<commit_before># scripts

[![Build](https://travis-ci.org/jaredhanson/node-scripts.png)](https://travis-ci.org/jaredhanson/node-scripts)
[![Coverage](https://coveralls.io/repos/jaredhanson/node-scripts/badge.png)](https://coveralls.io/r/jaredhanson/node-scripts)
[![Dependencies](https://david-dm.org/jaredhanson/node-scripts.png)](https://david-dm.org/jaredhanson/node-scripts)


Resolve scripts based on supported extensions.

## Install

    $ npm install scripts

## Usage

Resolve a `require`-able script to a path, including extension.

```javascript
var path = scripts.resolve('hello');
// => 'hello.js'
```

With CoffeeScript support:

```javascript
require('coffee-script');

var path = scripts.resolve('hello');
// => 'hello.coffee'
```
<commit_msg>Add quality badge.<commit_after># scripts

[![Build](https://travis-ci.org/jaredhanson/node-scripts.png)](https://travis-ci.org/jaredhanson/node-scripts)
[![Coverage](https://coveralls.io/repos/jaredhanson/node-scripts/badge.png)](https://coveralls.io/r/jaredhanson/node-scripts)
[![Quality](https://codeclimate.com/github/jaredhanson/node-scripts.png)](https://codeclimate.com/github/jaredhanson/node-scripts)
[![Dependencies](https://david-dm.org/jaredhanson/node-scripts.png)](https://david-dm.org/jaredhanson/node-scripts)


Resolve scripts based on supported extensions.

## Install

    $ npm install scripts

## Usage

Resolve a `require`-able script to a path, including extension.

```javascript
var path = scripts.resolve('hello');
// => 'hello.js'
```

With CoffeeScript support:

```javascript
require('coffee-script');

var path = scripts.resolve('hello');
// => 'hello.coffee'
```

{'fraction_non_alphanumeric': 0.186819830713422, 'fraction_numerical': 0.0, 'mean_word_length': 5.2218045112781954, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 14, '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': '4341863', 'n_tokens_mistral': 583, 'n_tokens_neox': 555, 'n_words': 81}