Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gmana/utils

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gmana/utils - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

8

dist/index.d.ts
import { ClassValue } from 'clsx';
declare function bytesToSize(bytes: number, decimals?: number): string;
declare const cn: (...inputs: ClassValue[]) => string;

@@ -29,3 +31,3 @@

declare function formatDate(input: string | number | Date): string;
declare function formatDate(input: string | number | Date, options?: Intl.DateTimeFormatOptions | undefined): string;

@@ -52,2 +54,4 @@ declare function fetcher<JSON = never>(input: RequestInfo, init?: RequestInit): Promise<JSON>;

declare function isEmpty(text: any): boolean;
declare const isBrowser: boolean;

@@ -76,2 +80,2 @@

export { cn, colorLuminance, compactOject, darken, fetcher, flatten, formatDate, getColor, getImageInContent, getRandomInitials, getRandomInt, hexToHsl, hexToRgb, htmlToText, isBrowser, isNavigator, lighten, shuffle, slugify, toPixel, v1, v2, v3 };
export { bytesToSize, cn, colorLuminance, compactOject, darken, fetcher, flatten, formatDate, getColor, getImageInContent, getRandomInitials, getRandomInt, hexToHsl, hexToRgb, htmlToText, isBrowser, isEmpty, isNavigator, lighten, shuffle, slugify, toPixel, v1, v2, v3 };
{
"name": "@gmana/utils",
"version": "1.0.3",
"version": "1.0.4",
"license": "MIT",

@@ -25,2 +25,3 @@ "main": "dist/index.js",

"eslint": "^8.45.0",
"esm-env": "^1.0.0",
"react": "^18.2.0",

@@ -27,0 +28,0 @@ "tailwind-merge": "^1.14.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc