<commit_before>## PreferencesManager

PreferencesManager is a cordova android plugin to store some data using SharedPreferences

### How to use

#### Store data

Storing data in SharedPreferences it's very simple.
Simply call the function **store** from PreferencesManager.

```javascript
PreferencesManager.store(type, key, value);
```

#### Restore data

Restoring data from SharedPreferences is similar to **store**.
Below has a example of how to **restore** that information.

```javascript
PreferencesManager.restore(type, key);
```

#### Remove data

Remove data is pretty simple too. To remove simply call the function **remove** and pass the key do you want to remove.

```javascript
PreferencesManager.remove(key);
```

#### Supported types

Currently is supported some set of data. Below has a table of data types with respective value to pass on `functions`

Type | Type code
------------ | -------------
String | 0
Int | 1
Long | 2
Float | 3
Double | 4
Date | 5<commit_msg>Add License<commit_after>## PreferencesManager

PreferencesManager is a cordova android plugin to store some data using SharedPreferences

### How to use

#### Store data

Storing data in SharedPreferences it's very simple.
Simply call the function **store** from PreferencesManager.

```javascript
PreferencesManager.store(type, key, value);
```

#### Restore data

Restoring data from SharedPreferences is similar to **store**.
Below has a example of how to **restore** that information.

```javascript
PreferencesManager.restore(type, key);
```

#### Remove data

Remove data is pretty simple too. To remove simply call the function **remove** and pass the key do you want to remove.

```javascript
PreferencesManager.remove(key);
```

#### Supported types

Currently is supported some set of data. Below has a table of data types with respective value to pass on `functions`

Type | Type code
------------ | -------------
String | 0
Int | 1
Long | 2
Float | 3
Double | 4
Date | 5


### License

```
The MIT License (MIT)

Copyright (c) 2016 <NAME>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
```
{'fraction_non_alphanumeric': 0.10261337432744043, 'fraction_numerical': 0.006149116064565719, 'mean_word_length': 4.334016393442623, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '6754112', 'n_tokens_mistral': 690, 'n_tokens_neox': 643, 'n_words': 343}