1.6.5 • Published 9 months ago

nestia-fetcher-no-deps v1.6.5

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Diff

This package removes the dependencies (import2 and node-fetch) from the original @nestia/fetcher in order to use it with libs that don't allow dynamic import, like webpack.

It requires global fetch to be defined at runtime.

Nestia

Nestia Logo

GitHub license npm version Downloads Build Status Guide Documents

Nestia is a set of helper libraries for NestJS, supporting below features:

  • @nestia/core: super-fast decorators
  • @nestia/sdk:
    • Swagger generator evolved than ever
    • SDK library generator for clients
    • Mockup Simulator for client applications
    • Automatic E2E test functions generator
  • @nestia/migrate: migration from Swagger to NestJS
  • nestia: just CLI (command line interface) tool

Note

  • Only one line required, with pure TypeScript type
  • Enhance performance 30x up
    • Runtime validator is 20,000x faster than class-validator
    • JSON serialization is 200x faster than class-transformer
  • Software Development Kit
    • SDK is a collection of fetch functions with type definitions like tRPC
    • Mockup simulator means embedded backend simulator in SDK
      • similar with msw, but fully automated

nestia-sdk-demo

Left is NestJS server code, and right is client (frontend) code utilizing SDK

Sponsors and Backers

Thanks for your support.

Your donation would encourage nestia development.

Backers

Guide Documents

Check out the document in the website:

🏠 Home

📖 Features

🔗 Appendix

1.6.5

9 months ago