{"id":20181825,"url":"https://github.com/nichoth/vdom-file-upload","last_synced_at":"2026-05-10T01:22:56.626Z","repository":{"id":57391207,"uuid":"45763499","full_name":"nichoth/vdom-file-upload","owner":"nichoth","description":"File upload widget for virtual-dom","archived":false,"fork":false,"pushed_at":"2015-11-13T21:10:04.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-19T01:32:52.184Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://8e481e51d65c8cbb88f6fc630831d2e083d3e05c.htmlb.in","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nichoth.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-08T02:17:15.000Z","updated_at":"2017-05-16T22:55:26.000Z","dependencies_parsed_at":"2022-09-19T05:01:30.608Z","dependency_job_id":null,"html_url":"https://github.com/nichoth/vdom-file-upload","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichoth%2Fvdom-file-upload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichoth%2Fvdom-file-upload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichoth%2Fvdom-file-upload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichoth%2Fvdom-file-upload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nichoth","download_url":"https://codeload.github.com/nichoth/vdom-file-upload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616692,"owners_count":19991543,"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-14T02:36:50.186Z","updated_at":"2025-12-01T06:04:33.946Z","avatar_url":"https://github.com/nichoth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vdom file upload\n\nFile upload UI component for virtual dom rendering engine.\n\n[demo](https://8e481e51d65c8cbb88f6fc630831d2e083d3e05c.htmlb.in)\n\n\n## install\n\n    $ npm install vdom-file-upload\n\n\n## example\n\n```js\nvar vdom = require('virtual-dom');\nvar FileUpload = require('vdom-file-upload');\n\n// return `observ-struct` instance\nvar state = FileUpload({\n  label: 'example',\n  onChange: function(files) {\n    console.log('change', files);\n  }\n});\n\nvar loop = require('main-loop')(\n  state(),\n  // pass in a hyperscript function\n  FileUpload.render.bind(null, vdom.h),\n  vdom\n);\n\nstate(loop.update);\ndocument.getElementById('content').appendChild(loop.target);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnichoth%2Fvdom-file-upload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnichoth%2Fvdom-file-upload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnichoth%2Fvdom-file-upload/lists"}