Angular 4 Data Helpers
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitattributes
.gitignore
.npmignore
README.md
package-lock.json
package.json
tsconfig.json

README.md

Angular 4 Data Helpers

Installing

Install using npm

npm install ng4-helpers@latest

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()