1.1.1 • Published 12 months ago
ocpp-types v1.1.1
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.