logfmt: Key-Value Logger and Parser

JSON →
library 1.4.0 ·javascript abandoned
verified May 27, 2026

logfmt is a Node.js library for working with the key-value logging convention popularized by Heroku. It provides functionalities for both serializing JavaScript objects into logfmt strings (e.g., `foo=bar a=14 baz="hello kitty"`) and parsing logfmt strings back into objects. The library also includes streaming capabilities for processing logfmt data from sources like `stdin` or HTTP requests, making it suitable for creating logplex drains or general structured log consumption/production. Currently at version 1.4.0, the package has not seen active development or releases since 2018, indicating an abandoned status. Its key differentiator is its direct support for the logfmt format, unlike general-purpose JSON loggers, making it specific to ecosystems leveraging this convention.

total hits 18
actors 8 distinct systems
last hit 1d ago human
MetaBot
4
GPTBot
2
Script
2
ClaudeBot
1
ChatGPT-User
1
Search engines
1
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇺🇦 Ukraine · 🇮🇳 India · 🇩🇪 Germany