browser-sync-core

Browsersync's Engine

Usage no npm install needed!

<script type="module">
  import browserSyncCore from 'https://cdn.skypack.dev/browser-sync-core';
</script>

README

Browsersync core Build Status

the engine that powers Browsersync - can be used standalone

Install

npm i browser-sync-core -D

Usage

bs.js

const bs = require('browser-sync-core');
bs.create({
    serveStatic: ['./app']
    files: ['./app']
});

package.json

{
  "name": "your-project",
  "scripts": {
    "start": "node bs"
  },
  "devDependencies": {
    "browser-sync-core": "0.0.2",
  },
  "dependencies": {}
}