JSPM

sca-utils

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q14962F
  • License MIT

Utility services for your Node application

Package Exports

  • sca-utils
  • sca-utils/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sca-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


SCA Utils

Some common utilities and tools for NestJS project

Report Bug · Request Feature

Note

The documentation is under development. You are welcome to review the source code and document it. It will be completed soon. You can explore the code for un-documented features.

Installation

npm i sca-utils

Usage

  • There are some nicely formatted TypeScript types and some pre-made ones. These include:
  • A pre-configured NestValidationPipe pipe:
  • A global SingleStructureResponseInterceptor response transformer to convert all outgoing request to uniform structure:
  • There are three helper classes: DateHelpers, FileHelpers and PathHelpers.
  • A global SingleStructureResponseException exception filter.
  • A global ControlFlowModule to inject required dependencies in service in data-access-layers.
  • Some base classes

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

Yahoo: mwaqar666@yahoo.com
Google: muhammadwaqar666@gmail.com