Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nestjs-fetch-module

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-fetch-module - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "nestjs-fetch-module",
"version": "0.0.2",
"version": "0.0.3",
"description": "Fetch API as a NestJS provider",

@@ -5,0 +5,0 @@ "author": "Mike Hall, Jakub Leśniak",

@@ -1,2 +0,2 @@

# nestjs-fetch
# nestjs-fetch-module

@@ -7,5 +7,5 @@ A lightweight NestJS wrapper around the native `fetch()` API.

awesome, but until recently we have needed a library to use it with Node. As of
Node 18, Fetch is available by default (based on the `undici` library). Hurrah!
This library wraps a small API around native `fetch()` so it can be used in
NestJS instead of `@nestjs/axios`.
Node 18, Fetch is available by default (based on the `undici` library). This
library wraps a small API around native `fetch()` so it can be used in NestJS
instead of `@nestjs/axios`.

@@ -18,3 +18,3 @@ Note: This is not a drop-in replacement for `@nestjs/axios` or the `HttpModule`.

```bash
npm install nestjs-fetch
npm install nestjs-fetch-module
```

@@ -30,3 +30,3 @@

import { AppService } from './app.service';
import { FetchModule } from 'nestjs-fetch';
import { FetchModule } from 'nestjs-fetch-module';

@@ -45,3 +45,3 @@ @Module({

import { Injectable } from '@nestjs/common';
import { FetchService } from 'nestjs-fetch';
import { FetchService } from 'nestjs-fetch-module';

@@ -94,3 +94,3 @@ @Injectable()

import { AppService } from './app.service';
import { FetchModule } from 'nestjs-fetch';
import { FetchModule } from 'nestjs-fetch-module';

@@ -111,3 +111,3 @@ @Module({

import { AppService } from './app.service';
import { FetchModule } from 'nestjs-fetch';
import { FetchModule } from 'nestjs-fetch-module';
import { ConfigModule, ConfigService } from '@nestjs/config';

@@ -114,0 +114,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc