Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afeiship/leancloud
Leancloud api.
https://github.com/afeiship/leancloud
get lc leancloud set
Last synced: 22 days ago
JSON representation
Leancloud api.
- Host: GitHub
- URL: https://github.com/afeiship/leancloud
- Owner: afeiship
- License: mit
- Created: 2019-04-24T07:01:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-25T15:27:04.000Z (4 months ago)
- Last Synced: 2024-10-12T14:26:36.778Z (about 1 month ago)
- Topics: get, lc, leancloud, set
- Language: TypeScript
- Homepage:
- Size: 90.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# leancloud
> Leancloud api.[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]## installation
```shell
npm install @jswork/leancloud
```## usage
```js
import LC from '@jswork/leancloud';
// @tsconfig: { moduleResolution: node }
// get
const res = await LC.get('60f77c8e85071346450995d3');
// value
const value = await LC.val('60f77c8e85071346450995d3');
// set
await LC.set('60f77c8e85071346450995d3', 'abc-test');
```## license
Code released under [the MIT license](https://github.com/afeiship/leancloud/blob/master/LICENSE.txt).[version-image]: https://img.shields.io/npm/v/@jswork/leancloud
[version-url]: https://npmjs.org/package/@jswork/leancloud[license-image]: https://img.shields.io/npm/l/@jswork/leancloud
[license-url]: https://github.com/afeiship/leancloud/blob/master/LICENSE.txt[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/leancloud
[size-url]: https://github.com/afeiship/leancloud/blob/master/dist/leancloud.min.js[download-image]: https://img.shields.io/npm/dm/@jswork/leancloud
[download-url]: https://www.npmjs.com/package/@jswork/leancloud