<commit_before># swfpack
Swfpack is a tool that convert swf format between uncompressed/zlib/lzma.

# Installation
    $ npm install swfpack

# Usage
````
var swfpack = require('swfpack');

var converter = new swfpack(targetPath); // targetPath: buffer|absolute_path
var buffer_fws = converter.pack('fws'); // fws (uncompressed)
var buffer_cws = converter.pack('cws'); // cws (compressed by using the ZLIB open standard)
var buffer_zws = converter.pack('zws', 7); // zws, lzma level 1-9 (compressed by using the LZMA open standard)
````

#License
MIT
<commit_msg>refactor swfpack.<commit_after># swfpack
Swfpack is a tool that convert swf format between uncompressed/zlib/lzma.

# Installation
    $ npm install swfpack

# Usage
````
var swfpack = require('swfpack');

var converter = new swfpack(file); //  file <String>|<Buffer>
var buffer_fws = converter.pack('fws'); // fws (uncompressed)
var buffer_cws = converter.pack('cws'); // cws (compressed by using the ZLIB open standard)
var buffer_zws = converter.pack('zws', 7); // zws, lzma level 1-9 (compressed by using the LZMA open standard)
````

#License
MIT

{'fraction_non_alphanumeric': 0.1273542600896861, 'fraction_numerical': 0.0053811659192825115, 'mean_word_length': 4.6938775510204085, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1284370', 'n_tokens_mistral': 399, 'n_tokens_neox': 375, 'n_words': 119}