New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

js-cookie-curd

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
Package was removed
Sorry, it seems this package was removed from the registry

js-cookie-curd

a simple JS cookie lib

latest
Source
npmnpm
Version
1.2.1
Version published
Maintainers
1
Created
Source

a simple JavaScript Cookie Lib

Useage

import {
    setCookie,
    getCookie,
    removeCookie
} from 'js-cookie-curd'

// SET COOKIE,IF NOT SET YET WILL CREATE NEW ONE
// eg.`key` will expire after 3 days.Default day param is 1
setCookie('key','value',3)

// GET COOKIE BY NAME,IF NO HAS,RETURN `undefined`
getCookie('key')

// REMOVE COOKIE
removeCookie('key')

FAQs

Package last updated on 19 Dec 2017

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