hastily
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Fastly
Params
constructor
cached
Quality
raw
req
res
rgbRE
warnings
quality
get
get
Warnings
has
to
Color
to
Css
Box
to
Numbers
to
Region
to
Tagged
Values
warn
warn
Fail
Request
Errors
Image
Opto
Options
Orienter
QUALITY
UNSET
cache
Control
NoTransform
Reg
Exp
debug
image
ExtensionRE
mappers
streamable
File
Extensions
add
Listeners
chunk
Length
exif
flipH
flipHV
flipV
has
Supported
Extension
imageopto
left
right
should
Transform
HASTILY_
HEADER
formatters
opto
Fit
ToSharp
opto
Resize
Filter
ToSharp
orienters
Hierarchy
FastlyParams
Implements
IFastlyParams
Index
Constructors
constructor
Properties
cached
Quality
raw
req
res
rgbRE
warnings
Accessors
quality
Methods
get
get
Warnings
has
to
Color
to
Css
Box
to
Numbers
to
Region
to
Tagged
Values
warn
warn
Fail
Constructors
constructor
new
Fastly
Params
(
params
:
Map
<
string
,
string
|
undefined
>
, req
:
Request
, res
:
IMutableResponse
)
:
FastlyParams
Parameters
params:
Map
<
string
,
string
|
undefined
>
req:
Request
res:
IMutableResponse
Returns
FastlyParams
Properties
Private
cached
Quality
cached
Quality
:
number
|
undefined
|
symbol
= UNSET
Private
raw
raw
:
ParamMap
req
req
:
Request
res
res
:
IMutableResponse
Private
rgbRE
rgbRE
:
RegExp
= /^(?:[0-9a-fA-F]{3}){1,2}$/
Private
warnings
warnings
:
Warning
[]
= []
Accessors
quality
quality
:
Methods
get
get
(
param
:
Param
)
:
"bg-color"
|
"blur"
|
"brightness"
|
"canvas"
|
"crop"
|
"contrast"
|
"disable"
|
"dpr"
|
"enable"
|
"fit"
|
"height"
|
"orient"
|
"pad"
|
"resize-filter"
|
"saturation"
|
"sharpen"
|
"trim"
|
"width"
Parameters
param:
Param
Returns
"bg-color"
|
"blur"
|
"brightness"
|
"canvas"
|
"crop"
|
"contrast"
|
"disable"
|
"dpr"
|
"enable"
|
"fit"
|
"height"
|
"orient"
|
"pad"
|
"resize-filter"
|
"saturation"
|
"sharpen"
|
"trim"
|
"width"
get
Warnings
get
Warnings
(
)
:
Warning
[]
Returns
Warning
[]
has
has
(
param
:
Param
)
:
boolean
Parameters
param:
Param
Returns
boolean
to
Color
to
Color
(
name
:
Param
)
:
Color
Parameters
name:
Param
Returns
Color
to
Css
Box
to
Css
Box
(
name
:
Param
)
:
ExtendOptions
Parameters
name:
Param
Returns
ExtendOptions
to
Numbers
to
Numbers
(
names
:
Param
[]
)
:
NumericParams
Parameters
names:
Param
[]
Returns
NumericParams
to
Region
to
Region
(
name
:
Param
)
:
Partial
<
Region
>
Parameters
name:
Param
Returns
Partial
<
Region
>
to
Tagged
Values
to
Tagged
Values
(
name
:
Param
, positional
:
string
[]
, named
:
string
[]
)
:
object
Parameters
name:
Param
positional:
string
[]
named:
string
[]
Returns
object
[
key:
string
]:
string
|
null
warn
warn
(
type
:
WarnType
, param
:
Param
, msg
?:
undefined
|
string
)
:
void
Parameters
type:
WarnType
param:
Param
Optional
msg:
undefined
|
string
Returns
void
Private
warn
Fail
warn
Fail
(
type
:
"unsupported"
|
"invalid"
, name
:
Param
, msg
:
string
)
:
void
Parameters
type:
"unsupported"
|
"invalid"
name:
Param
msg:
string
Returns
void
Generated using
TypeDoc