# ilurl

> fast and easy way to read a url

Latest version **1.0.9** (published 2021-01-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install ilurl
pnpm add ilurl
yarn add ilurl
bun add ilurl
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2021-01-23 |
| First published | 2021-01-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mridul |
| Maintainers | lmodules |
| Keywords | ilurl, URL, URLREADING, parseurl, ilurl, URLtoJSON, easy and fast url reading |

## Links

- npm: https://www.npmjs.com/package/ilurl
- npm.io page: https://npm.io/package/ilurl

## Dependencies (1)

- [ilurl](https://npm.io/package/ilurl.md) ^1.0.3

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.0.9 (latest) — 2021-01-23
- 1.0.8 — 2021-01-23
- 1.0.7 — 2021-01-23
- 1.0.6 — 2021-01-23
- 1.0.5 — 2021-01-23
- 1.0.4 — 2021-01-21
- 1.0.3 — 2021-01-21
- 1.0.2 — 2021-01-21
- 1.0.1 — 2021-01-21
- 1.0.0 — 2021-01-21

## README

# ILURL DOCUMENT

> The easy way to read url as an object

```js
npm i ilurl
```
There are 4 thing for which you can use ilurl =>
|NAME|MEANING|
|--|--|
| **Query** | It is used read the query from the url and .|
|**Hostname**|It is used to read the host name.|
|**Path**|It is used to read path of page you are in the website.|
|**Scheme**|It is used to identify whether the website is secure or not.|
|**Parse**|You can use it to get all the information from the url.|

## Query

> A **query** string is a part of a uniform resource locator (**URL**) that assigns values to specified parameters. A **query** string commonly includes fields added to a base **URL** by a Web browser or other client application, for example as part of an HTML form.

### code :
```js
var ilurl = require("ilurl");
var url = "https://example.com/path/to/page?name=ferret&color=purple";
console.log(ilurl.query(url));
```
## HostName

> Most web browsers display the URL of a web page above the page in an address bar. A typical URL could have the form http://**www.example.com**/index.html , which indicates a **protocol** ( http ), a hostname ( **www.example.com** ), and a file name ( index. html ).

### code :
```js
var ilurl = require("ilurl");
var url = "https://example.com/path/to/page?name=ferret&color=purple";
console.log(ilurl.hostname(url));
```
## Path

> The **path** refers to the exact location of a page, post, file, or other asset. It is often analogous to the underlying file structure of the website. The **path** resides after the hostname and is separated by “/” (forward slash).

### code :
```js
var ilurl = require("ilurl");
var url = "https://example.com/path/to/page?name=ferret&color=purple";
console.log(ilurl.path(url));
```
## Scheme

>A **URL** for HTTP (or HTTPS) is normally made up of three or four components: A **scheme**. The **scheme** identifies the protocol to be used to access the resource on the Internet. It can be HTTP (without SSL) or HTTPS (with SSL).

### code :
```js
var ilurl = require("ilurl");
var url = "https://example.com/path/to/page?name=ferret&color=purple";
console.log(ilurl.scheme(url));
```
## Parse

>You will get all the information of url using this method.

### code :
```js
var ilurl = require("ilurl");
var url = "https://example.com/path/to/page?name=ferret&color=purple";
console.log(ilurl.parse(url));
```
[GitHub Profile Of ilurl](https://github.com/livrang/livrangnodemodules/edit/main/ilurl/)

-- created by Mridul

---
_Source: https://npm.io/package/ilurl · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
