@cognite/sdk-beta
TypeScript icon, indicating that this package has built-in type declarations

5.7.4 • Public • Published

Cognite Javascript SDK beta

The package @cognite/sdk-beta provides convenient access to the beta version of the Cognite API. Setup is very similar to stable, but use the following command to install:

yarn add @cognite/sdk@npm:@cognite/sdk-beta

or with npm

npm install @cognite/sdk@npm:@cognite/sdk-beta --save

This will install the package @cognite/sdk-beta as a dependency, but aliased as @cognite/sdk. In package.json, it will look like this:

    "@cognite/sdk": "npm:@cognite/sdk-beta@^X.X.X"

This will download @cognite/sdk-beta and pretend it is @cognite/sdk. With the beta package installed under an alias, you don't need to modify your code to access beta features. Import the CogniteClient as you normally would:

import { CogniteClient } from '@cognite/sdk';

Documentation

See the reference doc of CogniteClient here.

The beta API is a superset of stable. See the stable readme.

Readme

Keywords

none

Package Sidebar

Install

npm i @cognite/sdk-beta

Weekly Downloads

14

Version

5.7.4

License

Apache-2.0

Unpacked Size

68.6 kB

Total Files

13

Last publish

Collaborators

  • npmwatchtower
  • cognitecicd