TCP Connection String Parser
JSON →connection-parse is a lightweight utility designed to parse TCP connection strings, transforming formats like `1.1.1.1:1111` into structured objects containing `host`, `port`, and the original `string`. It also supports parsing multiple connection strings from arrays, arguments, or weighted object formats, and allows for custom merge functions to extend the parsed data. Originally extracted from common logic in other modules, its primary purpose is simplifying the handling of server addresses. The package is currently at version 0.0.7, with its last publish occurring over nine years ago, indicating it is an abandoned project with no active development or maintenance. Users should be aware of its unmaintained status and consider modern alternatives for new projects, as it lacks contemporary features like ESM support and TypeScript typings.
Traffic · last 30 days ↓29% vs prev 7d
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada