1.0.6 • Published 8 years ago

trace-redirect v1.0.6

Weekly downloads
970
License
MIT
Repository
github
Last release
8 years ago

trace-redirect

trace where redirects end up.

Installation

npm install trace-redirect

Usage

tracer(url)

Return

Promise object. includes url that resolved.

Examples

Node.js

const tracer = require('trace-redirect').default;
const result = await tracer("https://goo.gl/0PcY3k");
console.log(result);

/* 
'https://github.com/prezzemolo/trace-redirect'
*/

TypeScript

import tracer from 'trace-redirect';
const result = await tracer("https://goo.gl/0PcY3k");
console.log(result);

/* 
'https://github.com/prezzemolo/trace-redirect'
*/

License

The MIT License. See LICENSE.

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2-1

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago