Pip Requirements File Parser for JavaScript

JSON →
library 1.0.3 ·javascript
verified May 27, 2026

pip-requirements-js is a pure JavaScript and TypeScript library designed to robustly parse `requirements.txt`, `constraints.txt`, and `requirements.in` files, strictly adhering to pip's documentation on the requirements file format and PEP 508 for dependency specification. The current stable version is 1.0.3, released on March 9, 2026. The project shows an active development cadence, with several releases in late 2025 and early 2026. Its key differentiator is the use of the Ohm.js parser generator, ensuring high fidelity to Python's pip parsing logic, including complex environment markers and file inclusions. It offers both 'full' and 'loose' parsing modes, with options to include source location information for advanced use cases like editor tooling.

total hits 19
actors 9 distinct systems
last hit 20h ago Bingbot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
ChatGPT-User
1
Search engines
2

top countries 🇺🇸 United States · 🇫🇷 France · 🇷🇺 Russia · 🇨🇦 Canada · 🇩🇪 Germany