{"library":"smol-toml","type":"library","category":null,"description":"smol-toml is a JavaScript and TypeScript library designed for parsing and serializing TOML (Tom's Obvious, Minimal Language) documents. Currently at version 1.6.1, it offers a small, fast, and highly compliant implementation of the TOML specification, supporting the latest TOML 1.1.0 standard since version 1.6.0. It maintains a regular release cadence with recent updates addressing security vulnerabilities and feature enhancements. Differentiating itself from other often outdated or unmaintained TOML parsers in the JavaScript ecosystem, smol-toml is noted as the most downloaded TOML parser on npm, actively used in production systems. While generally robust, it explicitly notes some non-compliance with the `toml-test` suite for performance reasons, such as not rejecting invalid UTF-8 or certain invalid dates. It also provides options for handling integers as BigInts to prevent precision loss, a feature introduced in v1.4.0.","language":"javascript","status":"active","version":"1.6.1","tags":["javascript","toml","parser","serializer","typescript"],"install":[{"cmd":"npm install smol-toml","imports":["import { parse } from 'smol-toml'","import { stringify } from 'smol-toml'","import TOML from 'smol-toml'"]},{"cmd":"yarn add smol-toml","imports":[]},{"cmd":"pnpm add smol-toml","imports":[]}],"homepage":null,"github":"https://github.com/squirrelchat/smol-toml","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/smol-toml","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/smol-toml/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}