Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theplenkov-npm/json2fs
JSON to file-system convertor
https://github.com/theplenkov-npm/json2fs
Last synced: about 1 month ago
JSON representation
JSON to file-system convertor
- Host: GitHub
- URL: https://github.com/theplenkov-npm/json2fs
- Owner: theplenkov-npm
- License: mit
- Created: 2023-01-13T12:48:50.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-14T15:54:54.000Z (almost 2 years ago)
- Last Synced: 2024-11-09T01:05:39.608Z (about 1 month ago)
- Language: TypeScript
- Size: 699 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Transform JSON files to key-based file structure
The use case for such CLI comes from kubernetes world. Sometimes we need to store secrets as key-value files.
Here is the example from SAP world: https://www.npmjs.com/package/@sap/xsenv#usage-in-kubernetes
The input however sometimes come as a JSON file. For example as Cloud Foundry service binding.
The purpose of this CLI is to create these files from provided JSON## Installation
```
npm i -D json2fs
```## Usage
```
Usage: json2fs [options]Converts json to file tree
Options:
--to Directory name to store the files
--from json file (by default is taken from STDIN)
-h, --help display help for command
```