@ngx-toolkit/spring
TypeScript icon, indicating that this package has built-in type declarations

13.2.1 • Public • Published

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

Package Sidebar

Install

npm i @ngx-toolkit/spring

Weekly Downloads

3

Version

13.2.1

License

MIT

Unpacked Size

29.3 kB

Total Files

13

Last publish

Collaborators

  • npetillon