culture-data-format

This package provides an an executable script, by name orxe-culture-format.

Usage no npm install needed!

<script type="module">
  import cultureDataFormat from 'https://cdn.skypack.dev/culture-data-format';
</script>

README

ORXE-CULTURE-SCRIPT

This package provides an an executable script, by name orxe-culture-format.

This script is required for formatting culture resources in different formats.

Data Format is decided as per the upload and response from enablement team.

Example:

Developer will be writting JSON in following format.

{
  "hello_world": {
    "value": "Hello World",
    "desc": "Description For Hello World"
  }
}

This JSON will be formated as per the requirement of payload and response from the enablement team.

Payload (JSON FILE which will be provided to Enablement Team)

{
    "content": [
        {
            "key":"hello_world","value":"Hello World","desc":"Description For Hello World"}
        ]
    }

Response which we will be getting from enablement team.

    {
        "hello_world":"Hello World"
    }