We found 70 matches for: value

An overview of all value blocks currently available, updated daily!

custom: inline css

Value Documentation

In-pins

html
options

Out-pins

value
url: parser

In-pins

URL

Out-pins

host
port
protocol
hash
hostname
href
origin
username
password
pathname
search
search params
system: get setting

Out-pins

value
hmac: sha1

In-pins

secret
value

Out-pins

signature
esque polyline: decode

takes a string representation of 1+ coordinate pairs and returns an array of lat, lon arrays.

Value Documentation

In-pins

decoded
the google-esque polyline decoded string
precision

Out-pins

locations
value: simple normalize

Removes all non alphanumeric characters

In-pins

value
Value that will be normalized
replace by
The character to replace non alphanumeric characters with.

Default:
Empty

Out-pins

value
value: format number

In-pins

number
Sep thou


Default:
.
Sep dec


Default:
,
Dec places


Default:
uses decimals_default system setting

Out-pins

value
utils: repeat

This method constructs and returns a new string which contains the specified number of copies of the string on which it was called, concatenated together.

In-pins

value
length
Indicating the number of times to repeat the string.

Out-pins

value
utils: pad start

Pads the current string with another string (multiple times, if needed) until the resulting string reaches the given length.

In-pins

value
length
The length of the resulting string once the current str has been padded.
pad. with
The string to pad the current str with.

Out-pins

value
eol: newline (linux/mac)

Will return a linux / mac EOL character (\n)

Out-pins

value
eol: newline (windows)

Will return a windows EOL character (\r\n)

Out-pins

value
expressions: logical OR

will return the second value if the first is empty.

In-pins

first
second

Out-pins

value
condition: includes - multi search

checks if one of the given strings is included in the primary string.

In-pins

value
searches
strings to search

Out-pins

has match
matches
value: sanitize html

Sanitizes the given html

In-pins

html
The html to sanitize
allowed tags
Given tags will be allowed in the user input (example: div, p)
allowed attributes
Given attributes will be allowed in the user input (example: style, id)

Out-pins

value
value: remove special chars

Returns the value without special charactors

In-pins

value

Out-pins

output
Returns the normalized value without special charactors.
value: encode uri component

Encodes a URI by replacing specific characters with URI safe characters.

Value Documentation

In-pins

value

Out-pins

output
emoji: insert custom

Replaces the given strings by the given emoji

In-pins

text
find
replace by

Out-pins

value
emoji: get

returns the emoji code for a given value

In-pins

value

Out-pins

value
emoji: random

returns a random emoji

Out-pins

value
value: template value

Renders the given template using mustache.

Value Documentation

In-pins

value
params

Out-pins

output
success
error
value: generate shortid

In-pins

length
length of a short-id returned, lowering increases the collisions probability.

Default:
21

Out-pins

shortid
conditions: elseif

In-pins

default
else if
then

Out-pins

value
conditions: if

In-pins

true
false
boolean

Out-pins

value
value: capitalize first letter

In-pins

Value

Out-pins

Value
hashing: sha512

In-pins

value

Out-pins

hashed
hashing: pbkdf2

In-pins

Password
Salt
Iter.


Default:
1000
Keylen


Default:
512
Digest


Default:
sha512

Out-pins

value
hashing: sha256

In-pins

value

Out-pins

hashed
value: generate uuid

Generates a random universally unique identifier according to the RFC 4122

Out-pins

uuid
value: hex to rgb

Converts a hex color code into rgb/a

In-pins

hex
Hex color code to convert. Accepts: rgb, #rgb, rrggbb, #rrggbb, rrggbbaa, #rrggbbaa

Out-pins

success
rgb
Returns the color code in the following format: rgb()
rgba
Returns the color code in the following format: rgba()
rgba
Returns the color code in the following format: [r, g, b, a]
value: convert to lowercase

In-pins

Value

Out-pins

Value
value: translate key

In-pins

language

Out-pins

translation
base64: encode

In-pins

Raw
Raw value to encode in Base64

Out-pins

Encoded
base64: decode

In-pins

Encoded
Base64 value to decode into a raw value

Out-pins

Raw
querystring: parser

In-pins

URL query
sep
The substring used to delimit key and value pairs in the query string.

Default:
&
eq
The substring used to delimit keys and values in the query string.

Default:
=

Out-pins

success
object
regexp: matchall

In-pins

text
Text to search in.
expression
The expression without flags.
global
Retain the index of the last match, allowing iterative search.

Default:
true
insensitive
Makes the whole expression case-insensitive.

Default:
false
multline
Beginnen/end anchors will match the start/end of a line.

Default:
false

Out-pins

success
matches
value: switch

Returns a value based of the given expression.

In-pins

expression
The expression to evaluate.
default
The default statement to be executed.

Out-pins

output
Returns the value matching the expression.
match
Returns true in case a match was found.
system: get dynamic setting

In-pins

field

Out-pins

value
json: stringify

In-pins

Value
Number
Object
Condition
Array
spacing

Out-pins

stringified
json: parse

In-pins

Stringified

Out-pins

success
error
custom: l33t decoder

In-pins

value

Out-pins

value
custom: icon

Out-pins

value
utils: pad end

Pads the end of the current string with another string (multiple times, if needed) until the resulting string reaches the given length.

In-pins

value
length
The length of the resulting string once the current str has been padded
pad. with
The string to pad the current str with.

Out-pins

value
value: normalize

Returns the Unicode Normalization Form of the string.

In-pins

value
method
Choose from: NFC, NFD, NFKC or NFKD

Out-pins

output
Returns the normalized value.
value: encode uri

Encodes a URI by replacing specific characters with URI safe characters.

Value Documentation

In-pins

value

Out-pins

output
emoji: from emoticon

Replaces emoticons by emoji

In-pins

value

Out-pins

value
emoji: unemojify

replaces the actual emoji with :emoji:

In-pins

value

Out-pins

value
emoji: emojify

replaces all :emoji: with the actual emoji

In-pins

value

Out-pins

value
emoji: has emoji

validate if the library knows an emoji

In-pins

value

Out-pins

condition
value similarity: compare two

Returns a score based of the similarity of two values.

In-pins

one
two

Out-pins

score
references: define

Store this value as reference, which can later be used by "use reference"

In-pins

value
references: use

Use the value which was previously defined by a define reference

Out-pins

value
custom: whitespace

Out-pins

value
custom: value

Out-pins

value
utils: substr (index[, length])

In-pins

value
index
length

Out-pins

Output
value: replace

In-pins

Value
Substr
Replace

Out-pins

Value
utils: concatenate values

In-pins

value_0
value_1
value_2

Out-pins

Combined
utils: random bytes

In-pins

Size
Default: 16. Max: 256

Out-pins

value
hashing: sha1

In-pins

value

Out-pins

hashed
value: generate guid

Out-pins

guid
value: rgb to hex

Converts rgb color codes into hex

In-pins

rgba
Accepts the rgba color code in the following format: rgba() or rgb()
rgba
Accepts the rgba color code in the following format: [r, g, b, a]

Out-pins

success
hex
Returns the hex color code in the following format: #rrggbb
hex (opacity)
Returns the hex color code in the following format: #rrggbbaa
value: convert to uppercase

In-pins

Value

Out-pins

Value
value: trim

Removes characters from both ends of a string

In-pins

value_0
Value that will be trimmed
trim
The characters to trim from the value

Default:
whitespace

Out-pins

value
value: javascript type

In-pins

value

Out-pins

type
value: split

In-pins

value
separator

Out-pins

array
value: get length

In-pins

value

Out-pins

Length
value: locale compare

In-pins

value A
value B
locale

Out-pins

sort
value: dynamic translate

In-pins

language
Key

Out-pins

translation
value: escape

Converts the characters "&", "<", ">", '"', and "'" in string to their corresponding HTML entities.

In-pins

Raw
Value to escape

Out-pins

value
value: index of

Finds the given value in its value.

In-pins

value
The value to search index on.
keyword
The keyword to find within this value.

Out-pins

index
Returns the first index matching the keyword.
match
Returns true in case a match was found.
value: unescape

Converts the HTML entities &, <, >, ", and ' in string to their corresponding characters.

In-pins

Raw
Value to unescape

Out-pins

value