<commit_before># escapejs / under development

## About
	The reason to development this it module, is to help protection of the Injection Script Attack([XSS](https://www.owasp.org/index.php/Top_10_2010-A2-Cross-Site_Scripting_(XSS)))_ When trying injection your application, this module go protect of form recursive.

## Getting Start
```js
const escapejs = require('escapejs');

//Return %3Cscript/%3E
escapejs.str('<script/>');

//Return { 'a': '%3Cscript/%3E', 'b': '%3Cscript/%3E'}
escapejs.json({ 'a': '<script/>', 'b': '<script/>'}); 

//Return ['%3Cscript/%3E','%3Cscript/%3E', [{ 'a': '%3Cscript/%3E', 'b': '%3Cscript/%3E'}]]
escapejs.array(['<script/>','<script/>', [{ 'a': '<script/>', 'b': '<script/>'}]]);
```
<commit_msg>[ * ] break line<commit_after># EscapeJS / under development

## About
	The reason to development this it module, is to help protection of the Injection Script Attack([XSS](https://www.owasp.org/index.php/Top_10_2010-A2-Cross-Site_Scripting_(XSS)))_ 
	When trying injection your application, this module go protect of form recursive.

## Getting Start
```js
const escapejs = require('escapejs');

//Return %3Cscript/%3E
escapejs.str('<script/>');

//Return { 'a': '%3Cscript/%3E', 'b': '%3Cscript/%3E'}
escapejs.json({ 'a': '<script/>', 'b': '<script/>'}); 

//Return ['%3Cscript/%3E','%3Cscript/%3E', [{ 'a': '%3Cscript/%3E', 'b': '%3Cscript/%3E'}]]
escapejs.array(['<script/>','<script/>', [{ 'a': '<script/>', 'b': '<script/>'}]]);
```

{'fraction_non_alphanumeric': 0.24236252545824846, 'fraction_numerical': 0.028513238289205704, 'mean_word_length': 5.32618025751073, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '433949', 'n_tokens_mistral': 535, 'n_tokens_neox': 514, 'n_words': 128}