{"id":17445993,"url":"https://github.com/jamen/vinyl-write","last_synced_at":"2025-04-02T11:22:57.053Z","repository":{"id":57392690,"uuid":"55017693","full_name":"jamen/vinyl-write","owner":"jamen","description":"Write vinyl objects to the file system","archived":false,"fork":false,"pushed_at":"2017-01-24T14:06:07.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-24T17:41:42.015Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/jamen.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":"2016-03-29T23:34:54.000Z","updated_at":"2023-02-19T08:59:47.000Z","dependencies_parsed_at":"2022-09-19T06:10:47.765Z","dependency_job_id":null,"html_url":"https://github.com/jamen/vinyl-write","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fvinyl-write","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fvinyl-write/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fvinyl-write/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fvinyl-write/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamen","download_url":"https://codeload.github.com/jamen/vinyl-write/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246803273,"owners_count":20836532,"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-17T18:19:52.096Z","updated_at":"2025-04-02T11:22:57.027Z","avatar_url":"https://github.com/jamen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vinyl-write [![NPM version](https://badge.fury.io/js/vinyl-write.svg)](https://npmjs.org/package/vinyl-write) [![Build Status](https://travis-ci.org/jamen/vinyl-write.svg?branch=master)](https://travis-ci.org/jamen/vinyl-write)\n\n\u003e Write vinyl objects to the file system\n\n```javascript\nconst write = require('vinyl-write')\nconst Vinyl = require('vinyl')\n\n// Get a `Vinyl` object somehow\nconst file = new Vinyl({ ...options })\n\n// Write it\nwrite(file, function (err) {\n  if (err) console.error(err)\n})\n```\n\n## Installation\n\n```shell\n$ npm install --save vinyl-write\n```\n\n## Usage\n\n### `write(file, [callback])`\n\nWrites a [`Vinyl`](https://github.com/gulpjs/vinyl) object to the file system, with a completion callback.\n\n  - `file` (`Vinyl`): Vinyl object you are writing.\n  - `callback` (`function`): Optional completion callback.\n\nThe callback receives `(err)` as parameter.\n\n```javascript\nwrite(file, function (err) {\n  // ...\n})\n```\n\n## License\n\n[MIT](LICENSE) \u0026copy; Jamen Marzonie\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamen%2Fvinyl-write","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamen%2Fvinyl-write","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamen%2Fvinyl-write/lists"}