Home Reference Source

References

server

summary
public

F afterStart(PAW_GLOBAL: *, cb: *)

public

F beforeStart(serverConfig: *, PAW_GLOBAL: *, cb: *)

public

F server(req: *, res: *, next: *, PAW_GLOBAL: *): *

Export this a middleware export.

utils

summary
public

F generateMeta(data: *, options: *): Array

Return array of meta tags required for the route Pass seo data to the function and get array of meta data

public

F getTextFromHtml(str: *): string

Get text from html string

public

F trimTillLastSentence(str: *, length: *): *

Process string to get appropriate trimmed data Thus string "Tirth Bodawala" should return "Tirth Bodawala" with length 14 & should return "Tirth" with length 13, first it tries to search for "." and then for " "(space)

public

F assetsToArray(assets: *): Array

Return assets as array

public

F generateStringHash(str: *, namespace: *): string

Simple numeric hash of a string, used for non-secure usage only

public

Check if current script is running in browser or not

public

F loadScript(path: *, attributes: *): Promise

Load javascript file by path

public

F loadStyle(path: *): Promise

Load stylesheet

public

V possibleStandardNames: {"accept": string, "acceptcharset": string, "accept-charset": string, "accesskey": string, "action": string, "allowfullscreen": string, "alt": string, "as": string, "async": string, "autocapitalize": string, "autocomplete": string, "autocorrect": string, "autofocus": string, "autoplay": string, "autosave": string, "capture": string, "cellpadding": string, "cellspacing": string, "challenge": string, "charset": string, "checked": string, "children": string, "cite": string, "class": string, "classid": string, "classname": string, "cols": string, "colspan": string, "content": string, "contenteditable": string, "contextmenu": string, "controls": string, "controlslist": string, "coords": string, "crossorigin": string, "dangerouslysetinnerhtml": string, "data": string, "datetime": string, "default": string, "defaultchecked": string, "defaultvalue": string, "defer": string, "dir": string, "disabled": string, "download": string, "draggable": string, "enctype": string, "for": string, "form": string, "formmethod": string, "formaction": string, "formenctype": string, "formnovalidate": string, "formtarget": string, "frameborder": string, "headers": string, "height": string, "hidden": string, "high": string, "href": string, "hreflang": string, "htmlfor": string, "httpequiv": string, "http-equiv": string, "icon": string, "id": string, "innerhtml": string, "inputmode": string, "integrity": string, "is": string, "itemid": string, "itemprop": string, "itemref": string, "itemscope": string, "itemtype": string, "keyparams": string, "keytype": string, "kind": string, "label": string, "lang": string, "list": string, "loop": string, "low": string, "manifest": string, "marginwidth": string, "marginheight": string, "max": string, "maxlength": string, "media": string, "mediagroup": string, "method": string, "min": string, "minlength": string, "multiple": string, "muted": string, "name": string, "nomodule": string, "nonce": string, "novalidate": string, "open": string, "optimum": string, "pattern": string, "placeholder": string, "playsinline": string, "poster": string, "preload": string, "profile": string, "radiogroup": string, "readonly": string, "referrerpolicy": string, "rel": string, "required": string, "reversed": string, "role": string, "rows": string, "rowspan": string, "sandbox": string, "scope": string, "scoped": string, "scrolling": string, "seamless": string, "selected": string, "shape": string, "size": string, "sizes": string, "span": string, "spellcheck": string, "src": string, "srcdoc": string, "srclang": string, "srcset": string, "start": string, "step": string, "style": string, "summary": string, "tabindex": string, "target": string, "title": string, "type": string, "usemap": string, "value": string, "width": string, "wmode": string, "wrap": string, "about": string, "accentheight": string, "accent-height": string, "accumulate": string, "additive": string, "alignmentbaseline": string, "alignment-baseline": string, "allowreorder": string, "alphabetic": string, "amplitude": string, "arabicform": string, "arabic-form": string, "ascent": string, "attributename": string, "attributetype": string, "autoreverse": string, "azimuth": string, "basefrequency": string, "baselineshift": string, "baseline-shift": string, "baseprofile": string, "bbox": string, "begin": string, "bias": string, "by": string, "calcmode": string, "capheight": string, "cap-height": string, "clip": string, "clippath": string, "clip-path": string, "clippathunits": string, "cliprule": string, "clip-rule": string, "color": string, "colorinterpolation": string, "color-interpolation": string, "colorinterpolationfilters": string, "color-interpolation-filters": string, "colorprofile": string, "color-profile": string, "colorrendering": string, "color-rendering": string, "contentscripttype": string, "contentstyletype": string, "cursor": string, "cx": string, "cy": string, "d": string, "datatype": string, "decelerate": string, "descent": string, "diffuseconstant": string, "direction": string, "display": string, "divisor": string, "dominantbaseline": string, "dominant-baseline": string, "dur": string, "dx": string, "dy": string, "edgemode": string, "elevation": string, "enablebackground": string, "enable-background": string, "end": string, "exponent": string, "externalresourcesrequired": string, "fill": string, "fillopacity": string, "fill-opacity": string, "fillrule": string, "fill-rule": string, "filter": string, "filterres": string, "filterunits": string, "floodopacity": string, "flood-opacity": string, "floodcolor": string, "flood-color": string, "focusable": string, "fontfamily": string, "font-family": string, "fontsize": string, "font-size": string, "fontsizeadjust": string, "font-size-adjust": string, "fontstretch": string, "font-stretch": string, "fontstyle": string, "font-style": string, "fontvariant": string, "font-variant": string, "fontweight": string, "font-weight": string, "format": string, "from": string, "fx": string, "fy": string, "g1": string, "g2": string, "glyphname": string, "glyph-name": string, "glyphorientationhorizontal": string, "glyph-orientation-horizontal": string, "glyphorientationvertical": string, "glyph-orientation-vertical": string, "glyphref": string, "gradienttransform": string, "gradientunits": string, "hanging": string, "horizadvx": string, "horiz-adv-x": string, "horizoriginx": string, "horiz-origin-x": string, "ideographic": string, "imagerendering": string, "image-rendering": string, "in2": string, "in": string, "inlist": string, "intercept": string, "k1": string, "k2": string, "k3": string, "k4": string, "k": string, "kernelmatrix": string, "kernelunitlength": string, "kerning": string, "keypoints": string, "keysplines": string, "keytimes": string, "lengthadjust": string, "letterspacing": string, "letter-spacing": string, "lightingcolor": string, "lighting-color": string, "limitingconeangle": string, "local": string, "markerend": string, "marker-end": string, "markerheight": string, "markermid": string, "marker-mid": string, "markerstart": string, "marker-start": string, "markerunits": string, "markerwidth": string, "mask": string, "maskcontentunits": string, "maskunits": string, "mathematical": string, "mode": string, "numoctaves": string, "offset": string, "opacity": string, "operator": string, "order": string, "orient": string, "orientation": string, "origin": string, "overflow": string, "overlineposition": string, "overline-position": string, "overlinethickness": string, "overline-thickness": string, "paintorder": string, "paint-order": string, "panose1": string, "panose-1": string, "pathlength": string, "patterncontentunits": string, "patterntransform": string, "patternunits": string, "pointerevents": string, "pointer-events": string, "points": string, "pointsatx": string, "pointsaty": string, "pointsatz": string, "prefix": string, "preservealpha": string, "preserveaspectratio": string, "primitiveunits": string, "property": string, "r": string, "radius": string, "refx": string, "refy": string, "renderingintent": string, "rendering-intent": string, "repeatcount": string, "repeatdur": string, "requiredextensions": string, "requiredfeatures": string, "resource": string, "restart": string, "result": string, "results": string, "rotate": string, "rx": string, "ry": string, "scale": string, "security": string, "seed": string, "shaperendering": string, "shape-rendering": string, "slope": string, "spacing": string, "specularconstant": string, "specularexponent": string, "speed": string, "spreadmethod": string, "startoffset": string, "stddeviation": string, "stemh": string, "stemv": string, "stitchtiles": string, "stopcolor": string, "stop-color": string, "stopopacity": string, "stop-opacity": string, "strikethroughposition": string, "strikethrough-position": string, "strikethroughthickness": string, "strikethrough-thickness": string, "string": string, "stroke": string, "strokedasharray": string, "stroke-dasharray": string, "strokedashoffset": string, "stroke-dashoffset": string, "strokelinecap": string, "stroke-linecap": string, "strokelinejoin": string, "stroke-linejoin": string, "strokemiterlimit": string, "stroke-miterlimit": string, "strokewidth": string, "stroke-width": string, "strokeopacity": string, "stroke-opacity": string, "suppresscontenteditablewarning": string, "suppresshydrationwarning": string, "surfacescale": string, "systemlanguage": string, "tablevalues": string, "targetx": string, "targety": string, "textanchor": string, "text-anchor": string, "textdecoration": string, "text-decoration": string, "textlength": string, "textrendering": string, "text-rendering": string, "to": string, "transform": string, "typeof": string, "u1": string, "u2": string, "underlineposition": string, "underline-position": string, "underlinethickness": string, "underline-thickness": string, "unicode": string, "unicodebidi": string, "unicode-bidi": string, "unicoderange": string, "unicode-range": string, "unitsperem": string, "units-per-em": string, "unselectable": string, "valphabetic": string, "v-alphabetic": string, "values": string, "vectoreffect": string, "vector-effect": string, "version": string, "vertadvy": string, "vert-adv-y": string, "vertoriginx": string, "vert-origin-x": string, "vertoriginy": string, "vert-origin-y": string, "vhanging": string, "v-hanging": string, "videographic": string, "v-ideographic": string, "viewbox": string, "viewtarget": string, "visibility": string, "vmathematical": string, "v-mathematical": string, "vocab": string, "widths": string, "wordspacing": string, "word-spacing": string, "writingmode": string, "writing-mode": string, "x1": string, "x2": string, "x": string, "xchannelselector": string, "xheight": string, "x-height": string, "xlinkactuate": string, "xlink: actuate", "xlinkarcrole": string, "xlink: arcrole", "xlinkhref": string, "xlink: href", "xlinkrole": string, "xlink: role", "xlinkshow": string, "xlink: show", "xlinktitle": string, "xlink: title", "xlinktype": string, "xlink: type", "xmlbase": string, "xml: base", "xmllang": string, "xml: lang", "xmlns": string, "xml: space", "xmlnsxlink": string, "xmlns: xlink", "xmlspace": string, "y1": string, "y2": string, "y": string, "ychannelselector": string, "z": string, "zoomandpan": string}

Copyright (c) 2013-present, Facebook, Inc.

public

V metaKeys: [*]

Standard meta keys to differentiate

webpack

summary
public
Directories