@ngx-toolkit/spring

Angular spring utilities

Stats

stars šŸŒŸissues āš ļøupdated šŸ› created šŸ£size šŸ‹ļøā€ā™€ļø
1612May 26, 2021Feb 2, 2018Minified + gzip package size for @ngx-toolkit/spring in KB

Readme

npm version MIT License Build Status Coverage Join the chat at https://gitter.im/ngx-toolkit/Lobby

@ngx-toolkit/spring

Angular Spring utilities

Table of contents:


Installation

Install the npm package.

# To get the latest stable version and update package.json file:
npm install @ngx-toolkit/spring --save
# or
yarn add @ngx-toolkit/spring

Spring Data

Some Spring Data Commons classes:

  • Page<T> type
  • Sort(orders: string | string[] | Order[], direction: Direction = 'ASC')
  • PageRequest(page: number = 0, size: number = 20, sort?: Sort) with `toHttpParams(options: {
                                                                                       fromString?: string;
                                                                                       fromObject?: {
                                                                                           [param: string]: string | string[];
                                                                                       };
                                                                                       encoder?: HttpParameterCodec;
                                                                                   } = {} as {
                                                                                       fromString?: string;
                                                                                       fromObject?: {
                                                                                           [param: string]: string | string[];
                                                                                       };
                                                                                       encoder?: HttpParameterCodec;
                                                                                   })` method to convert value in request params
    

License

Ā© 2018 Dewizz

MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.