Welcome to LiquicodeJS!

A General Purpose Toolkit Library for Javascript

Types: Data Type Handling


Types.HasValue( Value )

  • Determine if a variable contains a value or or not.
  • Returns: boolean - True if Value actually contains a value.

Types.Coerce( Value, Loud )

  • Returns a Coercion object which is used to coerce values to different types.
  • Returns: object - A Coercion object.

Types.GetFormat( Value )

  • Determine the type and format of a value.
  • Returns: string - An extended type description.

Types.IsFormat( Value, Format )

  • Determine if a value is of a particular format.
  • Returns: boolean - True if the value matches the format.

Object: Functions for manipulating Javascript objects.


Object.Clone( From )

  • Returns: string

Object.Merge( Original, Updates )

  • Returns: object

Object.FromJson( JsonString )

  • Returns: object

Object.ToJsonOptions( PresetName )

  • Returns: object

Object.ToJson( Value, JsonOptions )

  • Returns: object

Object.FromIni( IniString )

  • Returns: object

Object.ToIni( Value )

  • Returns: object

Object.ValueArrayOf( Value )

  • Returns: array

Text: Functions for text parsing and manipulation.


Text.Compare( StringA, StringB, CaseSensitive )

  • Returns: string

Text.Matches( Text, Pattern )

  • Returns: string

Text.ReplaceCharacters( Text, SearchCharacters, ReplacementText, MaxTimes )

  • Returns: string

Text.ReplaceText( Text, SearchText, ReplacementText, MaxTimes )

  • Returns: string

Text.FindBetween( Text, StartText, EndText )

  • Search a string and return the text found between StartText and EndText.
  • Returns: string - The text found between StartText and EndText.

Text.ReplaceBetween( Text, StartText, EndText, ReplacementText, MaxTimes )

  • Search a string for StartText and EndText and replace the text found between the two.
  • Returns: integer - The new string with replacements performed.

Text.FirstWord( Phrase, Delimiters )

  • Returns: string

Text.AfterFirstWord( Phrase, Delimiters )

  • Returns: string

Text.LastWord( Phrase, Delimiters )

  • Returns: string

Text.BeforeLastWord( Phrase, Delimiters )

  • Returns: string

Shapes: Functions for manipulating data in different shapes.


Shapes.Matrix( Values, Options )

  • Matrix stores a two-dimensional jagged array and exposes manipulation functions.
  • Returns: object

Parse: Functions for tokenizing text strings.


Parse.TokenizeOptions( PresetName )

  • Returns: object

Parse.Tokenize( PresetName )

  • Returns: object

Parse.DateParse( Value, TimeZoneOffset )

  • Returns: object

System: File system and process functions. (nodejs only)


System.AsyncVisitFiles( StartFolder, FilePattern, Recurse, Visitor )

  • Returns: *

System.VisitFiles( StartFolder, FilePattern, Recurse, Visitor )

  • Returns: *

System.CountFiles( StartFolder, FilePattern, Recurse )

  • Returns: number

System.CountFolders( StartFolder, Recurse )

  • Returns: number

System.CopyFolder( FromFolder, ToFolder, FilePattern, Overwrite, Recurse )

  • Returns: number

System.DeleteFolder( Folder, Recurse )

  • Returns: number

System.EmptyFolder( Folder )

  • Returns: number

System.WithFileText( Filename, FileTextCallback )

  • Returns: boolean - False if no changes were made or True if changes were saved.

System.AsyncSleep( Milliseconds )


System.ExecuteProcess( Command, Environment, StartFolder )


System.AsyncExecuteProcess( Command, Environment, StartFolder )


System.StartProcess( Command, Environment, StartFolder )

  • Returns: string

System.StopProcess( ProcessID )

  • Returns: string

System.ContainerStatus( ContainerID )

  • Returns: string

System.RunContainer( ImageName, Options )

  • Returns: string

System.StartContainer( ContainerID )

  • Returns: string

System.StopContainer( ContainerID )

  • Returns: string

System.KillContainer( ContainerID )

  • Returns: string

Network: Functions for working with networks. (nodejs only)


Network.AsyncDownloadFile( )

  • Returns: string

Network.AsyncGetRequest( Url )

  • Returns: string



Slimey artwork by: Jaxon