Home / npm packages / browser-sync
Every file of browser-sync@3.0.4 as published on npm: 73 files, 361 KB. Search them by exact text or regex, in milliseconds.
It uses: new Function(), process.env, the fs module, http / https.
| API | In browser-sync | |
|---|---|---|
| eval() runs a string as JavaScript | No | Who does |
| new Function() builds a function from a string, like eval (with or without new) | Yes: 1 file e.g. dist/lodash.custom.js | See the lines |
| child_process starts other programs | No | Who does |
| process.env reads environment variables | Yes: 2 files e.g. dist/async.js | See the lines |
| the fs module reads and writes files | Yes: 7 files e.g. dist/bin.js | See the lines |
| http / https makes or serves HTTP requests with Node's own modules | Yes: 1 file e.g. dist/server/utils.js | See the lines |
| fetch() makes HTTP requests | No | Who does |
| XMLHttpRequest makes HTTP requests the old browser way | No | Who does |
| crypto hashes, encrypts or makes random numbers | No | Who does |
| WebAssembly loads WebAssembly code | No | Who does |
| document.cookie reads or writes browser cookies | No | Who does |
| install scripts runs a script when it's installed | No | Who does |
Exact matches in the published files, so a mention in a comment counts too: open the lines to check.
| File | Size |
|---|---|
dist/lodash.custom.js | 152 KB |
dist/server/utils.js | 16 KB |
dist/browser-sync.js | 15 KB |
dist/default-config.js | 14 KB |
LICENSE | 11 KB |
dist/index.js | 11 KB |
dist/utils.js | 10 KB |
dist/async.js | 9.5 KB |
dist/connect-utils.js | 8.0 KB |
dist/bin.js | 7.3 KB |
dist/logger.js | 7.3 KB |
dist/options.js | 6.6 KB |
dist/server/proxy-server.js | 5.1 KB |
dist/plugins.js | 4.9 KB |
dist/server/proxy-utils.js | 4.3 KB |
dist/cli/cli-options.js | 4.2 KB |
dist/internal-events.js | 3.5 KB |
cli-options/opts.start.json | 3.4 KB |
dist/http-protocol.js | 3.4 KB |
dist/snippet.js | 2.9 KB |
dist/cli/command.start.js | 2.7 KB |
readme.md | 2.7 KB |
dist/public/stream.js | 2.6 KB |
dist/file-event-handler.js | 2.6 KB |
dist/hooks.js | 2.5 KB |
package.json | 2.5 KB |
dist/server/static-server.js | 2.4 KB |
dist/server/index.js | 2.4 KB |
dist/sockets.js | 2.3 KB |
dist/file-watcher.js | 2.1 KB |
Version 3.0.4 of browser-sync publishes 73 files of source, 361 KB in all, not counting images, fonts and source maps.
No: browser-sync doesn't call eval() anywhere in its published files.
No: browser-sync doesn't use child_process anywhere in its published files.
No: browser-sync has no preinstall, install or postinstall script in its package.json.
The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.