You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

nestjs-fastjwt

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

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
Weekly downloads
4
increased by300%
Maintainers
1
Created
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

Package last updated on 29 May 2023

Did you know?

Socket

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
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc