<commit_before>Thermite
========

[![Build Status](https://secure.travis-ci.org/omphalos/thermite.png)
](http://travis-ci.org/omphalos/thermite)
[![Browser Support](https://ci.testling.com/omphalos/thermite.png)
](https://ci.testling.com/omphalos/thermite)

Thermite gives you an API for programmatically live reloading code.

Its main purpose is to act like a library used by
development and (experimentally) deployment tools.

It works cross-browser and in Node.
This means you can live reload code while users are browsing your page,
no matter what browser they use.
Additionally, this provides hot swapping capability across runtimes.

Comparison with V8's live code reloading
----------------------------------------

I like V8 and use it in normal development.
Nevertheless there are advantages to doing live code reloading with a library.

* V8 runtimes are currently the only ones that support live code reloading
(AFAIK),
so if you want to do this in another browser,
you're out of luck.
* V8 requires the user to start a debugging session.
* V8 doesn't provide a way to hot swap from the program itself.

Thermite doesn't have any of these restrictions.

I'm not complaining about V8 - I love it.
But I think there's utility
in having a cross-platform live code reloading library.

Set Up
------

If you are using Node, first, `npm install thermite`,
then `var thermite = require('thermite')`<commit_msg>Streamline README<commit_after>Thermite
========

[![Build Status](https://secure.travis-ci.org/omphalos/thermite.png)
](http://travis-ci.org/omphalos/thermite)
[![Browser Support](https://ci.testling.com/omphalos/thermite.png)
](https://ci.testling.com/omphalos/thermite)

Thermite gives you an API for programmatically live reloading code.

Its main purpose is to act like a library used by
development and (experimentally) deployment tools.

Comparison with V8's live code reloading
----------------------------------------

I like V8 and use it in normal development.
Nevertheless there are advantages to doing live code reloading with a library.

* V8 runtimes are currently the only ones that support live code reloading
(AFAIK),
so if you want to do this in another browser,
you're out of luck.
* V8 requires the user to start a debugging session.
* V8 doesn't provide a way to hot swap from the program itself.

Thermite doesn't have any of these restrictions.

I'm not complaining about V8 - I love it.
But I think there's utility
in having a cross-platform live code reloading library.

Set Up
------

If you are using Node, first, `npm install thermite`,
then `var thermite = require('thermite')`
{'fraction_non_alphanumeric': 0.11293399465852728, 'fraction_numerical': 0.004578405188859214, 'mean_word_length': 3.802197802197802, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '3986131', 'n_tokens_mistral': 778, 'n_tokens_neox': 738, 'n_words': 335}