npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ctrlx-datalayer-flatbuffers

v3.4.0

Published

Flatbuffers for the ctrlX Data Layer API

Downloads

219

Readme

Bosch Rexroth ctrlX Data Layer Node.js API Flatbuffers

This is a Flatbuffers library for the ctrlX Data Layer Node.js API.

Usage

Quick Overview

This library provides generated TypeScript classes of FlatBuffers models for use in the ctrlX Data Layer API for Node.js.

Install

npm install ctrlx-datalayer-flatbuffers --save

Usage

The following code snippet demonstrates how to create a FlatBuffers byte buffer with the FlatBuffers builder and the provided TypeScript classes:

//Build metadata
const builder = new flatbuffers.Builder(1024);

//Setup allowed operations   
const operationsOffset = AllowedOperations.createAllowedOperations(
    builder, true, true, false, false, true);

const descriptionOffset = builder.createString('my description');
const descriptionUrlOffset = builder.createString('my descriptionUrl');
const displayNameOffset = builder.createString('my displayName');
const unitOffset = builder.createString('my unit');

//Setup metadata
Metadata.startMetadata(builder);
Metadata.addDescription(builder, descriptionOffset);
Metadata.addDescriptionUrl(builder, descriptionUrlOffset);
Metadata.addDisplayName(builder, displayNameOffset)
Metadata.addUnit(builder, unitOffset);
Metadata.addNodeClass(builder, NodeClass.Variable);
Metadata.addOperations(builder, operationsOffset);

const offset = Metadata.endMetadata(builder);
Metadata.finishMetadataBuffer(builder, offset);

const metaDataBytes = builder.asUint8Array()

Samples

It might be helpful to have a look at the README Node.js Apps @ ctrlX document to find implementations of the different use-cases.

Support

This repository is provided and maintained by Bosch Rexroth.

Developer Community

Feel free to check out and be part of the ctrlX AUTOMATION Community. Get additional support, e.g. related to Bosch Rexroth Devices, Apps, SDKs and Services, or leave some ideas and feedback.

SDK Forum

Please join the discussions in the SDK Forum ctrlX AUTOMATION:

Issues

To report bugs, request changes and discuss new ideas you may also have a look at the issue tracker of this repository: https://github.com/boschrexroth/ctrlx-automation-sdk/issues

License

SPDX-FileCopyrightText: Bosch Rexroth AG SPDX-License-Identifier: MIT

Terms and Conditions for the Provision of Products of Bosch Rexroth AG Free of Charge

  • See LICENSES/tc_for_provision_of_products_free_of_charge.pdf inside this package. Please download the latest version from https://www.boschrexroth.com. Navigate to Legal Notice (footer) -> Terms and Conditions for the Provision of Products Free of Charge

  • See LICENSES/*.fossinfo.xml for used open source software licenses.

About

Please note that any trademarks, logos and pictures contained or linked to in this Software are owned by or copyright © Bosch Rexroth AG and not licensed under the Software's license terms.

https://www.boschrexroth.com

Bosch Rexroth AG
Bgm.-Dr.-Nebel-Str. 2
97816 Lohr am Main
GERMANY