Socket
Socket
Sign inDemoInstall

nestjs-fastjwt

Package Overview
Dependencies
217
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-fastjwt

Nestjs module that uses fast-jwt to provide JWT authentication for Nestjs applications.


Version published
Maintainers
1
Weekly downloads
1

Weekly downloads

Readme

Source

Nest Logo

Jwt Module for Nest framework

NPM Version Package License NPM Downloads

Buy Me A Coffee

Description

This's a nestjs-fastjwt module for Nest. This document assumes that you have a working nodejs setup in place.

Installation

$ npm i --save nestjs-fastjwt

Usage

Usage is pretty straightforward. Import FastJwtModule into the root AppModule and configure it using the forRoot() method. You can pass in a configuration object of type FastJwtModuleOptions to the forRoot() method.

This is supposed to be a drop in replacement for nestjs built-in jwt module. So you can use it the same way you use nestjs built-in jwt module.

Limitations:

  • This module doesn't support time in string format yet. You have to use time in milli seconds for now.

Keywords

FAQs

Last updated on 29 May 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc