Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/afeiship/next-to-dingtalk-url

Wrap url in dingtalk.
https://github.com/afeiship/next-to-dingtalk-url

ding dingtalk next open url

Last synced: about 1 month ago
JSON representation

Wrap url in dingtalk.

Awesome Lists containing this project

README

        

# next-to-dingtalk-url
> Wrap url in dingtalk.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-to-dingtalk-url
```

## usage
```js
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](https://github.com/afeiship/next-to-dingtalk-url/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-to-dingtalk-url
[version-url]: https://npmjs.org/package/@jswork/next-to-dingtalk-url

[license-image]: https://img.shields.io/npm/l/@jswork/next-to-dingtalk-url
[license-url]: https://github.com/afeiship/next-to-dingtalk-url/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-to-dingtalk-url
[size-url]: https://github.com/afeiship/next-to-dingtalk-url/blob/master/dist/next-to-dingtalk-url.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-to-dingtalk-url
[download-url]: https://www.npmjs.com/package/@jswork/next-to-dingtalk-url