sync-trace-redirect
v1.0.4-sync.3
Published
trace where redirects end up synchronously.
Downloads
5
Readme
sync-trace-redirect
trace where redirects end up synchronously.
❕❕ NOTICE ❕❕
This is synchronized package.
DON'T USE THIS PACKAGE without where you had better need to write synchronously in your product app.
It is more preferable to REWRITE YOUR CODE Asynchronously with USING the FOLLOWING package.
これは同期化されたパッケージです。
製品のアプリケーションで同期的に書く必要に迫られている場所を除き、このパッケージを利用しないでください。
以下のパッケージを利用しながら、非同期的にコードを書き換えることが望ましいです。
https://github.com/prezzemolo/trace-redirect
Installation
npm install sync-trace-redirect
Usage
tracer(url)
Return
Promise object. includes url that resolved.
Examples
Node.js
const tracer = require('sync-trace-redirect').default;
const result = tracer("https://goo.gl/zcve4a");
console.log(result);
/*
'https://github.com/tamaina/sync-trace-redirect'
*/
TypeScript
import tracer from 'sync-trace-redirect';
const result = tracer("https://goo.gl/zcve4a");
console.log(result);
/*
'https://github.com/tamaina/sync-trace-redirect'
*/
License
The MIT License. See LICENSE.