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(). URI.js offers simple, yet powerful ways of working with query string, has a number of URI-normalization functions and converts relative/absolute paths. While URI.js provides a jQuery plugin. URI.js itself does not rely on jQuery. You don't need jQuery to use URI.js. URI.js (without plugins) has a gzipped weight of about 7KB, if you include all extensions you end up at about 13KB. So unless you need second level domain support and use URI templates, we suggest you don't include them in your build. Clone the URI.js repository or use a package manager to get URI.js into your project. See the build tool or use Google Closure Compiler.

Features

  • Manipulate URLs the "jQuery-style"
  • Work query strings
  • Supports relative paths
  • Detect URIs within random text
  • Compare URLs
  • You can parse URNs

Project Samples

Project Activity

See All Activity >

Categories

Browsers, Libraries

License

MIT License

Follow URI.js

URI.js Web Site

nel_h2
Secure User Management, Made Simple | Frontegg Icon
Secure User Management, Made Simple | Frontegg

Get 7,500 MAUs, 50 tenants, and 5 SSOs free – integrated into your app with just a few lines of code.

Frontegg powers modern businesses with a user management platform that’s fast to deploy and built to scale. Embed SSO, multi-tenancy, and a customer-facing admin portal using robust SDKs and APIs – no complex setup required. Designed for the Product-Led Growth era, it simplifies setup, secures your users, and frees your team to innovate. From startups to enterprises, Frontegg delivers enterprise-grade tools at zero cost to start. Kick off today.
Start for Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of URI.js!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Browsers, JavaScript Libraries

Registered

2021-09-06