@jswork/next-to-dingtalk-url
v1.0.0
Published
Wrap url in dingtalk.
Downloads
24
Readme
next-to-dingtalk-url
Wrap url in dingtalk.
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.