css-optional-pseudo.json 11e3a9652a first 8 gadi atpakaļ css-overflow-anchor.json 11e3a9652a first 8 gadi atpakaļ css-overscroll-behavior.json 11e3a9652a first 8 gadi atpakaļ css-page-break.json 11e3a9652a first 8 gadi atpakaļ css-paged-media.json 11e3a9652a first 8 gadi atpakaļ css-paint-api.json 11e3a9652a first 8 gadi atpakaļ css-placeholder-shown.json 11e3a9652a first 8 gadi atpakaļ css-placeholder.json 11e3a9652a first 8 gadi atpakaļ css-read-only-write.json 11e3a9652a first 8 gadi atpakaļ css-rebeccapurple.json 11e3a9652a first 8 gadi atpakaļ css-reflections.json 11e3a9652a first 8 gadi atpakaļ css-regions.json 11e3a9652a first 8 gadi atpakaļ css-repeating-gradients.json 11e3a9652a first 8 gadi atpakaļ css-resize.json 11e3a9652a first 8 gadi atpakaļ css-revert-value.json 11e3a9652a first 8 gadi atpakaļ css-rrggbbaa.json 11e3a9652a first 8 gadi atpakaļ css-scroll-behavior.json 11e3a9652a first 8 gadi atpakaļ css-scrollbar.json 11e3a9652a first 8 gadi atpakaļ css-sel2.json 11e3a9652a first 8 gadi atpakaļ css-sel3.json 11e3a9652a first 8 gadi atpakaļ css-selection.json 11e3a9652a first 8 gadi atpakaļ css-shapes.json 11e3a9652a first 8 gadi atpakaļ css-snappoints.json 11e3a9652a first 8 gadi atpakaļ css-sticky.json 11e3a9652a first 8 gadi atpakaļ css-supports-api.json 11e3a9652a first 8 gadi atpakaļ css-table.json 11e3a9652a first 8 gadi atpakaļ css-text-align-last.json 11e3a9652a first 8 gadi atpakaļ css-text-indent.json 11e3a9652a first 8 gadi atpakaļ css-text-justify.json 11e3a9652a first 8 gadi atpakaļ css-text-orientation.json 11e3a9652a first 8 gadi atpakaļ css-text-spacing.json 11e3a9652a first 8 gadi atpakaļ css-textshadow.json 11e3a9652a first 8 gadi atpakaļ css-touch-action-2.json 11e3a9652a first 8 gadi atpakaļ css-touch-action.json 11e3a9652a first 8 gadi atpakaļ css-transitions.json 11e3a9652a first 8 gadi atpakaļ css-unicode-bidi.json 11e3a9652a first 8 gadi atpakaļ css-unset-value.json 11e3a9652a first 8 gadi atpakaļ css-variables.json 11e3a9652a first 8 gadi atpakaļ css-widows-orphans.json 11e3a9652a first 8 gadi atpakaļ css-writing-mode.json 11e3a9652a first 8 gadi atpakaļ css-zoom.json 11e3a9652a first 8 gadi atpakaļ css3-attr.json 11e3a9652a first 8 gadi atpakaļ css3-boxsizing.json 11e3a9652a first 8 gadi atpakaļ css3-colors.json 11e3a9652a first 8 gadi atpakaļ css3-cursors-grab.json 11e3a9652a first 8 gadi atpakaļ css3-cursors-newer.json 11e3a9652a first 8 gadi atpakaļ css3-cursors.json 11e3a9652a first 8 gadi atpakaļ css3-tabsize.json 11e3a9652a first 8 gadi atpakaļ currentcolor.json 11e3a9652a first 8 gadi atpakaļ custom-elements.json 11e3a9652a first 8 gadi atpakaļ custom-elementsv1.json 11e3a9652a first 8 gadi atpakaļ customevent.json 11e3a9652a first 8 gadi atpakaļ datalist.json 11e3a9652a first 8 gadi atpakaļ dataset.json 11e3a9652a first 8 gadi atpakaļ datauri.json 11e3a9652a first 8 gadi atpakaļ details.json 11e3a9652a first 8 gadi atpakaļ deviceorientation.json 11e3a9652a first 8 gadi atpakaļ devicepixelratio.json 11e3a9652a first 8 gadi atpakaļ dialog.json 11e3a9652a first 8 gadi atpakaļ dispatchevent.json 11e3a9652a first 8 gadi atpakaļ do-not-track.json 11e3a9652a first 8 gadi atpakaļ document-currentscript.json 11e3a9652a first 8 gadi atpakaļ document-evaluate-xpath.json 11e3a9652a first 8 gadi atpakaļ document-execcommand.json 11e3a9652a first 8 gadi atpakaļ document-scrollingelement.json 11e3a9652a first 8 gadi atpakaļ documenthead.json 11e3a9652a first 8 gadi atpakaļ dom-manip-convenience.json 11e3a9652a first 8 gadi atpakaļ dom-range.json 11e3a9652a first 8 gadi atpakaļ domcontentloaded.json 11e3a9652a first 8 gadi atpakaļ domfocusin-domfocusout-events.json 11e3a9652a first 8 gadi atpakaļ dommatrix.json 11e3a9652a first 8 gadi atpakaļ download.json 11e3a9652a first 8 gadi atpakaļ dragndrop.json 11e3a9652a first 8 gadi atpakaļ element-closest.json 11e3a9652a first 8 gadi atpakaļ element-from-point.json 11e3a9652a first 8 gadi atpakaļ eme.json 11e3a9652a first 8 gadi atpakaļ eot.json 11e3a9652a first 8 gadi atpakaļ es5.json 11e3a9652a first 8 gadi atpakaļ es6-class.json 11e3a9652a first 8 gadi atpakaļ es6-generators.json 11e3a9652a first 8 gadi atpakaļ es6-module-dynamic-import.json 11e3a9652a first 8 gadi atpakaļ es6-module.json 11e3a9652a first 8 gadi atpakaļ es6-number.json 11e3a9652a first 8 gadi atpakaļ es6-string-includes.json 11e3a9652a first 8 gadi atpakaļ eventsource.json 11e3a9652a first 8 gadi atpakaļ fetch.json 11e3a9652a first 8 gadi atpakaļ fieldset-disabled.json 11e3a9652a first 8 gadi atpakaļ fileapi.json 11e3a9652a first 8 gadi atpakaļ filereader.json 11e3a9652a first 8 gadi atpakaļ filereadersync.json 11e3a9652a first 8 gadi atpakaļ filesystem.json 11e3a9652a first 8 gadi atpakaļ flac.json 11e3a9652a first 8 gadi atpakaļ flexbox.json 11e3a9652a first 8 gadi atpakaļ flow-root.json 11e3a9652a first 8 gadi atpakaļ focusin-focusout-events.json 11e3a9652a first 8 gadi atpakaļ focusoptions-preventscroll.json 11e3a9652a first 8 gadi atpakaļ font-family-system-ui.json 11e3a9652a first 8 gadi atpakaļ font-feature.json 11e3a9652a first 8 gadi atpakaļ font-kerning.json 11e3a9652a first 8 gadi atpakaļ font-loading.json 11e3a9652a first 8 gadi atpakaļ font-size-adjust.json 11e3a9652a first 8 gadi atpakaļ font-smooth.json 11e3a9652a first 8 gadi atpakaļ font-unicode-range.json 11e3a9652a first 8 gadi atpakaļ font-variant-alternates.json 11e3a9652a first 8 gadi atpakaļ font-variant-east-asian.json 11e3a9652a first 8 gadi atpakaļ fontface.json 11e3a9652a first 8 gadi atpakaļ form-attribute.json 11e3a9652a first 8 gadi atpakaļ form-submit-attributes.json 11e3a9652a first 8 gadi atpakaļ form-validation.json 11e3a9652a first 8 gadi atpakaļ forms.json 11e3a9652a first 8 gadi atpakaļ fullscreen.json 11e3a9652a first 8 gadi atpakaļ gamepad.json 11e3a9652a first 8 gadi atpakaļ geolocation.json 11e3a9652a first 8 gadi atpakaļ getboundingclientrect.json 11e3a9652a first 8 gadi atpakaļ getcomputedstyle.json 11e3a9652a first 8 gadi atpakaļ getelementsbyclassname.json 11e3a9652a first 8 gadi atpakaļ getrandomvalues.json 11e3a9652a first 8 gadi atpakaļ hardwareconcurrency.json 11e3a9652a first 8 gadi atpakaļ hashchange.json 11e3a9652a first 8 gadi atpakaļ heif.json 11e3a9652a first 8 gadi atpakaļ hevc.json 11e3a9652a first 8 gadi atpakaļ hidden.json 11e3a9652a first 8 gadi atpakaļ high-resolution-time.json 11e3a9652a first 8 gadi atpakaļ history.json 11e3a9652a first 8 gadi atpakaļ html-media-capture.json 11e3a9652a first 8 gadi atpakaļ html5semantic.json 11e3a9652a first 8 gadi atpakaļ http-live-streaming.json 11e3a9652a first 8 gadi atpakaļ http2.json 11e3a9652a first 8 gadi atpakaļ iframe-sandbox.json 11e3a9652a first 8 gadi atpakaļ iframe-seamless.json 11e3a9652a first 8 gadi atpakaļ iframe-srcdoc.json 11e3a9652a first 8 gadi atpakaļ imagecapture.json 11e3a9652a first 8 gadi atpakaļ ime.json 11e3a9652a first 8 gadi atpakaļ img-naturalwidth-naturalheight.json 11e3a9652a first 8 gadi atpakaļ imports.json 11e3a9652a first 8 gadi atpakaļ indeterminate-checkbox.json 11e3a9652a first 8 gadi atpakaļ indexeddb.json 11e3a9652a first 8 gadi atpakaļ indexeddb2.json 11e3a9652a first 8 gadi atpakaļ inline-block.json 11e3a9652a first 8 gadi atpakaļ innertext.json 11e3a9652a first 8 gadi atpakaļ input-autocomplete-onoff.json 11e3a9652a first 8 gadi atpakaļ input-color.json 11e3a9652a first 8 gadi atpakaļ input-datetime.json 11e3a9652a first 8 gadi atpakaļ input-email-tel-url.json 11e3a9652a first 8 gadi atpakaļ input-event.json 11e3a9652a first 8 gadi atpakaļ input-file-accept.json 11e3a9652a first 8 gadi atpakaļ input-file-directory.json 11e3a9652a first 8 gadi atpakaļ input-file-multiple.json 11e3a9652a first 8 gadi atpakaļ input-inputmode.json 11e3a9652a first 8 gadi atpakaļ input-minlength.json 11e3a9652a first 8 gadi atpakaļ input-number.json 11e3a9652a first 8 gadi atpakaļ input-pattern.json 11e3a9652a first 8 gadi atpakaļ input-placeholder.json 11e3a9652a first 8 gadi atpakaļ input-range.json 11e3a9652a first 8 gadi atpakaļ input-search.json 11e3a9652a first 8 gadi atpakaļ input-selection.json 11e3a9652a first 8 gadi atpakaļ insert-adjacent.json 11e3a9652a first 8 gadi atpakaļ insertadjacenthtml.json 11e3a9652a first 8 gadi atpakaļ internationalization.json 11e3a9652a first 8 gadi atpakaļ intersectionobserver.json 11e3a9652a first 8 gadi atpakaļ intrinsic-width.json 11e3a9652a first 8 gadi atpakaļ jpeg2000.json 11e3a9652a first 8 gadi atpakaļ jpegxr.json 11e3a9652a first 8 gadi atpakaļ json.json 11e3a9652a first 8 gadi atpakaļ kerning-pairs-ligatures.json 11e3a9652a first 8 gadi atpakaļ keyboardevent-charcode.json 11e3a9652a first 8 gadi atpakaļ keyboardevent-code.json 11e3a9652a first 8 gadi atpakaļ keyboardevent-getmodifierstate.json 11e3a9652a first 8 gadi atpakaļ keyboardevent-key.json 11e3a9652a first 8 gadi atpakaļ keyboardevent-location.json 11e3a9652a first 8 gadi atpakaļ keyboardevent-which.json 11e3a9652a first 8 gadi atpakaļ lazyload.json 11e3a9652a first 8 gadi atpakaļ let.json 11e3a9652a first 8 gadi atpakaļ link-icon-png.json 11e3a9652a first 8 gadi atpakaļ link-icon-svg.json 11e3a9652a first 8 gadi atpakaļ link-rel-dns-prefetch.json 11e3a9652a first 8 gadi atpakaļ link-rel-preconnect.json 11e3a9652a first 8 gadi atpakaļ link-rel-prefetch.json 11e3a9652a first 8 gadi atpakaļ link-rel-preload.json 11e3a9652a first 8 gadi atpakaļ link-rel-prerender.json 11e3a9652a first 8 gadi atpakaļ localecompare.json 11e3a9652a first 8 gadi atpakaļ matchesselector.json 11e3a9652a first 8 gadi atpakaļ matchmedia.json 11e3a9652a first 8 gadi atpakaļ mathml.json 11e3a9652a first 8 gadi atpakaļ maxlength.json 11e3a9652a first 8 gadi atpakaļ media-attribute.json 11e3a9652a first 8 gadi atpakaļ media-fragments.json 11e3a9652a first 8 gadi atpakaļ media-session-api.json 11e3a9652a first 8 gadi atpakaļ mediacapture-fromelement.json 11e3a9652a first 8 gadi atpakaļ mediarecorder.json 11e3a9652a first 8 gadi atpakaļ mediasource.json 11e3a9652a first 8 gadi atpakaļ menu.json 11e3a9652a first 8 gadi atpakaļ meter.json 11e3a9652a first 8 gadi atpakaļ midi.json 11e3a9652a first 8 gadi atpakaļ minmaxwh.json 11e3a9652a first 8 gadi atpakaļ mp3.json 11e3a9652a first 8 gadi atpakaļ mpeg-dash.json 11e3a9652a first 8 gadi atpakaļ mpeg4.json 11e3a9652a first 8 gadi atpakaļ multibackgrounds.json 11e3a9652a first 8 gadi atpakaļ multicolumn.json 11e3a9652a first 8 gadi atpakaļ mutation-events.json 11e3a9652a first 8 gadi atpakaļ mutationobserver.json 11e3a9652a first 8 gadi atpakaļ namevalue-storage.json 11e3a9652a first 8 gadi atpakaļ nav-timing.json 11e3a9652a first 8 gadi atpakaļ navigator-language.json 11e3a9652a first 8 gadi atpakaļ netinfo.json 11e3a9652a first 8 gadi atpakaļ node-contains.json 11e3a9652a first 8 gadi atpakaļ node-parentelement.json 11e3a9652a first 8 gadi atpakaļ notifications.json 11e3a9652a first 8 gadi atpakaļ object-fit.json 11e3a9652a first 8 gadi atpakaļ object-observe.json 11e3a9652a first 8 gadi atpakaļ object-values.json 11e3a9652a first 8 gadi atpakaļ objectrtc.json 11e3a9652a first 8 gadi atpakaļ offline-apps.json 11e3a9652a first 8 gadi atpakaļ offscreencanvas.json 11e3a9652a first 8 gadi atpakaļ ogg-vorbis.json 11e3a9652a first 8 gadi atpakaļ ogv.json 11e3a9652a first 8 gadi atpakaļ ol-reversed.json 11e3a9652a first 8 gadi atpakaļ once-event-listener.json 11e3a9652a first 8 gadi atpakaļ online-status.json 11e3a9652a first 8 gadi atpakaļ opus.json 11e3a9652a first 8 gadi atpakaļ outline.json 11e3a9652a first 8 gadi atpakaļ pad-start-end.json 11e3a9652a first 8 gadi atpakaļ page-transition-events.json 11e3a9652a first 8 gadi atpakaļ pagevisibility.json 11e3a9652a first 8 gadi atpakaļ passive-event-listener.json 11e3a9652a first 8 gadi atpakaļ path2d.json 11e3a9652a first 8 gadi atpakaļ payment-request.json 11e3a9652a first 8 gadi atpakaļ permissions-api.json 11e3a9652a first 8 gadi atpakaļ picture.json 11e3a9652a first 8 gadi atpakaļ ping.json 11e3a9652a first 8 gadi atpakaļ png-alpha.json 11e3a9652a first 8 gadi atpakaļ pointer-events.json 11e3a9652a first 8 gadi atpakaļ pointer.json 11e3a9652a first 8 gadi atpakaļ pointerlock.json 11e3a9652a first 8 gadi atpakaļ prefers-reduced-motion.json 11e3a9652a first 8 gadi atpakaļ progress.json 11e3a9652a first 8 gadi atpakaļ promises.json 11e3a9652a first 8 gadi atpakaļ proximity.json 11e3a9652a first 8 gadi atpakaļ proxy.json 11e3a9652a first 8 gadi atpakaļ publickeypinning.json 11e3a9652a first 8 gadi atpakaļ push-api.json 11e3a9652a first 8 gadi atpakaļ queryselector.json 11e3a9652a first 8 gadi atpakaļ readonly-attr.json 11e3a9652a first 8 gadi atpakaļ referrer-policy.json 11e3a9652a first 8 gadi atpakaļ registerprotocolhandler.json 11e3a9652a first 8 gadi atpakaļ rel-noopener.json 11e3a9652a first 8 gadi atpakaļ rel-noreferrer.json 11e3a9652a first 8 gadi atpakaļ rellist.json 11e3a9652a first 8 gadi atpakaļ rem.json 11e3a9652a first 8 gadi atpakaļ requestanimationframe.json 11e3a9652a first 8 gadi atpakaļ requestidlecallback.json 11e3a9652a first 8 gadi atpakaļ resizeobserver.json 11e3a9652a first 8 gadi atpakaļ resource-timing.json 11e3a9652a first 8 gadi atpakaļ rest-parameters.json 11e3a9652a first 8 gadi atpakaļ rtcpeerconnection.json 11e3a9652a first 8 gadi atpakaļ ruby.json 11e3a9652a first 8 gadi atpakaļ run-in.json 11e3a9652a first 8 gadi atpakaļ same-site-cookie-attribute.json 11e3a9652a first 8 gadi atpakaļ screen-orientation.json 11e3a9652a first 8 gadi atpakaļ script-async.json 11e3a9652a first 8 gadi atpakaļ script-defer.json 11e3a9652a first 8 gadi atpakaļ scrollintoview.json 11e3a9652a first 8 gadi atpakaļ scrollintoviewifneeded.json 11e3a9652a first 8 gadi atpakaļ sdch.json 11e3a9652a first 8 gadi atpakaļ selection-api.json 11e3a9652a first 8 gadi atpakaļ server-timing.json 11e3a9652a first 8 gadi atpakaļ serviceworkers.json 11e3a9652a first 8 gadi atpakaļ setimmediate.json 11e3a9652a first 8 gadi atpakaļ sha-2.json 11e3a9652a first 8 gadi atpakaļ shadowdom.json 11e3a9652a first 8 gadi atpakaļ shadowdomv1.json 11e3a9652a first 8 gadi atpakaļ sharedworkers.json 11e3a9652a first 8 gadi atpakaļ sni.json 11e3a9652a first 8 gadi atpakaļ spdy.json 11e3a9652a first 8 gadi atpakaļ speech-recognition.json 11e3a9652a first 8 gadi atpakaļ speech-synthesis.json 11e3a9652a first 8 gadi atpakaļ spellcheck-attribute.json 11e3a9652a first 8 gadi atpakaļ sql-storage.json 11e3a9652a first 8 gadi atpakaļ srcset.json 11e3a9652a first 8 gadi atpakaļ stopimmediatepropagation.json 11e3a9652a first 8 gadi atpakaļ stream.json 11e3a9652a first 8 gadi atpakaļ streams.json 11e3a9652a first 8 gadi atpakaļ stricttransportsecurity.json 11e3a9652a first 8 gadi atpakaļ style-scoped.json 11e3a9652a first 8 gadi atpakaļ subresource-integrity.json 11e3a9652a first 8 gadi atpakaļ svg-css.json 11e3a9652a first 8 gadi atpakaļ svg-filters.json 11e3a9652a first 8 gadi atpakaļ svg-fonts.json 11e3a9652a first 8 gadi atpakaļ svg-fragment.json 11e3a9652a first 8 gadi atpakaļ svg-html.json 11e3a9652a first 8 gadi atpakaļ svg-html5.json 11e3a9652a first 8 gadi atpakaļ svg-img.json 11e3a9652a first 8 gadi atpakaļ svg-smil.json 11e3a9652a first 8 gadi atpakaļ svg.json 11e3a9652a first 8 gadi atpakaļ symbols.json 11e3a9652a first 8 gadi atpakaļ tabindex-attr.json 11e3a9652a first 8 gadi atpakaļ template-literals.json 11e3a9652a first 8 gadi atpakaļ template.json 11e3a9652a first 8 gadi atpakaļ testfeat.json 11e3a9652a first 8 gadi atpakaļ text-decoration.json 11e3a9652a first 8 gadi atpakaļ text-emphasis.json 11e3a9652a first 8 gadi atpakaļ text-overflow.json 11e3a9652a first 8 gadi atpakaļ text-size-adjust.json 11e3a9652a first 8 gadi atpakaļ text-stroke.json 11e3a9652a first 8 gadi atpakaļ textcontent.json 11e3a9652a first 8 gadi atpakaļ textencoder.json 11e3a9652a first 8 gadi atpakaļ tls1-1.json 11e3a9652a first 8 gadi atpakaļ tls1-2.json 11e3a9652a first 8 gadi atpakaļ tls1-3.json 11e3a9652a first 8 gadi atpakaļ token-binding.json 11e3a9652a first 8 gadi atpakaļ touch.json 11e3a9652a first 8 gadi atpakaļ transforms2d.json 11e3a9652a first 8 gadi atpakaļ transforms3d.json 11e3a9652a first 8 gadi atpakaļ ttf.json 11e3a9652a first 8 gadi atpakaļ typedarrays.json 11e3a9652a first 8 gadi atpakaļ u2f.json 11e3a9652a first 8 gadi atpakaļ unhandledrejection.json 11e3a9652a first 8 gadi atpakaļ upgradeinsecurerequests.json 11e3a9652a first 8 gadi atpakaļ url.json 11e3a9652a first 8 gadi atpakaļ urlsearchparams.json 11e3a9652a first 8 gadi atpakaļ use-strict.json 11e3a9652a first 8 gadi atpakaļ user-select-none.json 11e3a9652a first 8 gadi atpakaļ user-timing.json 11e3a9652a first 8 gadi atpakaļ variable-fonts.json 11e3a9652a first 8 gadi atpakaļ vibration.json 11e3a9652a first 8 gadi atpakaļ video.json 11e3a9652a first 8 gadi atpakaļ videotracks.json 11e3a9652a first 8 gadi atpakaļ viewport-units.json 11e3a9652a first 8 gadi atpakaļ wai-aria.json 11e3a9652a first 8 gadi atpakaļ wasm.json 11e3a9652a first 8 gadi atpakaļ wav.json 11e3a9652a first 8 gadi atpakaļ wbr-element.json 11e3a9652a first 8 gadi atpakaļ web-animation.json 11e3a9652a first 8 gadi atpakaļ web-app-manifest.json 11e3a9652a first 8 gadi atpakaļ web-bluetooth.json 11e3a9652a first 8 gadi atpakaļ web-share.json 11e3a9652a first 8 gadi atpakaļ webgl.json 11e3a9652a first 8 gadi atpakaļ webgl2.json 11e3a9652a first 8 gadi atpakaļ webm.json 11e3a9652a first 8 gadi atpakaļ webp.json 11e3a9652a first 8 gadi atpakaļ websockets.json 11e3a9652a first 8 gadi atpakaļ webusb.json 11e3a9652a first 8 gadi atpakaļ webvr.json 11e3a9652a first 8 gadi atpakaļ webvtt.json 11e3a9652a first 8 gadi atpakaļ webworkers.json 11e3a9652a first 8 gadi atpakaļ will-change.json 11e3a9652a first 8 gadi atpakaļ woff.json 11e3a9652a first 8 gadi atpakaļ woff2.json 11e3a9652a first 8 gadi atpakaļ word-break.json 11e3a9652a first 8 gadi atpakaļ wordwrap.json 11e3a9652a first 8 gadi atpakaļ x-doc-messaging.json 11e3a9652a first 8 gadi atpakaļ x-frame-options.json 11e3a9652a first 8 gadi atpakaļ xhr2.json 11e3a9652a first 8 gadi atpakaļ xhtml.json 11e3a9652a first 8 gadi atpakaļ xhtmlsmil.json 11e3a9652a first 8 gadi atpakaļ xml-serializer.json 11e3a9652a first 8 gadi atpakaļ adminSystem - Gogs: Go Git Service

No Description

FFIB: 11e3a9652a first 8 years ago
..
examples 11e3a9652a first 8 years ago
lib 11e3a9652a first 8 years ago
CHANGELOG.md 11e3a9652a first 8 years ago
README.md 11e3a9652a first 8 years ago
package.json 11e3a9652a first 8 years ago

README.md

faye-websocket

This is a general-purpose WebSocket implementation extracted from the Faye project. It provides classes for easily building WebSocket servers and clients in Node. It does not provide a server itself, but rather makes it easy to handle WebSocket connections within an existing Node application. It does not provide any abstraction other than the standard WebSocket API.

It also provides an abstraction for handling EventSource connections, which are one-way connections that allow the server to push data to the client. They are based on streaming HTTP responses and can be easier to access via proxies than WebSockets.

Installation

$ npm install faye-websocket

Handling WebSocket connections in Node

You can handle WebSockets on the server side by listening for HTTP Upgrade requests, and creating a new socket for the request. This socket object exposes the usual WebSocket methods for receiving and sending messages. For example this is how you'd implement an echo server:

var WebSocket = require('faye-websocket'),
    http      = require('http');

var server = http.createServer();

server.on('upgrade', function(request, socket, body) {
  if (WebSocket.isWebSocket(request)) {
    var ws = new WebSocket(request, socket, body);
    
    ws.on('message', function(event) {
      ws.send(event.data);
    });
    
    ws.on('close', function(event) {
      console.log('close', event.code, event.reason);
      ws = null;
    });
  }
});

server.listen(8000);

WebSocket objects are also duplex streams, so you could replace the ws.on('message', ...) line with:

    ws.pipe(ws);

Note that under certain circumstances (notably a draft-76 client connecting through an HTTP proxy), the WebSocket handshake will not be complete after you call new WebSocket() because the server will not have received the entire handshake from the client yet. In this case, calls to ws.send() will buffer the message in memory until the handshake is complete, at which point any buffered messages will be sent to the client.

If you need to detect when the WebSocket handshake is complete, you can use the onopen event.

If the connection's protocol version supports it, you can call ws.ping() to send a ping message and wait for the client's response. This method takes a message string, and an optional callback that fires when a matching pong message is received. It returns true if and only if a ping message was sent. If the client does not support ping/pong, this method sends no data and returns false.

ws.ping('Mic check, one, two', function() {
  // fires when pong is received
});

Using the WebSocket client

The client supports both the plain-text ws protocol and the encrypted wss protocol, and has exactly the same interface as a socket you would use in a web browser. On the wire it identifies itself as hybi-13.

var WebSocket = require('faye-websocket'),
    ws        = new WebSocket.Client('ws://www.example.com/');

ws.on('open', function(event) {
  console.log('open');
  ws.send('Hello, world!');
});

ws.on('message', function(event) {
  console.log('message', event.data);
});

ws.on('close', function(event) {
  console.log('close', event.code, event.reason);
  ws = null;
});

The WebSocket client also lets you inspect the status and headers of the handshake response via its statusCode and headers properties.

To connect via a proxy, set the proxy option to the HTTP origin of the proxy, including any authorization information, custom headers and TLS config you require. Only the origin setting is required.

var ws = new WebSocket.Client('ws://www.example.com/', [], {
  proxy: {
    origin:  'http://username:password@proxy.example.com',
    headers: {'User-Agent': 'node'},
    tls:     {cert: fs.readFileSync('client.crt')}
  }
});

The tls value is a Node 'TLS options' object that will be passed to tls.connect().

Subprotocol negotiation

The WebSocket protocol allows peers to select and identify the application protocol to use over the connection. On the client side, you can set which protocols the client accepts by passing a list of protocol names when you construct the socket:

var ws = new WebSocket.Client('ws://www.example.com/', ['irc', 'amqp']);

On the server side, you can likewise pass in the list of protocols the server supports after the other constructor arguments:

var ws = new WebSocket(request, socket, body, ['irc', 'amqp']);

If the client and server agree on a protocol, both the client- and server-side socket objects expose the selected protocol through the ws.protocol property.

Protocol extensions

faye-websocket is based on the websocket-extensions framework that allows extensions to be negotiated via the Sec-WebSocket-Extensions header. To add extensions to a connection, pass an array of extensions to the :extensions option. For example, to add permessage-deflate:

var deflate = require('permessage-deflate');

var ws = new WebSocket(request, socket, body, [], {extensions: [deflate]});

Initialization options

Both the server- and client-side classes allow an options object to be passed in at initialization time, for example:

var ws = new WebSocket(request, socket, body, protocols, options);
var ws = new WebSocket.Client(url, protocols, options);

protocols is an array of subprotocols as described above, or null. options is an optional object containing any of these fields:

  • extensions - an array of websocket-extensions compatible extensions, as described above
  • headers - an object containing key-value pairs representing HTTP headers to be sent during the handshake process
  • maxLength - the maximum allowed size of incoming message frames, in bytes. The default value is 2^26 - 1, or 1 byte short of 64 MiB.
  • ping - an integer that sets how often the WebSocket should send ping frames, measured in seconds

The client accepts some additional options:

  • proxy - settings for a proxy as described above
  • tls - a Node 'TLS options' object containing TLS settings for the origin server, this will be passed to tls.connect()
  • ca - (legacy) a shorthand for passing {tls: {ca: value}}

WebSocket API

Both server- and client-side WebSocket objects support the following API.

  • on('open', function(event) {}) fires when the socket connection is established. Event has no attributes.
  • on('message', function(event) {}) fires when the socket receives a message. Event has one attribute, data, which is either a String (for text frames) or a Buffer (for binary frames).
  • on('error', function(event) {}) fires when there is a protocol error due to bad data sent by the other peer. This event is purely informational, you do not need to implement error recover.
  • on('close', function(event) {}) fires when either the client or the server closes the connection. Event has two optional attributes, code and reason, that expose the status code and message sent by the peer that closed the connection.
  • send(message) accepts either a String or a Buffer and sends a text or binary message over the connection to the other peer.
  • ping(message, function() {}) sends a ping frame with an optional message and fires the callback when a matching pong is received.
  • close(code, reason) closes the connection, sending the given status code and reason text, both of which are optional.
  • version is a string containing the version of the WebSocket protocol the connection is using.
  • protocol is a string (which may be empty) identifying the subprotocol the socket is using.

Handling EventSource connections in Node

EventSource connections provide a very similar interface, although because they only allow the server to send data to the client, there is no onmessage API. EventSource allows the server to push text messages to the client, where each message has an optional event-type and ID.

var WebSocket   = require('faye-websocket'),
    EventSource = WebSocket.EventSource,
    http        = require('http');

var server = http.createServer();

server.on('request', function(request, response) {
  if (EventSource.isEventSource(request)) {
    var es = new EventSource(request, response);
    console.log('open', es.url, es.lastEventId);
    
    // Periodically send messages
    var loop = setInterval(function() { es.send('Hello') }, 1000);
    
    es.on('close', function() {
      clearInterval(loop);
      es = null;
    });
  
  } else {
    // Normal HTTP request
    response.writeHead(200, {'Content-Type': 'text/plain'});
    response.end('Hello');
  }
});

server.listen(8000);

The send method takes two optional parameters, event and id. The default event-type is 'message' with no ID. For example, to send a notification event with ID 99:

es.send('Breaking News!', {event: 'notification', id: '99'});

The EventSource object exposes the following properties:

  • url is a string containing the URL the client used to create the EventSource.
  • lastEventId is a string containing the last event ID received by the client. You can use this when the client reconnects after a dropped connection to determine which messages need resending.

When you initialize an EventSource with new EventSource(), you can pass configuration options after the response parameter. Available options are:

  • headers is an object containing custom headers to be set on the EventSource response.
  • retry is a number that tells the client how long (in seconds) it should wait after a dropped connection before attempting to reconnect.
  • ping is a number that tells the server how often (in seconds) to send 'ping' packets to the client to keep the connection open, to defeat timeouts set by proxies. The client will ignore these messages.

For example, this creates a connection that allows access from any origin, pings every 15 seconds and is retryable every 10 seconds if the connection is broken:

var es = new EventSource(request, response, {
  headers: {'Access-Control-Allow-Origin': '*'},
  ping:    15,
  retry:   10
});

You can send a ping message at any time by calling es.ping(). Unlike WebSocket, the client does not send a response to this; it is merely to send some data over the wire to keep the connection alive.

License

(The MIT License)

Copyright (c) 2010-2015 James Coglan

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.