randexp.js
Create random strings that match a given regular expression
What XERJ indexed
Snapshot
The whole repository at commit c45c6b8ca7 (2026-10-18). master is 5 commits ahead.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-18. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
noderegular-expressiontesting
Example questions
- How does randexp.js implement node?
- Where does randexp.js handle “convert to typescript”?
- Show the regular-expression code in randexp.js.
Inside the indexed corpus
- 18 files, 197.4 KB in total, about 11.0 KB per file.
- The selected commit changed 20 of those files (111.1%).
- On GitHub since 2011-12-06, last push 2026-10-18, 180 commits on master.
- The pin is 5 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for fent/randexp.js on 2026-10-31, and the LICENSE file at commit c45c6b8ca7 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
fent (@fent) has 1 selected repository on the hub.
Using XERJ with randexp.js
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Best grep alternative for AI coding agents (2026)
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
The prompt
Paste it into your AI agent. It clones fent/randexp.js at the pinned commit and indexes it on your machine.
Search the GitHub repository fent/randexp.js with XERJ (https://hub.xerj.org/corpus/fent--randexp-js). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/fent/randexp.js randexp.js && git -C randexp.js checkout c45c6b8ca7a472159ce07ae74bbc410e6e8ed407 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./randexp.js --url http://127.0.0.1:9200 --prefix randexp-js --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
fentAPI design and specification corporaredocly-clixobotyi--cc-foundry-golangjose-jsJSPrismarine/JSPrismarine0xTanzim/nextRushsudokar/aws-sdk-vitest-mock
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.
