Skip to content

afeiship/thunder-url

Repository files navigation

thunder-url

Download url to thunder url.

version license size download

installation

npm install @jswork/thunder-url

usage

import ThunderURL from '@jswork/thunder-url';

// encode:
const url = 'https://www.baidu.com';
const thunderUrl = ThunderURL.encode(url);
console.log(thunderUrl);

// decode:
const url2 = ThunderURL.decode(thunderUrl);
console.log(url2);

license

Code released under the MIT license.