Welcome to the Leumas Data Types npm package! This package contains a collection of custom React data types designed to handle various specific kinds of data, providing utility and ease of use in frontend applications. For more detailed documentation and up-to-date examples, please visit our Cookbook.
To install the package, use the following command:
npm install leumas-data-types
Once installed, you can start importing the data types and components into your React project.
- Description: Handle area with various unit conversions (square meters, square kilometers, acres, square feet).
- Description: Represent force using Newton's Second Law (F = ma).
- Description: Represent kinetic energy (KE = 0.5 * m * vยฒ).
- Description: Calculate voltage, current, or resistance using Ohm's Law (V = IR).
- Description: Calculate power, voltage, or current using the power equation (P = VI).
- Description: Manage energy with unit conversions (joules, calories, kilowatt-hours).
- Description: Store and manage hierarchical key structures.
- Description: Represent a two-dimensional array of numbers with matrix operations.
- Description: Send a prompt to GPT-3.5 Turbo and get a response.
- Description: Manage a conversation with GPT-3.5 Turbo.
- Description: Execute a function once the countdown is over.
- Description: Manage currency values with automatic conversion.
- Description: Generate a new random image using OpenAI DALL-E.
- Description: Handle and convert file sizes between units (bytes, kilobytes, megabytes, gigabytes).
- Description: Store and manipulate geographic coordinates.
- Description: Handle IPv4 and IPv6 addresses with validation.
- Description: Parse and render Markdown content.
- Description: Handle percentage values with methods for incrementing and decrementing.
- Description: Manage and manipulate RGB color values.
- Description: Track elapsed time with start, stop, and reset functionalities.
- Description: Represent a span of time with methods for adding and subtracting different time units.
- Description: Generate a new random image using Unsplash.
- Description: Store and manipulate user ratings.
- Description: Manage an array with undo/redo functionality.
- Description: Manage nodes and edges with timestamps.
- Description: Handle distance with various unit conversions (meters, kilometers, miles, feet).
- Description: Handle length with various unit conversions (millimeters, centimeters, meters, kilometers, inches).
- Description: Handle speed with various unit conversions (meters per second, kilometers per hour, miles per hour, knots).
- Description: Manage temperature values with conversion between Fahrenheit, Celsius, and Kelvin.
- Description: Handle time with various unit conversions (milliseconds, seconds, minutes, hours, days).
- Description: Handle volume with various unit conversions (milliliters, liters, gallons).
- Description: Manage weight with various unit conversions (milligrams, grams, kilograms, pounds).
For more detailed documentation and up-to-date examples, please visit our Cookbook.
This project is licensed under the MIT License - see the LICENSE file for details.