<commit_before># Flex SDK Provider

[![npm](https://img.shields.io/npm/v/flex-sdk-provider.svg)](https://www.npmjs.com/package/flex-sdk-provider) [![Dependencies](https://img.shields.io/david/timdp/flex-sdk-provider.svg)](https://david-dm.org/timdp/flex-sdk-provider) [![Build Status](https://img.shields.io/travis/timdp/flex-sdk-provider.svg)](https://travis-ci.org/timdp/flex-sdk-provider) [![JavaScript Standard Style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)

Wraps the Adobe/Apache Flex SDK in a Node module. Built as an alternative to
[flex-sdk](https://www.npmjs.com/package/flex-sdk) following
[SemVer issues](https://github.com/mojombo/semver/issues/242).

Not entirely sure where I'm going with this yet. Expect breakage.

## API

```js
var provider = require('flex-sdk-provider')

console.log('Available versions:', provider.versions)

// Get a specific version, optionally downloading it first
provider.get('4.12.0')
  .then(function (dir) {
    console.log('Flex SDK 4.12.0 is now at:', dir)
  })

// Download and extract a specific version, whether it exists or not<commit_msg>Make badges refer to master<commit_after># Flex SDK Provider

[![npm](https://img.shields.io/npm/v/flex-sdk-provider.svg)](https://www.npmjs.com/package/flex-sdk-provider) [![Dependencies](https://img.shields.io/david/timdp/flex-sdk-provider.svg)](https://david-dm.org/timdp/flex-sdk-provider) [![Build Status](https://img.shields.io/travis/timdp/flex-sdk-provider/master.svg)](https://travis-ci.org/timdp/flex-sdk-provider) [![JavaScript Standard Style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)

Wraps the Adobe/Apache Flex SDK in a Node module. Built as an alternative to
[flex-sdk](https://www.npmjs.com/package/flex-sdk) following
[SemVer issues](https://github.com/mojombo/semver/issues/242).

Not entirely sure where I'm going with this yet. Expect breakage.

## API

```js
var provider = require('flex-sdk-provider')

console.log('Available versions:', provider.versions)

// Get a specific version, optionally downloading it first
provider.get('4.12.0')
  .then(function (dir) {
    console.log('Flex SDK 4.12.0 is now at:', dir)
  })

// Download and extract a specific version, whether it exists or not
{'fraction_non_alphanumeric': 0.16945516945516945, 'fraction_numerical': 0.011154011154011155, 'mean_word_length': 4.715686274509804, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 20, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5743827', 'n_tokens_mistral': 828, 'n_tokens_neox': 763, 'n_words': 157}