2.0.6 • Published 6 years ago

tc-ads-injection v2.0.6

Weekly downloads
2
License
ISC
Repository
-
Last release
6 years ago

Ads Injection Module

This is a npm package that injects ads on the selected search provider. The ads that will be injected will be based on the ads provided that being configured. Right now, the supported search provider are Bing, Yahoo and Google.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

NodeJS

Installing

Install node dependencies

npm install

Deployment

As of the moment, this is still in public npm package repository. Eventually, we will move this into a private repository. For deployment, we are using Google Authenticator for 2-way auth. You can install it on your device that was connected to your npm registry account.

Set version (For versioning, refer to Versioning section)

npm version {version_type} // patch, minor, major

Publish the updates

npm publish

Using the package

Install the package

npm i tc-ads-injection

Import package config on Setup class

cd app/background/modules

Add the import line

import { Config as AdsConfig } from 'tc-ads-injection';

Fetch config

On onInstall method, add the following,

AdsConfig.fetch(extId); // extId is the pre-defined extension id which we used during configuration

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

2.0.6

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

1.2.23

6 years ago

1.2.22

6 years ago

1.2.21

6 years ago

1.2.20

6 years ago

1.2.19

6 years ago

1.2.18

6 years ago

1.2.17

6 years ago

1.2.16

6 years ago

1.2.15

6 years ago

1.2.13

6 years ago

1.2.12

6 years ago

1.2.11

6 years ago

1.2.10

6 years ago

1.2.9

6 years ago

1.2.8

6 years ago

1.2.7

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago