dir2json: Convert Directory to JSON

Convert a directory structure into a JSON format. This package lets you recursively traverse a directory and convert its contents into a JSON object, making it easier to import code base from file systems into large language models.

Package details

AuthorSam Parmar [aut, cre, cph]
MaintainerSam Parmar <parmartsam@gmail.com>
LicenseMIT + file LICENSE
Version0.1.0
URL https://github.com/parmsam/dir2json-r https://parmsam.github.io/dir2json-r/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("dir2json")

Try the dir2json package in your browser

Any scripts or data that you put into this service are public.

dir2json documentation built on June 8, 2025, 11:31 a.m.