<commit_before>Lists of Maps and Strings (lamos) is a very simple, plain-text data serialization format:

```lamos
format:
  - plain-text
  - line-delimited
indentation:
  - spaces
  - two at a time
nesting:
  - list item
  -
    item key: and value
    another key: and another value
# This is a comment.

# The parser ignores blank lines.
```

Compared to its nearest, cousin, YAML, lamos:

1.  has many, many fewer data types.  No boolean.  No numbers.  No dates.  No extensible type system.  Just lists, maps, and strings.

2.  is much more strict.  Nested structures are always indented.  There is no "shorthand" syntax for maps or lists.  Indentation is always two spaces.  Multi-line strings are not allowed.

3.  is much, much easier to parse.  The code is short, simple, and easy to port.

This JavaScript implementation exposes an API reminiscent of the built-in `JSON` object:

```javascript<commit_msg>Capitalize LAMOS in README when used as acronym<commit_after>Lists of Maps and Strings (LAMOS) is a very simple, plain-text data serialization format:

```lamos
format:
  - plain-text
  - line-delimited
indentation:
  - spaces
  - two at a time
nesting:
  - list item
  -
    item key: and value
    another key: and another value
# This is a comment.

# The parser ignores blank lines.
```

Compared to its nearest, cousin, YAML, LAMOS:

1.  has many, many fewer data types.  No boolean.  No numbers.  No dates.  No extensible type system.  Just lists, maps, and strings.

2.  is much more strict.  Nested structures are always indented.  There is no "shorthand" syntax for maps or lists.  Indentation is always two spaces.  Multi-line strings are not allowed.

3.  is much, much easier to parse.  The code is short, simple, and easy to port.

This JavaScript implementation exposes an API of the built-in `JSON` object:

```javascript
{'fraction_non_alphanumeric': 0.07243243243243243, 'fraction_numerical': 0.003243243243243243, 'mean_word_length': 3.3348946135831383, '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': '1128939', 'n_tokens_mistral': 578, 'n_tokens_neox': 555, 'n_words': 269}