Node.js File Tailing Utility
JSON →tail is a zero-dependency Node.js module designed for monitoring and reading file changes in real-time, similar to the `tail -f` command-line utility. It provides an event-driven API to react to new lines appended to a file. The current stable version is 2.2.6. Recent releases indicate a consistent maintenance cadence with bug fixes and minor feature additions (e.g., `nLines` flag in v2.2.0). A key differentiator is its minimal dependency footprint and its robust handling of file rotation and renaming scenarios through the `follow` option, mimicking `tail -F`. It transitioned from CoffeeScript to pure ES6 in December 2020, ensuring modern JavaScript compatibility and performance. It supports various configurations for line separators, file watching options, and starting positions.
Traffic · last 30 days ↓12% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany