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

When performing a parse of a toml file that has a huge set of items inside an array I get an error with `RangeError: Invalid array length` ![image](https://user-images.githubusercontent.com/11156362/172613056-fa970434-7e9f-4a73-80cc-5682d692360c.png) I've created...

How do you write a js object to a TOML file?

Now users can optionally supply the type of the parsed data like the following: ```ts const myData = toml.parse(myInput); // ^? MyData ``` instead of doing ```ts const myData: MyData...

Per the [TOML local time spec](https://github.com/toml-lang/toml#local-time), the following expressions should parse: ```ini lt1 = 07:32:00 lt2 = 00:32:00.999999 ``` I receive the following error: ``` throw peg$buildException(null, peg$maxFailExpected, peg$maxFailPos); ^...

To use an example from the `TOML` [README](https://github.com/toml-lang/toml#table), specifying a nested table as a key using dot syntax like this fails: ```javascript [dog."tater.man"] type.name = "pug" > Error at line...

there currently is no info about what is backward-incompatible between 2.x and 3.x. after some click-around on github, it seems the changes are these two: https://github.com/BinaryMuse/toml-node/pull/53 https://github.com/BinaryMuse/toml-node/pull/53 it would be...

If I have a TOML file like: ``` "" = "foo bar" ``` this will be converted to `{"undefined": "foo bar"}` This same issue exists at any level of nesting....

`json` => `toml` file

Now that TOML 0.5.0 is released, what is the plan to support the new features? (I'm not using toml-node directly, but rather a different tool which relies on this.) Thanks!

Hello @BinaryMuse and other contributors 😄 ## Context I am creating a set of **re-usable** and **modular** Toml related tooling in [here](https://github.com/bd82/toml-tools). One of the first modules is a [Toml...