{"id":18690083,"url":"https://github.com/ottiker/safejs","last_synced_at":"2025-11-08T07:30:39.000Z","repository":{"id":78117220,"uuid":"106539681","full_name":"ottiker/safejs","owner":"ottiker","description":"A more abstract SAFE DOM API","archived":false,"fork":false,"pushed_at":"2017-11-26T17:53:24.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T02:27:07.712Z","etag":null,"topics":["api","dom","maidsafe","safenetwork"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ottiker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-11T10:26:33.000Z","updated_at":"2017-10-11T14:57:08.000Z","dependencies_parsed_at":"2023-02-25T09:01:28.523Z","dependency_job_id":null,"html_url":"https://github.com/ottiker/safejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ottiker%2Fsafejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ottiker%2Fsafejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ottiker%2Fsafejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ottiker%2Fsafejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ottiker","download_url":"https://codeload.github.com/ottiker/safejs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239550283,"owners_count":19657541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","dom","maidsafe","safenetwork"],"created_at":"2024-11-07T10:46:28.301Z","updated_at":"2025-11-08T07:30:38.950Z","avatar_url":"https://github.com/ottiker.png","language":"JavaScript","readme":"# safejs\nA more abstract SAFE DOM API\n\n## Methods\n#### Factory\nExample:\n```js\nimport Safejs = from \"./index.js\"\n\nSafejs({\n    id: \"my.safe.web.app\",\n    name: \"WebApp Test8\",\n    vendor: \"vendor inc.\",\n    containers: {\n        \"_documents\": [\"Read\", \"Insert\", \"Update\", \"Delete\"]\n    },\n    own_container: true\n}).then((appInst) =\u003e {\n\n    // use app instance..\n    app.fs.read(address).then(console.log.bind(console));\n\n    // use app instance..\n    app.fs.readUtf8(address).then(console.log.bind(console));\n});\n```\n\n#### App.fs.read\n#### App.fs.readUtf8\n#### App.fs.write\n#### ...\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fottiker%2Fsafejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fottiker%2Fsafejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fottiker%2Fsafejs/lists"}