{"id":15680543,"url":"https://github.com/doowb/vinyl-dat","last_synced_at":"2025-05-07T11:15:24.994Z","repository":{"id":20105355,"uuid":"23374970","full_name":"doowb/vinyl-dat","owner":"doowb","description":"Vinyl adapter for dat","archived":false,"fork":false,"pushed_at":"2015-10-16T03:09:11.000Z","size":148,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T20:40:40.983Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doowb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-27T03:01:06.000Z","updated_at":"2021-04-12T22:05:32.000Z","dependencies_parsed_at":"2022-07-12T15:17:34.462Z","dependency_job_id":null,"html_url":"https://github.com/doowb/vinyl-dat","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fvinyl-dat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fvinyl-dat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fvinyl-dat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fvinyl-dat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doowb","download_url":"https://codeload.github.com/doowb/vinyl-dat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252545855,"owners_count":21765636,"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-10-03T16:42:43.352Z","updated_at":"2025-05-07T11:15:24.969Z","avatar_url":"https://github.com/doowb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vinyl-dat [![NPM version](https://badge.fury.io/js/vinyl-dat.svg)](http://badge.fury.io/js/vinyl-dat)\n\n\n\u003e Vinyl adapter for dat\n\n## Install\nInstall with [npm](npmjs.org):\n\n```bash\nnpm i vinyl-dat --save-dev\n```\n\n## Usage\n\n```js\nvar dat = require('dat');\nvar vdat = require('vinyl-dat');\nvar debug = require('gulp-debug');\n\n// new gulp task with callback\ngulp.task('demo', function (cb) {\n\n  // new dat database instance\n  var db = dat('path/to/dat/database', function (err) {\n    if (err) return cb(err);\n\n    // new stream from dat\n    var stream = vdat.src(db)\n      // show each record\n      .pipe(debug())\n      // write changed records to same database\n      .pipe(vdat.dest(db));\n\n    // use stream on end to close the database when finished\n    stream.on('end', function () {\n      db.close(cb);\n    });\n\n  });\n});\n```\n\n## API\n\n\n\n## Author\n\n**Brian Woodward**\n \n+ [github/doowb](https://github.com/doowb)\n+ [twitter/doowb](http://twitter.com/doowb) \n\n## License\nCopyright (c) 2014 Brian Woodward, contributors.  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 27, 2014._","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoowb%2Fvinyl-dat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoowb%2Fvinyl-dat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoowb%2Fvinyl-dat/lists"}