1.0.3 • Published 6 years ago

scorpion-search-multiple-fields v1.0.3

Weekly downloads
1
License
ISC
Repository
gitlab
Last release
6 years ago

THIS IS JUST A TEST FOR NOW, AND THE PRODUCT IS NOT YET FINISHED I have allready added my code from my pipe, but it's not installable as an npm and working in a project

scorpion-search-multiple-fields

Angular 2+ pipe for searching and filtering on multiple, and specific, fields

Example usage:

<li *ngFor="let n of list | searchMultipleFields: queryString : ['name','age'] "> Or you can also set this.searchableFields = ['name','age'] in the module and use: <li *ngFor="let n of list | searchMultipleFields: queryString : searchableFields ">

The queryString can be an array or a string. If the string contains ',' the string will be split into an array.

Information for development

Since i'm new to NPM packaging i have documented a piece of code for myselve when i create a new version of my code

  • Use npm version patch to update the version
  • followed by npm publish to publish a new version on NPM
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago