# stik-url

> Adds url related functionalities to Stik.js

Latest version **0.2.2** (published 2014-06-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install stik-url
pnpm add stik-url
yarn add stik-url
bun add stik-url
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2014-06-25 |
| First published | 2014-06-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Lukas Alexandre |
| Maintainers | lukelex |
| Keywords | url, restful, testability, dependency-injection |

## Links

- npm: https://www.npmjs.com/package/stik-url
- Repository: git@github.com:stikjs/stik-url
- Homepage: https://github.com/stikjs/stik-url
- Issues: https://github.com/stikjs/stik-url/issues
- npm.io page: https://npm.io/package/stik-url

## Dependencies (2)

- [stik-core](https://npm.io/package/stik-core.md) ^1.0.3
- [stik-helpers](https://npm.io/package/stik-helpers.md) ^0.4.0

## 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

- 0.2.2 (latest) — 2014-06-25

## README

#stik-url

##$url
`$url` will help you interact with your url.

###Using it
```javascript
stik.controller("YourCtrl", "YourAction", function($url){
  // http://my-website.com?someKey=someValue
  $url.queries(); // { someKey: "someValue" }

  // http://my-website.com#users
  $url.hash(); // "users"
  $url.hash("products");
  // http://my-website.com#products
});
```

Available methods:

* baseUrl
* relativeUrl
* pathName
* hash
* locationHash
* mainPath
* queries

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