Levn is a JavaScript library that parses short human-entered text into JavaScript values according to an expected type (using type information for casting and validation). It is useful for turning config file values and command line arguments written in a concise notation into correctly typed values, including support for arrays, objects, tuples, dates, and regular expressions.
Project status
- The upstream repo (gkz/levn) shows an apparent last activity/push on 2023-07-18, but the most recent version “updates” in the provided history are from 2020 (0.4.1, 0.4.0). This suggests it is not cutting frequent tagged updates, and current maintenance level is unclear but likely low-to-moderate.
- Update cadence appears sporadic: 0.4.0 and 0.4.1 are both dated 2020-04-04, the prior tagged update is 0.3.0 from 2015-12-29, and there is no newer tagged update shown after 2020.
AI summary generated Today
Recent updates
0.4.1
4/4/2020Release 0.4.1 is a small update with no release notes provided. The code changes are limited to version metadata, a fix in string unescaping logic for single-quoted literals, and additional test coverage for those cases.
0.4.0
4/4/2020Version 0.4.0 updates Levn’s internals (LiveScript and dependency upgrades) and changes how String values are parsed and cast when the expected type is exactly [String] with explicit mode disabled. No release notes were provided, so the behavioral changes below are effectively undocumented.
Breaking0.3.0
12/29/2015Release 0.3.0 was published on 2015-12-29, but no release notes were provided by the publisher. As a result, there is not enough documented information to identify new features, breaking changes, bug fixes, security updates, or migration steps for developers.