<commit_before># hosts

A module for editing `hosts` files programmatically.

## Install

`npm i <this-git-url> --save`

## Usage

```
const hosts = require('hosts');

// Sync write to hosts file.
hosts.set('127.0.0.1', 'yourside.dev');

console.log('path', hosts.getPath());
console.log('entries', hosts.get());
```
<commit_msg>update install script<commit_after># hosts

A module for editing `hosts` files programmatically.

## Install

`npm i @ascari/hosts --save`

## Usage

```
const hosts = require('hosts');

// Sync write to hosts file.
hosts.set('127.0.0.1', 'yourside.dev');

console.log('path', hosts.getPath());
console.log('entries', hosts.get());
```

{'fraction_non_alphanumeric': 0.19849624060150375, 'fraction_numerical': 0.01804511278195489, 'mean_word_length': 4.55, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3968138', 'n_tokens_mistral': 250, 'n_tokens_neox': 228, 'n_words': 60}