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)dir2json_0.1.0.zip(r-4.6)dir2json_0.1.0.zip(r-4.5)
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✨
card.svg |card.png
dir2json/json (API)
NEWS
| # 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-x86_64 | OK | 105 | ||
| source / vignettes | OK | 187 | ||
| linux-release-x86_64 | OK | 104 | ||
| macos-release-arm64 | OK | 70 | ||
| macos-oldrel-arm64 | OK | 67 | ||
| windows-devel | OK | 77 | ||
| windows-release | OK | 79 | ||
| windows-oldrel | OK | 77 | ||
| wasm-release | OK | 95 |
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 |
