bbc/localinclude

Name: localinclude

Owner: BBC

Description: Test your local HTML include with any page on the Internet

Created: 2017-01-13 09:32:44.0

Updated: 2018-02-01 12:33:22.0

Pushed: 2017-01-27 10:55:05.0

Homepage: null

Size: 8

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

localinclude

Test your local HTML include with any page on the Internet

Install

Localinclude is a commmand line tool written in NodeJS, so you need to install it globally from npm.

install -g localinclude
Usage

You can run localinclude from your project directory, here's a quick demo:

 '<h1>LOCALINCLUDE is awesome!!!</h1>' > example.inc
linclude --url https://www.google.com --dompos '#lga' --include example.inc

Once this is running visit the URL the terminal output reports and you'll see the Google homepage with the “LOCALINCLUDE is awesome!!!” written into it.

Parameters explained

To use localinclude you need to provide 3 parameters:


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.