# README
utils
It's pretty bad form having a generic utils
package I know. Eventually I
expect this will be tidied up better.
# Packages
No description provided by the author
Package ansi provides APIs for writing common ANSI escape sequences to the terminal.
Package ansititle is a little function for writing to terminal emulators title bar.
No description provided by the author
Package cd changes the current working directory and updates the global working.
Package consts consolidates common values used throughout the source code.
Package counter provides a thread safe counter using mutexes.
No description provided by the author
Package dedup provides de-duplication routines.
No description provided by the author
Package envvars provides a more pleasant framework around Go's stdlibs for working with environmental variables.
Package escape provides tools for escaping command line snippets of code.
Package home is used to return the users home directory.
Package humannumbers is used to return human readable representations of numbers.
Package inject is used to insert one string inside another.
Package json is a custom json parser with an aim to provide more descriptive errors when reading malformed json.
Package lists provides standard APIs for handling lists.
Package man is murex's man page parser to provide flag auto-complete suggestions.
Package mxjson is a custom json superset format used by some routines in murex.
No description provided by the author
Package parser is a faster murex parser for real time context hints.
No description provided by the author
Package pathsplit is a standard API for splitting a path by the first character in the path.
Package posix is a quick helper function to determine if the running platform is POSIX or not.
Package readall provides an alterative to ioutil.Readall but with support for context.Context.
Package readline is a pure-Go re-imagining of the UNIX readline API.
No description provided by the author
No description provided by the author
Package spellcheck provides functions for spellchecking.
Package virtualterm provides a virtual terminal and some terminal emulation functions.
Package main provides a web server for user acceptance testing of js/wasm builds.
Package which provides similar functionality to the UNIX command of the same name.
# Functions
CrLfTrim removes the trailing carridge return and line feed from a byte array however it is only concerned with one instance (ie you can still append a CRLF to the data if you have two instances of a \r\n terminator).
CrLfTrimRune removes the trailing carridge return and line feed from a rune array however it is only concerned with one instance (ie you can still append a CRLF to the data if you have two instances of a \r\n terminator).
CrLfTrimString removes the trailing carridge return and line feed from a string however it is only concerned with one instance (ie you can still append a CRLF to the data if you have two instances of a \r\n terminator).
No description provided by the author
IsURL checks the start of a string to see if it has a valid HTTP protocol.
NewTempFile creates a temporary file and returns an io.Reader interface or error if the temporary file cannot be created.
NormalisePath takes a string and returns an absolute path if the string is a relative path.
# Variables
NewLineByte is a new line in POSIX systems (no carriage return) as []byte's.
NewLineString is a new line in POSIX systems (no carriage return) as a string.