Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mofirojean/ngx-transforms

Repository files navigation

NgxTransforms

A comprehensive collection of modern, type-safe, and performant Angular pipes.


🚀 Features

  • Pure & Performant: All pipes are pure by default, ensuring optimal change detection performance.
  • Type-Safe: Written in TypeScript with strict type checking to catch errors at compile time.
  • Standalone: Fully compatible with Angular's standalone components API.
  • Tree-Shakeable: Import only what you need, keeping your bundle size small.
  • Modern: Built for the latest versions of Angular.

📦 Installation

Install the library via npm:

npm install @ngx-transforms/core

🛠️ Usage

Import the pipe you need into your component:

import { Component } from '@angular/core';
import { CountPipe } from '@ngx-transforms/core';

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [CountPipe],
  template: `
    <p>Array length: {{ items | count }}</p>
  `
})
export class AppComponent {
  items = [1, 2, 3, 4, 5];
}

📚 Documentation

For full documentation and examples, visit our documentation site (coming soon).

🤝 Contributing

Contributions are welcome! Please read our Contributing Guide for details on our code of conduct, and the process for submitting pull requests.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

👨‍💻 Author

Built with ❤️ by Mofiro Jean.

About

Common angular pipe examples for your day to day tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published