Git Product home page Git Product logo

leumas-data-types-npm's Introduction

Leumas Data Types ๐Ÿ“š

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.

Installation

To install the package, use the following command:

npm install leumas-data-types

Usage

Once installed, you can start importing the data types and components into your React project.

Data Types Included

Area ๐ŸŒ

  • Description: Handle area with various unit conversions (square meters, square kilometers, acres, square feet).

Force ๐Ÿ’ช

  • Description: Represent force using Newton's Second Law (F = ma).

Kinetic Energy โšก

  • Description: Represent kinetic energy (KE = 0.5 * m * vยฒ).

Ohm's Law ๐Ÿ”Œ

  • Description: Calculate voltage, current, or resistance using Ohm's Law (V = IR).

Power Equation โšก

  • Description: Calculate power, voltage, or current using the power equation (P = VI).

Energy ๐Ÿ”‹

  • Description: Manage energy with unit conversions (joules, calories, kilowatt-hours).

Hierarchical Map ๐ŸŒณ

  • Description: Store and manage hierarchical key structures.

Matrix ๐Ÿ”ข

  • Description: Represent a two-dimensional array of numbers with matrix operations.

AskGPT ๐Ÿค–

  • Description: Send a prompt to GPT-3.5 Turbo and get a response.

GPT Conversation ๐Ÿ—ฃ๏ธ

  • Description: Manage a conversation with GPT-3.5 Turbo.

Countdown โณ

  • Description: Execute a function once the countdown is over.

Currency Amount ๐Ÿ’ต

  • Description: Manage currency values with automatic conversion.

DALL-E Image ๐Ÿ–ผ๏ธ

  • Description: Generate a new random image using OpenAI DALL-E.

File Size ๐Ÿ“‚

  • Description: Handle and convert file sizes between units (bytes, kilobytes, megabytes, gigabytes).

Geo Coordinate ๐ŸŒ

  • Description: Store and manipulate geographic coordinates.

IP Address ๐ŸŒ

  • Description: Handle IPv4 and IPv6 addresses with validation.

Markdown ๐Ÿ“

  • Description: Parse and render Markdown content.

Percentage ๐Ÿ“Š

  • Description: Handle percentage values with methods for incrementing and decrementing.

RGB Color ๐ŸŽจ

  • Description: Manage and manipulate RGB color values.

Stopwatch โฑ๏ธ

  • Description: Track elapsed time with start, stop, and reset functionalities.

Time Span โฒ๏ธ

  • Description: Represent a span of time with methods for adding and subtracting different time units.

Unsplash Images ๐Ÿ–ผ๏ธ

  • Description: Generate a new random image using Unsplash.

User Rating โญ

  • Description: Store and manipulate user ratings.

Stateful Array ๐Ÿ”„

  • Description: Manage an array with undo/redo functionality.

Temporal Graph ๐Ÿ•ฐ๏ธ

  • Description: Manage nodes and edges with timestamps.

Distance ๐Ÿ“

  • Description: Handle distance with various unit conversions (meters, kilometers, miles, feet).

Length ๐Ÿ“

  • Description: Handle length with various unit conversions (millimeters, centimeters, meters, kilometers, inches).

Speed ๐Ÿš—

  • Description: Handle speed with various unit conversions (meters per second, kilometers per hour, miles per hour, knots).

Temperature ๐ŸŒก๏ธ

  • Description: Manage temperature values with conversion between Fahrenheit, Celsius, and Kelvin.

Time โฐ

  • Description: Handle time with various unit conversions (milliseconds, seconds, minutes, hours, days).

Volume ๐Ÿ“ฆ

  • Description: Handle volume with various unit conversions (milliliters, liters, gallons).

Weight โš–๏ธ

  • Description: Manage weight with various unit conversions (milligrams, grams, kilograms, pounds).

Documentation and Examples

For more detailed documentation and up-to-date examples, please visit our Cookbook.

License

This project is licensed under the MIT License - see the LICENSE file for details.

leumas-data-types-npm's People

Contributors

leumas-tech avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.