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

@developer.nijat/js-helpers

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@developer.nijat/js-helpers

Useful JavaScript Methods by Nijat Aliyev. @developer.nijat

  • 1.0.17
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Useful JavaScript Methods by Nijat Aliyev (@developer.nijat)

How to install

npm install "@developer.nijat/js-helpers"

or

yarn add "@developer.nijat/js-helpers"

How to use

import React from "react";
import { generateRandomColor } from "@developer.nijat/js-helpers";

export default function App() {
  function test() {
    const randomColor = generateRandomColor();
    console.log(randomColor);
  }
  return <>Demo Content</>;
}

Zero Dependencies

Useful Method List

COMMON

getFileSize

htmlDecode

htmlEncode

getRandomNumber

uniqueNumberFromString

normalizeGraphFilterForExpress

normalizeAzPhoneNumber

normalizeAz9DigitNumber

extractNumberFromTime

calculatePercentageOfNumber

generateRandomColor

normalizeSearchParams

sumAllBetweenTwoIntegers

capitalizeFirstLetter

convertFileToUint8Array

getUniqueListByKey

toFixedWithoutRounding

getFileMimeTypeByExt

removeObjectPropertiesWithValue

toSnakeCase

DATE

convertMillisToMinutesAndSeconds

calculateDurationWithStartDate

convertDateToMilliSeconds

convertTime12to24

convertSecondsToTime

getWeekOfMonth

getStartDateOfWeek

getEndDateOfWeek

VALIDATION

validateEmail

validateNumber

isJsonString

Keywords

FAQs

Package last updated on 17 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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