Leverege Platform

Leverege Platform

  • Overview
  • JSDocs
  • REST API
  • Help

›JSDoc

JSDoc

  • Home
  • API Server
  • API Attributes
  • Api Patch Ops
  • API Redux
  • Array Util
  • Base62 Util
  • Cache
  • Cluster Manager
  • Data Store
  • Exit
  • Factory
  • Limit
  • Lock
  • Message Queue
  • Messages
  • Path
  • Permissions
  • Reasoner
  • String Util
  • UI Active Theme
  • UI Elements
  • UI Linear View Elements
  • UI Mapbox Elements
  • Validator

Base62 Util

Functions

encode encodes a string(str, prefix)
decode decodes an encoded string(str, prefix)
v4 creates a random UUID()
v1 create a random UUID()
encode encodes the input with the provided encode method(input, encoding)
decode decodes the encoded data with the encoding method(b62Str, encoding)
ensureLength adds or removes 0s to the string to ensure the length(str, maxLen)
padLeft adds 0s to the beginning of the string()
trimLeft removes 0s from the beginning of the string()

encode encodes a string(str, prefix)

Kind: global function

ParamTypeDescription
strstringthe string to be encoded
prefixstringa prefix to be added to the encoded string

decode decodes an encoded string(str, prefix)

Kind: global function

ParamTypeDescription
strstringthe string to be decoded
prefixstringprefix to be taken off the str before it is decoded

v4 creates a random UUID()

Kind: global function

v1 create a random UUID()

Kind: global function

encode encodes the input with the provided encode method(input, encoding)

Kind: global function

ParamDescription
inputthe input to be encoded
encodingthe method to encode the input with

decode decodes the encoded data with the encoding method(b62Str, encoding)

Kind: global function

ParamDescription
b62Strencoded data to be decoded
encodingthe method to encode the input with

ensureLength adds or removes 0s to the string to ensure the length(str, maxLen)

Kind: global function
Api: private

ParamTypeDescription
strstringthe string to be manipulated
maxLennumberthe length to force the string to

padLeft adds 0s to the beginning of the string()

Kind: global function
Api: private

trimLeft removes 0s from the beginning of the string()

Kind: global function
Api: private

← Array UtilCache →
  • Functions
  • encode encodes a string(str, prefix)
  • decode decodes an encoded string(str, prefix)
  • v4 creates a random UUID()
  • v1 create a random UUID()
  • encode encodes the input with the provided encode method(input, encoding)
  • decode decodes the encoded data with the encoding method(b62Str, encoding)
  • ensureLength adds or removes 0s to the string to ensure the length(str, maxLen)
  • padLeft adds 0s to the beginning of the string()
  • trimLeft removes 0s from the beginning of the string()
Leverege Platform
Docs
Overview
Connect
FacebookLinkedInTwitter
Facebook Open Source