GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - leancloud/javascript-sdk: LeanCloud JavaScript SDK

BranchesTags
Open more actions menu

Latest commit

 

History

1,130 Commits
1,130 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
demo
demo
 
 
recordings
recordings
 
 
script
script
 
 
src
src
 
 
test
test
 
 
webpack
webpack
 
 
.editorconfig
.editorconfig
 
 
.eslintrc.js
.eslintrc.js
 
 
.gitignore
.gitignore
 
 
.jsdocrc.json
.jsdocrc.json
 
 
.npmignore
.npmignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
babel.config.json
babel.config.json
 
 
browserslist
browserslist
 
 
changelog.md
changelog.md
 
 
core.d.ts
core.d.ts
 
 
core.js
core.js
 
 
live-query-core.d.ts
live-query-core.d.ts
 
 
live-query-core.js
live-query-core.js
 
 
live-query.d.ts
live-query.d.ts
 
 
live-query.js
live-query.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
storage.d.ts
storage.d.ts
 
 

Repository files navigation

LeanCloud JavaScript SDK

npm gzip size Build Status Codecov Known Vulnerabilities

JavaScript SDK for LeanCloud.

安装

// npm 安装
npm install leancloud-storage --save
// npm 安装 2.x 版本
npm install leancloud-storage@2 --save

文档

  • 安装文档
  • 使用文档
  • API 文档

支持

  • 如果你发现了新的 bug,或者有新的 feature request,请新建一个 issue
  • 在使用过程中遇到了问题时
    • 如果你是商用版用户,请新建一个工单。
    • 也可以在 论坛 提问、讨论。

贡献

如果你希望为这个项目贡献代码,请按以下步骤进行:

  • fork 这个项目
  • npm install 安装相关依赖
  • 开发和调试
  • 确保测试全部通过 npm run test,浏览器环境打开 test/test.html
  • 提交并发起 Pull Request

项目的目录结构说明如下:

├── dist                               // 编译之后生成的文件将会在此目录下
│   ├── av.js                          // 浏览器版本
│   ├── av-min.js
│   ├── av-weapp.js                    // 小程序版本
│   ├── av-weapp-min.js
│   ├── node                           // 目录中为生成的 nodejs 版本代码
│   └── ...
├── src
│   ├── index.js                          // node.js 环境入口文件
│   └── ...
└── test                               // 单元测试

发布流程

  1. 遵循 semver 提升版本号
    • src/version.js
    • package.json
  2. 对照 commit 历史写 changelog
  3. 提交当前所有改动
  4. 等待持续集成 pass
  5. 使用 GitHub 基于 dist 分支发布一个 release
  6. Fetch and checkout remote dist branch 并确认该提交的内容是即将发布的版本
  7. npm publish(npm publish,需 npm 协作者身份),如果是 pre-release 版本需要带 next tag

About

LeanCloud JavaScript SDK

docs.leancloud.cn/sdk/storage/guide/js/

Topics

leancloudsdkserverless

Resources

Readme
MIT license
Activity
Custom properties

Stars

341 stars

Watchers

37 watching

Forks

120 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.