{"id":18687590,"url":"https://github.com/junosuarez/node-level-export","last_synced_at":"2025-09-10T21:38:04.175Z","repository":{"id":17303959,"uuid":"20074481","full_name":"junosuarez/node-level-export","owner":"junosuarez","description":"export a level-db database to a JSON stream","archived":false,"fork":false,"pushed_at":"2014-05-23T16:23:11.000Z","size":136,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-01T12:24:57.500Z","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":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/junosuarez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-22T19:41:20.000Z","updated_at":"2019-08-13T15:42:13.000Z","dependencies_parsed_at":"2022-08-25T13:02:31.030Z","dependency_job_id":null,"html_url":"https://github.com/junosuarez/node-level-export","commit_stats":null,"previous_names":["jden/node-level-export"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/junosuarez/node-level-export","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fnode-level-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fnode-level-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fnode-level-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fnode-level-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/junosuarez","download_url":"https://codeload.github.com/junosuarez/node-level-export/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fnode-level-export/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274529274,"owners_count":25302595,"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-09-10T02:00:12.551Z","response_time":83,"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-11-07T10:33:29.582Z","updated_at":"2025-09-10T21:38:04.088Z","avatar_url":"https://github.com/junosuarez.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# level-export\nexport a level-db database to a JSON stream\n\nsee also: [level-import](https://npm.im/level-import)\n\n## usage\n```js\nvar levelExport = require('level-export')\n\nlevelExport(levelUPdb)\n  .pipe(process.stdout)\n```\noutputs\n```console\n[\n{\"key\":\"a\",\"value\":\"o\"},\n{\"key\":\"b\",\"value\":\"m\"},\n{\"key\":\"c\",\"value\":\"g\"}\n]\n```\n\n## api\n\n### `levelExport(db: Object, opt: Object) =\u003e ReadableStream`\n\nCreates a readable JSON stream from a LevelUP database instance. This stream is suitable for dumping to a file for backup purposes.\n\n`opt` can have the following options:\n\n- `start` : string. start of export key range\n- `end` : string. end of export key range\n\n\n## installation\n\n    $ npm install level-export\n\n\n## running the tests\n\nFrom package root:\n\n    $ npm install\n    $ npm test\n\n\n## prior art\n\n- [level-to-json](https://github.com/kesla/level-to-json) - returns the whole db as a single JavaScript object. `level-export` uses a streaming interface instead and outputs JSON-serialized strings suitable for piping to a file or other destination.\n\n## contributors\n\n- jden \u003cjason@denizac.org\u003e\n\n\n## license\n\nISC. (c) MMXIV jden \u003cjason@denizac.org\u003e. See LICENSE.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunosuarez%2Fnode-level-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunosuarez%2Fnode-level-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunosuarez%2Fnode-level-export/lists"}