README
get-json
Installation
npm add @arzyu/get-json
Usage
import { getJson } from "@arzyu/get-json";
console.log(getJson("/path/to/file.json")); // read json file into object
Read json file into object
<script type="module">
import arzyuGetJson from 'https://cdn.skypack.dev/@arzyu/get-json';
</script>
npm add @arzyu/get-json
import { getJson } from "@arzyu/get-json";
console.log(getJson("/path/to/file.json")); // read json file into object