Library for loading scripts and dependencies over the wire (network)
overwire is universal, so it can be used client-side or server-side.
-
Install through:
npm install --save overwire -
Include and use
overwire:
import { load } from 'overwire'; load([ 'some/script/path' ]) // load scripts over the wire .then(() => { console.log('scripts loaded successfully!') }) .catch((err) => { console.error('error loading scripts:', err) }) ```