6.0.6 • Published 5 years ago

ng-functions v6.0.6

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

ng-functions

A collection of commonly used functions for angular Tested for angular6

Installation

npm install ng-functions

Installation angular 5.x

npm install ng-functions@1.0.1

How to use

imports

import { CommonServiceModule }  from "ng-functions";
@NgModule({
  imports: [CommonServiceModule]
})
import { CommonService }  from "ng-functions";
constructor(protected commonSvc: CommonService) {
let prefix_unique = commonSvc.guid();
}
randomString(number);//return alphaNumeric random string as given number length;
in_array(needle, haystack);//if needle is in array return true else return false
array_search(needle, haystack);//if needle is in array return index else return false
6.0.6

5 years ago

6.0.5

6 years ago

6.0.4

6 years ago

6.0.3

6 years ago

6.0.2

6 years ago

6.0.1

6 years ago

6.0.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago