@apple/cktool.database

Apple CKTool JS main package

Usage no npm install needed!

<script type="module">
  import appleCktoolDatabase from 'https://cdn.skypack.dev/@apple/cktool.database';
</script>

README

CKTool JS - Main Package

This package is the main package of the CKTool JS JavaScript client library suite. You use this package and a target package to work with CloudKit.

It contains operations to fetch teams and containers for the authorized user as well as utility functions and TypeScript types used to communicate with CloudKit servers. This package also contains operations to work with CloudKit schemas and records.

This package cannot be used on its own. Your project must also include one of @apple/cktool.target.nodejs if targeting Node.js or @apple/cktool.target.browser if targeting web browsers.

Getting Started

See Apple Developer Documentation for more details on how to get started using CKTool JS.