{"id":18256152,"url":"https://github.com/serapath/tempfile-stream","last_synced_at":"2025-04-08T22:27:00.422Z","repository":{"id":57376669,"uuid":"79245935","full_name":"serapath/tempfile-stream","owner":"serapath","description":"makes a temporary file to write to, which is deleted on process.exit","archived":false,"fork":false,"pushed_at":"2017-01-17T16:35:31.000Z","size":2,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-19T12:07:31.292Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/tempfile-stream","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/serapath.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":"2017-01-17T16:14:34.000Z","updated_at":"2017-01-17T16:35:55.000Z","dependencies_parsed_at":"2022-08-29T21:20:56.783Z","dependency_job_id":null,"html_url":"https://github.com/serapath/tempfile-stream","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/serapath%2Ftempfile-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serapath%2Ftempfile-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serapath%2Ftempfile-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serapath%2Ftempfile-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serapath","download_url":"https://codeload.github.com/serapath/tempfile-stream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247937259,"owners_count":21021221,"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-11-05T10:20:11.354Z","updated_at":"2025-04-08T22:27:00.393Z","avatar_url":"https://github.com/serapath.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tempfile-stream\nmakes a temporary file to write to, which is deleted on process.exit\n\n# usage\n\n```js\nvar tempfile = require('tempfile-stream')\n\nvar file$ = tempfile('.js') // specify extension if needed\n\nvar filename = file$.path()\n\nfile$.write('console.log(\"foobar\")')\n\n// test\nvar fs = require('fs')\nconsole.log(filename)\nfs.readFile(filename, function (error, filecontent) {\n  if (error) throw error\n  console.log(filecontent.toString())\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserapath%2Ftempfile-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserapath%2Ftempfile-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserapath%2Ftempfile-stream/lists"}