shaneapowell/Tweak the JSON
Write, Update and Read values from a JSON file. Runs in it's own docker alpine container with nodejs.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| action | Either 'read' or 'write'. If 'read' is specified, the value param is ignored. if 'write', the output value is returned. | yes | — |
| filename | The filename to access. | yes | — |
| field | The field to R/W. eg. Can be nested ['firstName'] will reference { 'firstName': 'john' }. ['user']['firstName'] will reference { 'user': { 'firstName': 'doe' } } | yes | — |
| value | The value to set to the file. Only used when the 'write' action is specified. | no | — |
| outputs | — | — | — |
Outputs
no outputs