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

@blanik/js-cookies

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blanik/js-cookies

Pure Javascript Cookies By Amadeusz Blanik

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

meCookies

By Amadeusz Blanik

The only one pure JavaScript Cookies which use same time format as Jira!

How to use


Download one of following package:

Then…

<script src="mecookies.js"></script> 
<script> 
let meCookie = new MeCookies()
meCookie.set("hello", "world", "7d")
</script>
Devmode
let meCookie = new MeCookies(true)

Options


Set
meCookie.set(
    name, 
    value, 
    time, ~ eg. "1y 2m 7d 8h"
    path ~ default path = "/"
   )
Time
y - years
m - months
d - days
h - hours
Get
meCookie.get(name)

Keywords

FAQs

Package last updated on 18 Dec 2018

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc