{"id":23129132,"url":"https://github.com/wiredtiger/node-wiredtiger","last_synced_at":"2025-08-17T06:32:08.179Z","repository":{"id":16999954,"uuid":"19763105","full_name":"wiredtiger/node-wiredtiger","owner":"wiredtiger","description":null,"archived":false,"fork":false,"pushed_at":"2019-08-12T02:00:49.000Z","size":4185,"stargazers_count":12,"open_issues_count":1,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-03-26T05:28:39.205Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wiredtiger.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-05-14T02:15:04.000Z","updated_at":"2024-01-16T22:52:22.000Z","dependencies_parsed_at":"2022-07-26T11:32:12.745Z","dependency_job_id":null,"html_url":"https://github.com/wiredtiger/node-wiredtiger","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/wiredtiger%2Fnode-wiredtiger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiredtiger%2Fnode-wiredtiger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiredtiger%2Fnode-wiredtiger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiredtiger%2Fnode-wiredtiger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wiredtiger","download_url":"https://codeload.github.com/wiredtiger/node-wiredtiger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230098756,"owners_count":18172740,"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":[],"created_at":"2024-12-17T10:08:20.821Z","updated_at":"2024-12-17T10:08:21.349Z","avatar_url":"https://github.com/wiredtiger.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"WiredTiger Node.js API\n===============\n\nFast transactional storage - a Node.js wrapper around the\n[WiredTiger](http://wiredtiger.com) storage engine library.\n\nIntroduction\n------------\n\nWiredTiger is a fast transactional data storage engine that provides\nhigh throughput data access and storage in a concurrent environment.\n\nWiredTiger stores data on local disks. A single WiredTiger database can\ncontain multiple tables. Tables can be created in different formats to suit\nthe intended workload. Available table types are:\n * Log Structured Merge (LSM) tree. Especially good for high insert/update\n   workloads, where the volume of data is large.\n * Btree. Especially good for smaller datasets, or workloads that have a\n   relatively higher rate of queries compared to updates.\n\nPlatforms\n---------\n\nWiredTiger currently supports Linux, FreeBSD and Mac OS.\n\nUsage\n-----\n\nThe best way to see usage is to view the test code. The code at\ntest/test-basic.js is the recommended starting point.\n\nThe following might help (though it could be outdated).\n\n```\nvar wiredtiger = require('wiredtiger');\n\nvar conn = new wiredtiger.WTConnection('/path/to/database/directory', 'create');\nconn.Open( function(err) {\n\tvar table = new wiredtiger.WTTable(\n\t    conn, \"table:test\", \"create,key_format=S,value_format=S\");\n\ttable.Open( function(err) {\n\t\ttable.Put('abc', 'def', function(err) {\n\t\t\ttable.Search('abc', function(err, result) {\n\t\t\t\tconsole.log(\"Woo! got: \" + result);\n\t\t\t});\n\t\t});\n\t});\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiredtiger%2Fnode-wiredtiger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiredtiger%2Fnode-wiredtiger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiredtiger%2Fnode-wiredtiger/lists"}