{"id":18940350,"url":"https://github.com/donejs/demo-streaming-dev-server","last_synced_at":"2025-09-23T03:56:36.481Z","repository":{"id":136943629,"uuid":"83049807","full_name":"donejs/demo-streaming-dev-server","owner":"donejs","description":"A streaming dev server to demonstrate great streaming technologies","archived":false,"fork":false,"pushed_at":"2019-06-20T16:37:08.000Z","size":70,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-25T09:41:29.089Z","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/donejs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-24T14:32:50.000Z","updated_at":"2020-07-30T12:40:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ecca61e-f045-4fae-a9d5-04bada0075c9","html_url":"https://github.com/donejs/demo-streaming-dev-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/donejs/demo-streaming-dev-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fdemo-streaming-dev-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fdemo-streaming-dev-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fdemo-streaming-dev-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fdemo-streaming-dev-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donejs","download_url":"https://codeload.github.com/donejs/demo-streaming-dev-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fdemo-streaming-dev-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276512733,"owners_count":25655450,"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-23T02:00:09.130Z","response_time":73,"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-11-08T12:22:14.836Z","updated_at":"2025-09-23T03:56:36.460Z","avatar_url":"https://github.com/donejs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# donejs-streaming-dev-server\n\nBefore you can develop apps or tools that consume [streaming data](https://github.com/donejs/donejs/issues/834), you need a service that streams data in chunks.\n\nThis npm package bootstraps a **local node server** to act as a static file server while also providing an API to facilitate streaming data from a PostgreSQL database in [ndjson](http://ndjson.org/) format.\n\nIt's a great starting point for your next streaming data JavaScript project.\n\nTo see a working comparison of the speed increase when streaming database data versus using a traditional API, clone this repo to your machine and visit the [`demo`](./demo) folder for further instructions.\n\nTo start using `donejs-streaming-dev-server` in your own app, add it to your project and run it as outlined below.\n\n## Adding `donejs-streaming-dev-server` to your project\n\nInstall the package locally:\n\n```\nnpm install donejs-streaming-dev-server\n```\n\nIn the `scripts` section of your app's `package.json`, add the following:\n\n```json\n{\n\t\"scripts\": {\n\t\t...\n\t\t\"start\": \"donejs-streaming-dev-server\"\n\t}\n}\n```\n\nAlternatively, you can do a global install:\n\n```\nnpm install -g donejs-streaming-dev-server\n```\n\n## Running the streaming dev server\n\nIf you added `donejs-streaming-dev-server` as an npm script, you can run it with `npm start`.\n\nIf you have installed `donejs-streaming-dev-server` globally, run it with `donejs-streaming-dev-server`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonejs%2Fdemo-streaming-dev-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonejs%2Fdemo-streaming-dev-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonejs%2Fdemo-streaming-dev-server/lists"}