ocpp-types
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Open Charge Point Protocol (OCPP) v1.6 type declarations

This package provides TypeScript type declarations for the OCPP (Open Charge Point Protocol) version 1.6. It includes type definitions for all OCPP message types and their properties.

Installation

npm install ocpp-types --save-dev

or

yarn add ocpp-types --dev

Usage

Once installed, you can import the provided type definitions into your TypeScript project:

import { OCPPMessage, StatusNotificationRequest } from 'ocpp-types';

// Use the types in your code
const message: OCPPMessage = {
    // ...
};

const statusRequest: StatusNotificationRequest = {
    // ...
};

Contributing

Contributions are welcome! If you find any issues or would like to add new features or improvements, please open an issue or submit a pull request on the GitHub repository.

License

This package is licensed under the MIT License.

Package Sidebar

Install

npm i ocpp-types

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

12.7 kB

Total Files

5

Last publish

Collaborators

  • brandonellis0