Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saqqdy/uni-use
Some useful composition api
https://github.com/saqqdy/uni-use
speechrecognition speechsynthesis uni-use use-downloads use-recognition use-speak use-textarea vue-hooks
Last synced: about 1 month ago
JSON representation
Some useful composition api
- Host: GitHub
- URL: https://github.com/saqqdy/uni-use
- Owner: saqqdy
- License: mit
- Created: 2023-02-06T04:16:15.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-03T06:26:00.000Z (7 months ago)
- Last Synced: 2024-11-08T01:41:21.191Z (about 1 month ago)
- Topics: speechrecognition, speechsynthesis, uni-use, use-downloads, use-recognition, use-speak, use-textarea, vue-hooks
- Language: TypeScript
- Homepage:
- Size: 560 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# @uni-use/monorepo
Collection of common composition apis for vue2 & vue3
[![NPM version][npm-image]][npm-url]
[![Codacy Badge][codacy-image]][codacy-url]
[![License][license-image]][license-url][![Sonar][sonar-image]][sonar-url]
## Function list
- A js utilities that contains all the methods for downloading files: [use-downloads](https://github.com/saqqdy/uni-use/tree/master/packages/downloads)
- A combined api for editable html and textarea: [use-textarea](https://github.com/saqqdy/uni-use/tree/master/packages/textarea)
- A composition api for SpeechSynthesis, supports vue2.0 and vue3.0: [use-speak](https://github.com/saqqdy/uni-use/tree/master/packages/speak)
- A composition api for SpeechRecognition, supports vue2.0 and vue3.0: [use-recognition](https://github.com/saqqdy/uni-use/tree/master/packages/recognition)
- (Developing...) An easy to use axios based http client combinatorial api with support for return sequentially: [@uni-use/request](https://github.com/saqqdy/uni-use/tree/master/packages/request)
- Mounted state in ref: [@uni-use/mounted](https://github.com/saqqdy/uni-use/tree/master/packages/utils/mounted)
- SSR compatibility isSupported: [@uni-use/supported](https://github.com/saqqdy/uni-use/tree/master/packages/utils/supported)
- Promised one-time watch for changes: [use-until](https://github.com/saqqdy/uni-use/tree/master/packages/utils/until)
- Collection of shared Utilities: [@uni-use/shared](https://github.com/saqqdy/uni-use/tree/master/packages/utils/shared)## Install
e.g: use `use-downloads`
```shell
# by pnpm
pnpm install use-downloads# by npm
npm install -D use-downloads# by yarn
yarn add use-downloads
```## Usage
### General use
```js
import useDownloads from 'use-downloads'
const { download } = useDownloads()download('url', options)
```2. by require
```js
const useDownloads = require('use-downloads')
const { download } = useDownloads()download('url', options)
```### Use CDN resource
```html
```
## Issues & Support
Please open an issue [here](https://github.com/saqqdy/uni-use/issues).
## License
[MIT](LICENSE)
[npm-image]: https://img.shields.io/npm/v/@uni-use/monorepo.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@uni-use/monorepo
[codacy-image]: https://app.codacy.com/project/badge/Grade/f70d4880e4ad4f40aa970eb9ee9d0696
[codacy-url]: https://www.codacy.com/gh/saqqdy/@uni-use/monorepo/dashboard?utm_source=github.com&utm_medium=referral&utm_content=saqqdy/@uni-use/monorepo&utm_campaign=Badge_Grade
[license-image]: https://img.shields.io/badge/License-MIT-blue.svg
[license-url]: LICENSE
[sonar-image]: https://sonarcloud.io/api/project_badges/quality_gate?project=saqqdy_uni-use
[sonar-url]: https://sonarcloud.io/dashboard?id=saqqdy_uni-use