An open API service indexing awesome lists of open source software.

https://github.com/avine/dojo-json-viewer

Just a small dojo to test some build tools...
https://github.com/avine/dojo-json-viewer

babel browserify jquery requirejs typescript

Last synced: about 2 months ago
JSON representation

Just a small dojo to test some build tools...

Awesome Lists containing this project

README

          

# dojo-json-viewer

Using Babel and RequireJS.

We want to develop a little page that displays a JSON structure in a nice and friendly way.
The page shows an input field where the user can enter the URL of the JSON structure.
The page then displays an array with 3 columns.
The first column contains the key.
The second column shows a preview of the value depending on its type:
- String : shows the first 10 characters
- Array : shows the size of the array
- Object : shows the number of keys
The third column contains the type (string, array, object).
The array will only show the 10 first keys in the alphabetic order.

#### Execute the following commands to install and run the app in your local browser:

```bash
npm install
npm run build
npm start
```