# angular-qs

> QueryString service for angular with filter and locationSearching, for use without HTML5 mode enabled

Latest version **0.0.11** (published 2015-08-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install angular-qs
pnpm add angular-qs
yarn add angular-qs
bun add angular-qs
```

## 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.0.11 |
| Published | 2015-08-18 |
| First published | 2015-08-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Justin Beaudry |
| Maintainers | justinbeaudry |
| Keywords | qs, query, parser, stringify, querystring, angular, angularjs |

## Links

- npm: https://www.npmjs.com/package/angular-qs
- Repository: https://github.com/JustinBeaudry/angular-qs
- Homepage: https://github.com/JustinBeaudry/angular-qs#readme
- Issues: https://github.com/JustinBeaudry/angular-qs/issues
- npm.io page: https://npm.io/package/angular-qs

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 0.0.11 (latest) — 2015-08-18
- 0.0.10 — 2015-08-07
- 0.0.9 — 2015-08-07
- 0.0.8 — 2015-08-07
- 0.0.7 — 2015-08-07
- 0.0.6 — 2015-08-06
- 0.0.5 — 2015-08-06

## README

angular-qs [![Build Status](https://travis-ci.org/JustinBeaudry/angular-qs.svg)](https://travis-ci.org/JustinBeaudry/angular-qs)
=========

Angular query string services module

## Installation

```js
npm i angular-qs
```

## Usage

In your modules setter, have your module depend upon `qsServices`.

e.g.

```js
angular.module('myApp', ['qsServices']);
```

## Services and Filter
* `qsProvider`, is injectable into your modules config block, currently only allows setting delimiter.
* `qs`, the injectable query string parser and 'stringifier' service. qs.stringify uses $httpParamSerializer.
* `locationSearch`, service replacement for $location.search() (which it defaults to if HTML5Mode is enabled), uses $window.location.search if available and a custom href parser if needed
* `queryStringFilter`, filter for handling the use of query string parameters in angular templates

## TODO
* locationSearch should be a 'drop-in' replacement for $location.search() for fallbacks when not in html5Mode (this should allow the ability to decorate $location with the custom search if desired)
* Provide details on each method

## ROADMAP

* `0.1.0` - locationSearch mimic $location.search() and work well as a decorator replacement for $location.search
* `0.1.5` - jsdoc

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