0.1.11 • Published 4 months ago

basyx-typescript-sdk v0.1.11

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

GitHub Actions Workflow Status NPM Downloads NPM Version GitHub License

basyx-typescript-sdk

BaSyx TypeScript SDK for developing applications and components for the Asset Administration Shell (AAS)

Features

Clients for the AAS API components:

  • AAS Repository
  • Submodel Repository (coming soon)
  • Concept Description Repository (coming soon)
  • AAS Registry (coming soon)
  • Submodel Registry (coming soon)
  • AAS Discovery Service (coming soon)
  • AASX File Service (coming soon)

Utility functions for working with AAS data:

  • Coming soon

Installation

npm install basyx-typescript-sdk

See https://www.npmjs.com/package/basyx-typescript-sdk

Usage

import { AasRepositoryClient } from 'basyx-typescript-sdk';

async function getAllShells() {
    const baseURL = 'http://localhost:8081';
    const client = new AasRepositoryClient();

    try {
        const response = await client.getAllAssetAdministrationShells(baseURL);
        console.log('Asset Administration Shells fetched successfully:', response);
        // You can now use the response as needed
    } catch (error) {
        console.error('Error fetching Asset Administration Shells:', error);
    }
}

getAllShells();
0.1.10

4 months ago

0.1.11

4 months ago

0.1.2

4 months ago

0.1.8

4 months ago

0.1.7

4 months ago

0.1.9

4 months ago

0.1.4

4 months ago

0.1.3

4 months ago

0.1.6

4 months ago

0.1.5

4 months ago

0.1.1

5 months ago

0.1.0

5 months ago

0.0.1

5 months ago