{"id":15497484,"url":"https://github.com/heapwolf/levelweb","last_synced_at":"2026-03-10T23:35:49.836Z","repository":{"id":25206476,"uuid":"28630395","full_name":"heapwolf/levelweb","owner":"heapwolf","description":"LevelDB over http or https.","archived":false,"fork":false,"pushed_at":"2015-01-15T12:38:23.000Z","size":210,"stargazers_count":29,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-19T12:25:24.161Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heapwolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-30T12:42:52.000Z","updated_at":"2022-05-04T23:14:33.000Z","dependencies_parsed_at":"2022-08-23T03:40:15.962Z","dependency_job_id":null,"html_url":"https://github.com/heapwolf/levelweb","commit_stats":null,"previous_names":["hij1nx/levelweb"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/heapwolf/levelweb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Flevelweb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Flevelweb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Flevelweb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Flevelweb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heapwolf","download_url":"https://codeload.github.com/heapwolf/levelweb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Flevelweb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30362121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"ssl_error","status_checked_at":"2026-03-10T21:40:59.357Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-02T08:38:31.510Z","updated_at":"2026-03-10T23:35:44.814Z","avatar_url":"https://github.com/heapwolf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SYNOPSIS\nLeveldb over `http` or `https`.\n\n# USAGE\n```js\nvar http = require('http');\nvar levelweb = require('levelweb');\nvar db = require('level')('./db');\nvar opts = { prefix: '/' };\n\n//\n// like this...\n//\nhttp.createServer(levelweb(db, opts)).listen(8080);\n\n//\n// or like this... since the levelweb() function just\n// returns a function that accepts request and response \n// streams.\n//\nvar level = levelweb(db, opts);\n\nhttp.createServer(function(req, res) {\n  level(req, res);\n}).listen(8080);\n```\n\n# HTTP API\n\n## PUT\n```bash\ncurl -XPUT \"localhost:8080/keyname\" --data \"somedata\"\nvalue\n```\n\n## GET\n```bash\ncurl -XGET \"localhost:8080/keyname\"\n```\n\n## DELETE\n```bash\ncurl -XDELETE \"localhost:8080/keyname\"\n```\n\n## CREATE READ STREAM\nAll of the options in the query string are optional.\n\n```bash\ncurl \"localhost:8080/?gte=users\u0026lte=users~\u0026limit=10\u0026reverse=true\u0026keys=true\u0026valyes=true\"\n```\n\n## CREATE LIVE STREAM\n```bash\ncurl \"localhost:8080/?tail=true\u0026old=false\u0026live=true\"\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheapwolf%2Flevelweb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheapwolf%2Flevelweb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheapwolf%2Flevelweb/lists"}