New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

angular-qs

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-qs

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

latest
Source
npmnpm
Version
0.0.11
Version published
Weekly downloads
77
-20.62%
Maintainers
1
Weekly downloads
 
Created
Source

angular-qs Build Status

Angular query string services module

Installation

npm i angular-qs

Usage

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

e.g.

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

Keywords

qs

FAQs

Package last updated on 18 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts