types_plugin_frc_nw_table
v1.1.0
Published
An awesome TypeScript plugin
Readme
FRC Network Table Bridge Types
What is this?
This is a TS plugin for NextJS used for easier access of the FRC-robot-data-display-website API endpoints. It provides types and helpful functions for interacting with the API more easily.
Example Usage
import { NetworkTableBridge, TableEntree } from "types_plugin_frc_nw_table";
async function test() {
const res = await NetworkTableBridge.getEntries({
topic: "Test",
amount: 5,
time_since_last_update: 10,
});
res.Ok?.forEach((entry) => {
console.log(entry); // log entries
});
}Installation
In your NextJS app run...
yarn add types_plugin_frc_nw_tableor
npm install types_plugin_frc_nw_table