{"id":15497208,"url":"https://github.com/jwerle/stordb","last_synced_at":"2025-10-05T00:53:31.154Z","repository":{"id":18438116,"uuid":"21625629","full_name":"jwerle/stordb","owner":"jwerle","description":"[DEAD] StorDB = V8 + (INSERT DATABASE HERE)","archived":false,"fork":false,"pushed_at":"2014-08-26T13:37:06.000Z","size":380,"stargazers_count":24,"open_issues_count":7,"forks_count":3,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-07-07T07:49:13.541Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","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/jwerle.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}},"created_at":"2014-07-08T18:52:42.000Z","updated_at":"2024-11-28T16:29:39.000Z","dependencies_parsed_at":"2022-09-10T12:53:01.149Z","dependency_job_id":null,"html_url":"https://github.com/jwerle/stordb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jwerle/stordb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fstordb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fstordb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fstordb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fstordb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwerle","download_url":"https://codeload.github.com/jwerle/stordb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fstordb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278395916,"owners_count":25979691,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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:31:48.034Z","updated_at":"2025-10-05T00:53:31.119Z","avatar_url":"https://github.com/jwerle.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"stordb\n======\n\nStorDB = LevelDB + V8 (ES6)\n\n## status\n\nWIP\n\n## building\n\n```sh\n$ make dependencies\n$ PREFIX=/usr/local make\n$ PREFIX=/usr/local make install\n```\n\n## example\n\n```js\n\nlet ldb = require('ldb')\n\nexport function main (argv) {\n  let db = ldb.open('/path/to/leveldb');\n  db.put('foo', 'bar');\n  console.log(db.get('foo'));\n}\n```\n\n## modules\n\n`stordb` makes use of ES6 module features. The `export` function is\ncurrently supported and all stordb modules are compat with CommonJS. The\n`export` keyword attaches its operand to the exports object.\n\n*person.js*\n\n```js\n\nexport Person\n\nfunction Person (name) {\n  this.name = name;\n}\n```\n*main.js*\n\n```js\nlet Person = require('./person').Person\n\nexport main (argv) {\n  let joe = Person(argv[3]);\n  console.log(joe.name);\n}\n```\n\nModules can be defined in modules with the `module` keyword:\n\n*tcp.js*\n\n```js\nmodule client {\n  Client (addr) {\n    // magic\n  }\n\n  export function create (addr) {\n    return new Client(addr);\n  }\n}\n\nmodule server {\n  function Server () {\n    // magic\n  }\n\n  Server.prototype.listen = function (port) {\n    // listen\n  };\n\n  export function create () {\n    return new Server();\n  }\n}\n```\n\n*main.js*\n\n```js\nlet tcp = require('./tcp')\n\nlet client = tcp.client.create('0.0.0.0:5432');\nlet server = tcp.server.create();\n\nserver.listen(5432);\n```\n\n## license\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwerle%2Fstordb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwerle%2Fstordb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwerle%2Fstordb/lists"}