<commit_before># dbf.js

A n-th indexed DBF reader


```js

var dbf = new Dbf("questions.dbf");

dbf.get(42, function(err, record) {
    
    if (err)
        console.log("Houston! We have a problem!");
    else
        console.log("The universal question is mine!\n%j", record);
});

```


This work is incomplete, I need support more data types!<commit_msg>Table<commit_after># dbf.js

A n-th indexed DBF reader


```js

var dbf = new Dbf("questions.dbf");

dbf.get(42, function(err, record) {
    
    if (err)
        console.log("Houston! We have a problem!");
    else
        console.log("The universal question is mine!\n%j", record);
});

```


This work is incomplete, I need support more data types!


At moment these are supported datatypes:


DBF DataType | Observations
---------------------------
C | Support only ISO-8859-1
N | Numeric like text 
{'fraction_non_alphanumeric': 0.15661252900232017, 'fraction_numerical': 0.010440835266821345, 'mean_word_length': 2.7850877192982457, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6377868', 'n_tokens_mistral': 304, 'n_tokens_neox': 279, 'n_words': 94}