Skip to content

code4fukui/json-storage

Repository files navigation

json-storage

  • JSONStorage, a JSON file storage manager for Deno
  • json-storage, a service with JSONStorage on Deno and wsutil

usage

set

import { fetchJSON } from "https://js.sabae.cc/fetchJSON.js";

const res = await fetchJSON("/api/path/file", jsonvalue);

get

import { fetchJSON } from "https://js.sabae.cc/fetchJSON.js";

const res = JSON.stringify(await fetchJSON("/api/path/file"));

how to start

deno serve --port 8888 --host "[::]" -A json-storage.js

open http://localhost:8888/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published