{"id":13396720,"url":"https://github.com/BrowserSync/browser-sync","last_synced_at":"2025-03-13T23:31:43.488Z","repository":{"id":11156888,"uuid":"13527761","full_name":"BrowserSync/browser-sync","owner":"BrowserSync","description":"Keep multiple browsers \u0026 devices in sync when building websites. https://browsersync.io","archived":false,"fork":false,"pushed_at":"2024-09-24T16:18:27.000Z","size":14925,"stargazers_count":12230,"open_issues_count":572,"forks_count":752,"subscribers_count":239,"default_branch":"master","last_synced_at":"2025-03-13T00:33:20.217Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://discord.gg/2d2xUThp","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BrowserSync.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.js","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2013-10-12T19:35:45.000Z","updated_at":"2025-03-11T22:48:10.000Z","dependencies_parsed_at":"2023-02-13T23:00:51.665Z","dependency_job_id":"e40c4f2a-1f00-4e12-888e-eafca65ac0ab","html_url":"https://github.com/BrowserSync/browser-sync","commit_stats":{"total_commits":1882,"total_committers":112,"mean_commits":"16.803571428571427","dds":"0.20775770456960685","last_synced_commit":"791e9919938fb0bc69fdcaee98d56b461dc83ea6"},"previous_names":[],"tags_count":265,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrowserSync%2Fbrowser-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrowserSync%2Fbrowser-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrowserSync%2Fbrowser-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrowserSync%2Fbrowser-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrowserSync","download_url":"https://codeload.github.com/BrowserSync/browser-sync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243318743,"owners_count":20272139,"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-07-30T18:01:01.046Z","updated_at":"2025-03-13T23:31:43.454Z","avatar_url":"https://github.com/BrowserSync.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.npmjs.com/package/browser-sync\" title=\"NPM version\"\u003e\n \u003cimg src=\"https://img.shields.io/npm/v/browser-sync.svg?style=flat-square\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/browser-sync\"\u003e\n \u003cimg src=\"https://img.shields.io/npm/dm/browser-sync.svg?style=flat-square\" /\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003ca href=\"https://www.browsersync.io\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/BrowserSync/browsersync.github.io/master/public/img/logo-gh.png\" /\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003eKeep multiple browsers \u0026 devices in sync when building websites.\u003c/p\u003e\n\u003cp align=\"center\"\u003eFollow \u003ca href=\"https://twitter.com/browsersync\"\u003e@Browsersync\u003c/a\u003e on twitter for news \u0026 updates.\u003c/p\u003e\n\u003cp align=\"center\"\u003eAsk questions on \u003ca href=\"https://discord.gg/2d2xUThp\"\u003eDiscord\u003c/a\u003e\u003c/p\u003e\n\n## Features\n\nPlease visit [browsersync.io](https://browsersync.io) for a full run-down of features\n\n## Requirements\n\nBrowsersync works by injecting an asynchronous script tag (`\u003cscript async\u003e...\u003c/script\u003e`) right after the `\u003cbody\u003e` tag\nduring initial request. In order for this to work properly the `\u003cbody\u003e` tag must be present. Alternatively you\ncan provide a custom rule for the snippet using [snippetOptions](https://www.browsersync.io/docs/options/#option-snippetOptions)\n\n## Upgrading from 1.x to 2.x ?\nProviding you haven't accessed any internal properties, everything will just work as\nthere are no breaking changes to the public API. Internally however, we now use an\nimmutable data structure for storing/retrieving options. So whereas before you could access urls like this...\n\n```js\nbrowserSync({server: true}, function(err, bs) {\n  console.log(bs.options.urls.local);\n});\n```\n\n... you now access them in the following way:\n\n```js\nbrowserSync({server: true}, function(err, bs) {\n  console.log(bs.options.getIn([\"urls\", \"local\"]));\n});\n```\n\n## Install and trouble shooting\n\n[browsersync.io docs](https://browsersync.io)\n\n## Integrations / recipes\n\n[Browsersync recipes](https://github.com/Browsersync/recipes)\n\n\n## Support\n\nIf you've found Browser-sync useful and would like to contribute to its continued development \u0026 support, please feel free to send a donation of any size - it would be greatly appreciated!\n\n[Support via PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=shakyshane%40gmail%2ecom\u0026lc=US\u0026item_name=browser%2dsync)\n\n## Supported by\n\nOriginally supported by [JH](https://www.wearejh.com) - they provided financial support as well as access to a professional designer to help with Branding.\n\nApache 2\nCopyright (c) 2021 Shane Osbourne\n","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=shakyshane%40gmail%2ecom\u0026lc=US\u0026item_name=browser%2dsync"],"categories":["浏览器","JavaScript","others","插件","{{ Mobile }}","Inspiration","Plugins"],"sub_categories":["实时加载","Live Reload"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBrowserSync%2Fbrowser-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBrowserSync%2Fbrowser-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBrowserSync%2Fbrowser-sync/lists"}