npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

components-functions-grafosoft

v2.0.0

Published

## Componentes - `TaxView`: Componente que lista y agrega impuestos a un producto - `TableBuyComponent`: Tabla de compra y venta de productos - `TableAccounting`: Tabla para la realización de Nóminas y Contabilidad (Movimientos contables) - `SearchSelecte

Readme

Componentes y Funciones

Componentes

  • TaxView: Componente que lista y agrega impuestos a un producto
  • TableBuyComponent: Tabla de compra y venta de productos
  • TableAccounting: Tabla para la realización de Nóminas y Contabilidad (Movimientos contables)
  • SearchSelectedProduct: Componentes de búsqueda de productos
  • AutoComplete: AutoComplete
  • WarningInvoice: Alerta reutilizable

Funciones

  • TruncateText: Trunca un texto dependiendo del tamaño especificado por los parámetros
  • calculateProductBase: Calcula la base del producto
  • calculateTax: Calcula el impuesto de un producto vasado en la base
  • flattenObject: Función para convertir un objeto a un objeto plano
  • unflattenObject: Función para convertir objeto plano a un objeto
  • formatNumToStr: Formatea un número con puntos y comas (Retorna una cadena)
  • formatNumToNum: Formatea un número con puntos y comas (Retorna un Numero (Float))
  • formatNumCompact: Formatea un número solo con puntos para separar (Retorna una cadena)
  • generateGuid: Crea un GUID (Globally Unique Identifier)
  • formatAccoutingProduct: Arregla los elementos para que puedan ser utilizados por el componente de 'TableAccounting'

Licencia

[!NOTE] Useful information that users should know, even when skimming content.

📌 Documentación sobre la Implementación del Componente

Esta guía proporciona instrucciones detalladas para instalar y configurar correctamente el paquete components-functions-grafosoft en tu proyecto.

🚀 1. Instalación de Paquetes Necesarios

Para garantizar el correcto funcionamiento del paquete, es necesario contar con las siguientes dependencias instaladas en tu proyecto:

json { "next": ">=14.1.0", "next-themes": ">=0.2.1", "postcss": ">=8.4.31", "react": ">=18.2.0", "react-dom": ">=18.2.0", "tailwind-variants": ">=0.1.20", "tailwindcss": ">=3.4.3", "typescript": ">=5.0.4" }

📌 Instalación rápida de dependencias

Ejecuta el siguiente comando en la terminal de tu proyecto para instalar todas las dependencias necesarias automáticamente:

sh npm install next@latest next-themes@latest postcss@latest react@latest react-dom@latest tailwind-variants@latest tailwindcss@latest typescript@latest

📦 2. Instalación del Paquete

Para agregar components-functions-grafosoft a tu proyecto, ejecuta el siguiente comando en la terminal:

sh npm i components-functions-grafosoft

Esto descargará e integrará el paquete en tu entorno de desarrollo.


Si necesitas más detalles sobre su uso o configuración, revisa la documentación oficial o consulta el código fuente del paquete. 🚀✨