Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ng4-helpers

Aroliant2MIT0.0.4TypeScript support: included

Install using npm

angular helpers, http, data

readme

Data Helpers for Angular Projects

Installing

Install using npm

npm install ng4-helpers

Usage

Import the Helper

import { DataHelper } from 'ng4-helpers';

Create an Helper Object

var helper = new DataHelper()

Encoding

Encoding all Objects
helper.addAll(object) //returns Encoded URL Data
Encoding one by one
helper.addParam("username","name1")
helper.addParam("password","123")

var encodedURL = helper.getData() //returns Encoded URL Data
Clearning the data
helper.clear()