Package: dir2json 0.1.0

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.
Authors:
dir2json_0.1.0.tar.gz
dir2json_0.1.0.zip(r-4.7-any)dir2json_0.1.0.zip(r-4.6-any)dir2json_0.1.0.zip(r-4.5-any)
dir2json_0.1.0.tgz(r-4.6-any)dir2json_0.1.0.tgz(r-4.5-any)
dir2json_0.1.0.tar.gz(r-4.7-any)dir2json_0.1.0.tar.gz(r-4.6-any)
dir2json_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
dir2json/json (API)
| # Install 'dir2json' in R: |
| install.packages('dir2json', repos = c('https://parmsam.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/parmsam/dir2json-r/issues
Pkgdown/docs site:https://parmsam.github.io
Last updated from:0ab384c9dc. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 128 | ||
| source / vignettes | OK | 155 | ||
| linux-release | OK | 118 | ||
| macos-release | OK | 149 | ||
| macos-oldrel | OK | 198 | ||
| windows-devel | OK | 60 | ||
| windows-release | OK | 65 | ||
| windows-oldrel | OK | 55 | ||
| wasm-release | OK | 111 |
Exports:as_file_listjson_decode_dirjson_encode_dirtext_file_extensionsvalidate_dir_jsonwrite_files
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Convert a File to a List | as_file_list |
| Decode JSON to a Directory | json_decode_dir |
| Encode a Directory to JSON | json_encode_dir |
| Get Text File Extensions | text_file_extensions |
| Validate Directory JSON Structure | validate_dir_json |
| Write Files to a Directory | write_files |