@shuuji3/kintone-utility
v1.1.0
Published
Utility library for development on Kintone platform.
Downloads
16
Readme
Kintone Utility for JavaScript
Utility library for development on the Kintone platform.
Note
This library has been deprecated by the original authors and the successor is @kintone/kintone-js-sdk.
This fork is made for the legacy project which depends on Kintone Utility. Because new features such as Cursor API are appended to Kintone platform which break some functions of this Kintone Utility.
Usage
npm library
This library is published as npm library at npmjs.com for using from your bundle systems such as Webpack.
At first, add kintone-utility
into your package dependencies:
> yarn add @shuuji3/kintone-utility
Then, use kintone-utility
from your project like the following:
// main.js
import kintoneUtility from '@shuuji3/kintone-utility';
const { records } = await kintoneUtility.rest.getAllRecordsByQuery({
id: 1234,
query: 'count >= 1000',
fields: ['name', 'quality', 'count'],
});
console.log(records);
CDN
As the library is published as npm library, you can use unpkg CDN service to fetch this library. unpkg is mainly backed by Cloudflare and Google Cloud. 🙏✨
Latest version
https://unpkg.com/@shuuji3/kintone-utility/docs/kintoneUtility.min.js
Original version (v0.4.1) by Cybozu
https://unpkg.com/@shuuji3/[email protected]/docs/kintoneUtility.min.js
Download File
- Download
kintoneUtility.min.js
from Releases or copy the following URL: https://shuuji3.github.io/kintone-utility/kintoneUtility.min.js - Upload the file to Kintone by following directions here: Setting JavaScript Customization on Kintone or add the copied URL.
- You can use the
kintoneUtility
object on your code!
Documentation
Additionally, I'd like to recommend to read API Docs on Kintone Developer Program.
Requirements for development
- Node.js (6.11.3+)
Development
$ yarn install
$ yarn start
kintoneUtility.min.js
will be created in docs/
.
Original Copyright
Copyright(c) Cybozu, Inc.