1.0.8 • Published 2 years ago
iojson-ts v1.0.8
Hellođź‘‹
How to use?
Install
npm install iojson-ts
uninstall
npm uninstall iojson-ts
example
function | data | fileName | return |
---|---|---|---|
exportJSON | a json format data | a string, name the exportd file | none |
importJSON | a json file | none | Promise |
import { exportJSON, importJSON } from 'iojson-ts';
const testJSON = {
a: 1
}
exportJSON(testJSON, "testName");
importJSON().then(data => {})