<commit_before># IframeInserter.js [![Build Status](https://api.travis-ci.org/legokichi/IframeInserter.js.png)](http://travis-ci.org/legokichi/IframeInserter.js)

[![npm](https://nodei.co/npm/legokichi.iframeinserter.js.png?downloads=true&stars=true)](https://nodei.co/npm/legokichi.iframeinserter.js/)

iframe content inserter.

## Document

- [IframeInserter.js wiki](https://github.com/legokichi/IframeInserter.js/wiki/IframeInserter)
- [Development](https://github.com/uupaa/WebModule/wiki/Development)
- [WebModule](https://github.com/uupaa/WebModule) ([Slide](http://uupaa.github.io/Slide/slide/WebModule/index.html))


## How to use

### Browser

```js
<script src="lib/IframeInserter.js">
<script>
var iframe = document.getElementById("iframe");
new IframeInserter(iframe).write(code);
</script>
```<commit_msg>fix usage<commit_after># IframeInserter.js [![Build Status](https://api.travis-ci.org/legokichi/IframeInserter.js.png)](http://travis-ci.org/legokichi/IframeInserter.js)

[![npm](https://nodei.co/npm/legokichi.iframeinserter.js.png?downloads=true&stars=true)](https://nodei.co/npm/legokichi.iframeinserter.js/)

iframe content inserter.

## Document

- [IframeInserter.js wiki](https://github.com/legokichi/IframeInserter.js/wiki/IframeInserter)
- [Development](https://github.com/uupaa/WebModule/wiki/Development)
- [WebModule](https://github.com/uupaa/WebModule) ([Slide](http://uupaa.github.io/Slide/slide/WebModule/index.html))


## How to use

### Browser

```js
<script src="lib/IframeInserter.js"></script>
<script>
var iframe = document.getElementById("iframe");
new IframeInserter(iframe).write(code);
</script>
```
{'fraction_non_alphanumeric': 0.1929397443700548, 'fraction_numerical': 0.0, 'mean_word_length': 6.055793991416309, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1101546', 'n_tokens_mistral': 664, 'n_tokens_neox': 619, 'n_words': 57}