Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.29 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.29 KB

next-to-dingtalk-url

Wrap url in dingtalk.

version license size download

installation

npm install -S @jswork/next-to-dingtalk-url

usage

import '@jswork/next-to-dingtalk-url';

const url = 'https://www.mipengine.org/';
const dingUrl = nx.toDingtalkUrl(url);

console.log(dingUrl);
// dingtalk://dingtalkclient/page/link?pc_slide=true&url=https%3A%2F%2Fwww.mipengine.org%2F

license

Code released under the MIT license.