ocpp-messages-ts

1.0.2 • Public • Published

Typescript data types for OCPP

OCPP versions supported:

  • 2.0.1

Usage:

// Example using the MeterValueType in one of the types in my app

import { MeterValueType } from "ocpp-messages-ts/types/TransactionEventRequest";

type MyTransactionType = {
    DeviceId                 :string;
    EnergyTransferInProgress :bool;
    EnergyTransferStarted    :string;
    EnergyTransferStopped    :string;
    MeterValues              :MeterValueType[];
};

Package Sidebar

Install

npm i ocpp-messages-ts

Weekly Downloads

7

Version

1.0.2

License

Apache-2.0

Unpacked Size

712 kB

Total Files

261

Last publish

Collaborators

  • gregszalay