1.0.2 • Published 9 years ago

add-affiliate-querystring v1.0.2

Weekly downloads
4
License
WTFPL
Repository
github
Last release
9 years ago

Doesn't throw errors on bad urls (just returns them without modification)

Will only apply changes on the domain/host you specify.

Usage

var createAdderFunction = require('./')
var addAffiliateCode = createAdderFunction('shoppingsite.com', 'code', 'my-money-making-code')

addAffiliateCode('http://shoppingsite.com/thing') // => 'http://shoppingsite.com/thing?code=my-money-making-code'

addAffiliateCode('http://google.com/thing') // => 'http://google.com/thing'

License

WTFPL

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago