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

https://github.com/itibbers/iojson

Import and export json file with pure javascript in browser.
https://github.com/itibbers/iojson

browser configuration-files export import json pure-javascript

Last synced: 9 months ago
JSON representation

Import and export json file with pure javascript in browser.

Awesome Lists containing this project

README

          

# iojson
Import and export json file with pure javascript in browser.

## Install

```bash
npm install iojson
```

## Demo

```js
import iojson from 'iojson'

const data = {
// your json data
}

// export a .json file
iojson.exportJSON(data, 'filename')

// import json from file
iojson.importJSON().then(data => {
// some code
})
```