toml-node icon indicating copy to clipboard operation
toml-node copied to clipboard

TOML parser for Node.js and the Browser. Parses TOML v0.4.0

Results 21 toml-node issues
Sort by recently updated
recently updated
newest added

This appears to have been introduced by: https://github.com/BinaryMuse/toml-node/issues/21 To sum up the problem: Given the following TOML: ```toml ["the\ key"] one = "one" two = 2 three = false ```...

The [unexpected behavior](https://github.com/toml-lang/toml/issues/436) has been [clarified to be a bug](https://github.com/toml-lang/toml/pull/441). It's still present in v2.3.3.

`toml-node` cannot parse the following valid toml ```toml str-key = { "a" = 1 } ``` Error at line 1 column 13: Expected "}", [ \t] or [A-Za-z0-9_\-] but "\""...

This makes `toml.parse` about 2x faster for typical inputs. Computing `line()` and `column()` for every node is expensive, and the information is only needed for error messages. `offset()` is much...

I compare toml-node and js-yaml to load toml/yaml file with a large array config. demo.toml: [[arr]] name = "abcdefg" demo.yaml: arr: - name: "abcdefg" and, repeat the same element 1000...

This makes toml.parse() about 2x faster for ordinary inputs.

I decided to systematically benchmark various parsers on equivalent input. Here are some results, running on my laptop. Empty or almost-empty file. json is the native JSON.parse, and it will...

As per #39, the library is fairly slow relative to similar libraries, especially in certain cases (e.g. the example showed in #39 is much slower than `example.toml` from the repo)....

Hi, I got the error at loading a toml file below. ``` position = [51.01973684210527,15] ``` In JS context, both `Float` and `Integer` are the same type - `Number`, so...

Writing only the date portion of a date-time (i.e. ```birthday=1977-06-28```) is supposed to be supported