{"id":16254611,"url":"https://github.com/tim-smart/node-multipart","last_synced_at":"2025-09-11T06:31:22.773Z","repository":{"id":2309724,"uuid":"3269269","full_name":"tim-smart/node-multipart","owner":"tim-smart","description":"Multipart stream encoder for node.js","archived":false,"fork":false,"pushed_at":"2014-06-15T23:40:33.000Z","size":139,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T10:51:12.294Z","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/tim-smart.png","metadata":{"files":{"readme":"README","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":"2012-01-25T22:30:00.000Z","updated_at":"2017-05-22T04:52:39.000Z","dependencies_parsed_at":"2022-09-05T14:50:36.730Z","dependency_job_id":null,"html_url":"https://github.com/tim-smart/node-multipart","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/tim-smart/node-multipart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-smart%2Fnode-multipart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-smart%2Fnode-multipart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-smart%2Fnode-multipart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-smart%2Fnode-multipart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tim-smart","download_url":"https://codeload.github.com/tim-smart/node-multipart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-smart%2Fnode-multipart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274589508,"owners_count":25312971,"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-11T02:00:13.660Z","response_time":74,"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-10-10T15:23:15.042Z","updated_at":"2025-09-11T06:31:22.513Z","avatar_url":"https://github.com/tim-smart.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"node-multipart\n==============\n\nA simple multipart message creation utility for Node.js, that has a nice stream-like interface.\n\n\nInstall\n-------\n\n    npm install multipart\n\n\nUsage\n-----\n\nFor a brief introduction to the api, take a look at test/simple.js. Otherwise:\n\n    var multipart = require('multipart')\n\n    // Create the stream object using the provided factory.\n    var my_mp_stream = multipart.createMultipartStream()\n\n    // Pipe the multipart message to stdout.\n    my_mp_stream.pipe(process.stdout)\n\n    // Write some stuff to the multipart stream. Take a look in test/ and index.js\n    // for more options and gimmicks.\n    my_mp_stream.write(\n      { 'Content-Disposition' : 'form-data; name=\"files\"'\n      , 'Content-Type'        : another_mp_stream.contentType(my_mp_stream)\n      }\n    , another_mp_stream\n    , function () {\n        console.log('FILESWRITTEN')\n      }\n    )\n\n    // Tie up the loose ends.\n    my_mp_stream.end(end_cb_fn)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftim-smart%2Fnode-multipart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftim-smart%2Fnode-multipart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftim-smart%2Fnode-multipart/lists"}