Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WHATWG URL API

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on.
Avatar for ymmooot ymmooot
December 19, 2018

WHATWG URL API

Avatar for ymmooot

ymmooot

December 19, 2018
Tweet

Other Decks in Programming

Transcript

  1. URI.js • URI.js is a javascript library for working with

    URLs. It offers a "jQuery-style" API (Fluent Interface, Method Chaining) to read and write all regular components and a number of convenience methods like .directory() and .authority().
  2. WHAT IS WHATWG • Web Hypertext Application Technology Working Group

    • The WHATWG was founded by individuals of Apple, the Mozilla Foundation, and Opera Software in 2004, after a W3C workshop. Apple, Mozilla and Opera were becoming increasingly concerned about the W3C’s direction with XHTML, lack of interest in HTML, and apparent disregard for the needs of real-world web developers. So, in response, these organisations set out with a mission to address these concerns and the Web Hypertext Application Technology Working Group was born.
  3. WHATWG URL • Node v7.0.0 (v6.13.0): Experimental • Node v10.0.0:

    global object • Node v11.0.0: The Legacy URL API is deprecated. Use the WHATWG URL API.
  4. URLSearchParams • The URLSearchParams API provides read and write access

    to the query of a URL. The URLSearchParams class can also be used standalone with one of the four following constructors. The URLSearchParams class is also available on the global object.