https://github.com/edwardpayton/angularx-pipes
A collection of useful, reusable Angular pipes
https://github.com/edwardpayton/angularx-pipes
angular angular2 ng pipes pipes-and-filters
Last synced: about 2 months ago
JSON representation
A collection of useful, reusable Angular pipes
- Host: GitHub
- URL: https://github.com/edwardpayton/angularx-pipes
- Owner: edwardpayton
- License: mit
- Created: 2017-05-11T20:38:01.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-18T18:18:26.000Z (about 9 years ago)
- Last Synced: 2025-12-27T12:47:01.785Z (6 months ago)
- Topics: angular, angular2, ng, pipes, pipes-and-filters
- Language: TypeScript
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AngularX Pipes
A collection of useful, reusable Angular pipes
For Angular 2 and above
Supplied in UMD Bundle format through NPM
https://www.npmjs.com/package/angularx-pipes
https://github.com/edwardpayton/angularx-pipes
## Installation
To install this library, run:
```bash
$ npm install angularx-pipes --save
```
## Consuming the library
You can import your library in any Angular application by running:
```bash
$ npm install angularx-pipes
```
and then from your Angular `AppModule`:
```typescript
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
// Import the library
import { AngularxPipes } from 'angularx-pipes';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
AngularxPipes // import the module
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
```
Once your library is imported, you can use its pipes in your Angular application
## Numeral Pipe
[NumeralJS](http://numeraljs.com/) is required for the numeral pipe
It is includes in the package, but you can also install in yourself
```bash
$ npm install numeral --save
```
## License
MIT © [Edward Payton](mailto:edwardjpayton@gmail.com)