UNPKG

ocpp-types

Version:

TypeScript declaration file for Open Charge Point Protocol (OCPP) v1.6

37 lines (26 loc) 931 B
# 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 ```bash npm install ocpp-types --save-dev ``` or ```bash yarn add ocpp-types --dev ``` ## Usage Once installed, you can import the provided type definitions into your TypeScript project: ```typescript 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.