The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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.

Version: 0.1.0
Imports: base64enc, fs, jsonlite, rlang
Suggests: knitr, rmarkdown
Published: 2025-05-27
DOI: 10.32614/CRAN.package.dir2json
Author: Sam Parmar [aut, cre, cph]
Maintainer: Sam Parmar <parmartsam at gmail.com>
BugReports: https://github.com/parmsam/dir2json-r/issues
License: MIT + file LICENSE
URL: https://github.com/parmsam/dir2json-r, https://parmsam.github.io/dir2json-r/
NeedsCompilation: no
Materials: README NEWS
CRAN checks: dir2json results

Documentation:

Reference manual: dir2json.pdf
Vignettes: shiny (source, R code)

Downloads:

Package source: dir2json_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: dir2json_0.1.0.zip, r-oldrel: dir2json_0.1.0.zip
macOS binaries: r-release (arm64): dir2json_0.1.0.tgz, r-oldrel (arm64): dir2json_0.1.0.tgz, r-release (x86_64): dir2json_0.1.0.tgz, r-oldrel (x86_64): dir2json_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=dir2json to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.