New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cookie-jwt

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

cookie-jwt - npm Package Compare versions

Comparing version

to
1.0.2

11

package.json
{
"name": "cookie-jwt",
"version": "1.0.1",
"description": "Tiny wrapper function for got jwt payload form cookie",
"version": "1.0.2",
"description": "Tiny wrapper function for get jwt payload from cookie",
"main": "index.js",

@@ -11,6 +11,11 @@ "scripts": {

"jwt",
"cookie"
"cookie",
"json web token"
],
"author": "inuscript <inuscript@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/inuscript/cookie-jwt.git"
},
"devDependencies": {

@@ -17,0 +22,0 @@ "mocha": "^3.1.0"

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

Tiny wrapper function for got [jwt](http://jwt.io/) payload form cookie
Tiny wrapper function for get [jwt](http://jwt.io/) payload from cookie
[![Build Status](https://travis-ci.org/inuscript/cookie-jwt.svg?branch=master)](https://travis-ci.org/inuscript/cookie-jwt)

@@ -24,2 +23,2 @@ [![npm](https://img.shields.io/npm/v/cookie-jwt.svg?maxAge=2592000)](https://www.npmjs.com/package/cookie-jwt)

* Return jwt payload.
* If got parse error, this return **empty object** (like `{}`)
* If a got parse error, this function return **empty object** (like `{}`)