Skip to content

Instantly share code, notes, and snippets.

View mohaimenmahi's full-sized avatar
🌍

Mohammad Mohaimen Chowdhury mohaimenmahi

🌍
  • Cefalo Bangladesh Ltd.
  • Dhaka, Bangladesh
View GitHub Profile
@emaitee
emaitee / index.js
Last active May 5, 2022 20:28
passport-jwt-sequelize-mysql
const express = require('express');
const bodyParser = require('body-parser');
const jwt = require('jsonwebtoken');
const passport = require('passport');
const passportJWT = require('passport-jwt');
let ExtractJwt = passportJWT.ExtractJwt;
let JwtStrategy = passportJWT.Strategy;
@coolaj86
coolaj86 / how-to-publish-to-npm.md
Last active April 2, 2024 20:18
How to publish packages to NPM

Getting Started with NPM (as a developer)

As easy as 1, 2, 3!

Updated:

  • Aug, 08, 2022 update config docs for npm 8+
  • Jul 27, 2021 add private scopes
  • Jul 22, 2021 add dist tags
  • Jun 20, 2021 update for --access=public
  • Sep 07, 2020 update docs for npm version