<commit_before># GollumTS-Annotation

[![Build Status](https://travis-ci.com/GollumJS/gollumts-annotation.svg?branch=master)](https://app.travis-ci.com/github/GollumJS/GollumTS-Annotation)
[![Coverage](https://coveralls.io/repos/github/GollumJS/GollumTS-Annotation/badge.svg?branch=master)](https://coveralls.io/github/GollumJS/GollumTS-Annotation)
[![Licence](https://img.shields.io/npm/l/@gollumts/annotation.svg?colorB=4B9081)](https://github.com/GollumJS/GollumTS-Annotation/blob/master/LICENSE)
[![NPM version](https://img.shields.io/npm/v/@gollumts/annotation.svg)](https://www.npmjs.com/package/@gollumts/annotation)
[![Discord](https://img.shields.io/discord/671741944149573687?color=purple&label=discord)](https://discord.gg/xMBc5SQ)

Add persistent annotation on TS class.


## Install
```
npm install @gollumts/annotation
```



## Create annotation

```typescript
import {Writer} from "gollumts-annotation";


export function CustomAnnotation(data1, data2) {

	return Writer.write(CustomAnnotation, {
		data1: data1,
		data2: data2
	});
}<commit_msg>New version<commit_after># GollumTS-Annotation

[![Build Status](https://travis-ci.com/GollumJS/gollumts-annotation.svg?branch=master)](https://app.travis-ci.com/github/GollumJS/GollumTS-Annotation)
[![Coverage](https://coveralls.io/repos/github/GollumJS/GollumTS-Annotation/badge.svg?branch=master)](https://coveralls.io/github/GollumJS/GollumTS-Annotation)
[![Licence](https://img.shields.io/npm/l/@gollum-ts/annotation.svg?colorB=4B9081)](https://github.com/GollumJS/GollumTS-Annotation/blob/master/LICENSE)
[![NPM version](https://img.shields.io/npm/v/@gollum-ts/annotation.svg)](https://www.npmjs.com/package/@gollum-ts/annotation)
[![Discord](https://img.shields.io/discord/671741944149573687?color=purple&label=discord)](https://discord.gg/xMBc5SQ)

Add persistent annotation on TS class.


## Install
```
npm install @gollum-ts/annotation
```



## Create annotation

```typescript
import {Writer} from "gollumts-annotation";


export function CustomAnnotation(data1, data2) {

	return Writer.write(CustomAnnotation, {
		data1: data1,
		data2: data2
	});
}
{'fraction_non_alphanumeric': 0.17873941674506114, 'fraction_numerical': 0.028222013170272814, 'mean_word_length': 6.284246575342466, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 20, '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': '3239805', 'n_tokens_mistral': 866, 'n_tokens_neox': 776, 'n_words': 73}