pyrolabs / overwire

A library for loading dependencies over the wire
MIT License
1 stars 0 forks source link
babel cli overwire pyro webpack

Overwire

NPM version Build Status Dependency Status Code Climate License Code Style

Library for loading scripts and dependencies over the wire (network)

Getting Started

overwire is universal, so it can be used client-side or server-side.

  1. Install through: npm install --save overwire

  2. 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)
    })

Documentation