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

h3lp

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

h3lp

Helper for nodeJs

  • 1.8.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
90
increased by3.45%
Maintainers
1
Weekly downloads
 
Created
Source

H3lp

Helper sets

MethodDescription
objObject helper
fsFile system helper
strString helper
testTest helper
utilsUtils helper
validatorValidator helper

Object Helper

MethodDescription
cloneclone an object
cloneclone an object
extendsextend an object
deltaget the difference between two objects
findfind with predicate
jsonPathfind with jsonPath expression
sortsort properties

File System Helper

MethodDescription
existsverify if exists path
createcreate folder
readread file
removeremove file
copycopy file
writecreate or replace file
writeBinarycreate or replace binary file
lstatreturned details about the file
readdirlist folder

String Helper

MethodDescription
normalizenormalize a string
toStringconvert to string
replaceSearches a string for a specified value and returns a new string where the specified values are replaced
concatString concatenation
capitalizeMake the first character have upper case and the rest lower case
initCapCapitalize words
pluralconvert word to plural
singularconvert word to singular
notationconvert to notation camelCase or pascalCase

Test Helper

MethodDescription
createBuildercreate TestBuilder
createSuiteBuildercreate TestSuiteBuilder

Utils Helper

MethodDescription
solveEnvironmentVarsresolve environment variables
templatesolve a template

Validator Helper

MethodDescription
isObjectevaluate if is Object
isEmptyevaluate if is Empty
isPositiveIntegerevaluate if is Positive Integer
isNullevaluate if is Null
isNotNullevaluate if is Not Null
isNotEmptyevaluate if is Not Empty
isBooleanevaluate if is Boolean
isNumberevaluate if is Number
isIntegerevaluate if is Integer
isDecimalevaluate if is Decimal
isStringevaluate if is String
isDateevaluate if is Date
isDateTimeevaluate if is DateTime
isArrayevaluate if is Array
isTimeevaluate if is Time
isBooleanFormatevaluate if is Boolean Format
isNumberFormatevaluate if is Number Format
isIntegerFormatevaluate if is Integer Format
isDecimalFormatevaluate if is Decimal Format
isAlphanumericevaluate if is Alphanumeric
isAlphaevaluate if is Alpha
isDateFormatevaluate if is Date Format
isDateTimeFormatevaluate if is DateTime Format
isTimeFormatevaluate if is Time Format
betweenevaluate if value is between two ranges
includesevaluate if value is included is string or array

Keywords

FAQs

Package last updated on 07 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