Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
JavaScriptExample
/
js-cookie
Public
forked from
js-cookie/js-cookie
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Branch selector
master
User selector
All users
All time
Commit history
Commits on Jun 5, 2018
Update grunt-contrib-nodeunit to version 2.0.0
Show description for cab6678
greenkeeper[bot]
authored and
FagnerMartinsBrack
committed
cab6678
View commit details
Copy full SHA for cab6678
Browse repository at this point
Update grunt-contrib-watch to version 1.1.0
Show description for 6581c42
greenkeeper[bot]
authored and
FagnerMartinsBrack
committed
6581c42
View commit details
Copy full SHA for 6581c42
Browse repository at this point
Run the tests on Node.js 8 and 10 (#446)
DanielRuf
authored and
FagnerMartinsBrack
committed
5e96942
View commit details
Copy full SHA for 5e96942
Browse repository at this point
Commits on May 29, 2018
Cache node_modules in Travis CI
Show description for e288a73
DanielRuf
authored and
FagnerMartinsBrack
committed
e288a73
View commit details
Copy full SHA for e288a73
Browse repository at this point
Commits on Apr 28, 2018
Document the Build Status Matrix can include opened PRs
Show description for 8b311b9
FagnerMartinsBrack
authored
8b311b9
View commit details
Copy full SHA for 8b311b9
Browse repository at this point
Update grunt-contrib-watch to version 1.0.1
Show description for f82f376
greenkeeper[bot]
authored and
FagnerMartinsBrack
committed
f82f376
View commit details
Copy full SHA for f82f376
Browse repository at this point
Update LICENSE to add contributors and Github message (#433)
Show description for 9035bfa
PrestonL
authored and
FagnerMartinsBrack
committed
9035bfa
View commit details
Copy full SHA for 9035bfa
Browse repository at this point
Commits on Apr 24, 2018
Revert ES6 module example that is incorrect
Show description for d8b016b
FagnerMartinsBrack
authored
d8b016b
View commit details
Copy full SHA for d8b016b
Browse repository at this point
Fix JS syntax in readme demo code (#432)
Xesau
authored and
FagnerMartinsBrack
committed
5be8133
View commit details
Copy full SHA for 5be8133
Browse repository at this point
Commits on Apr 13, 2018
Make expires test agnostic to DST change
Show description for 3fcefa5
carhartl
committed
3fcefa5
View commit details
Copy full SHA for 3fcefa5
Browse repository at this point
Fix saucelabs configuration to fix build
Show description for 3138f58
carhartl
committed
3138f58
View commit details
Copy full SHA for 3138f58
Browse repository at this point
Merge pull request #418 from carhartl/fix-getjson-accidentally-writing-cookie-with-too-many-arguments
Show description for 7185983
carhartl
authored
7185983
View commit details
Copy full SHA for 7185983
Browse repository at this point
Commits on Apr 12, 2018
Enhance documentation regarding read operations
carhartl
committed
d7534cd
View commit details
Copy full SHA for d7534cd
Browse repository at this point
Prevent accidentally writing cookie in getJSON()
carhartl
committed
ef3c946
View commit details
Copy full SHA for ef3c946
Browse repository at this point
Commits on Mar 21, 2018
Try making expires related test more fail-safe
Show description for 8b2a880
carhartl
committed
8b2a880
View commit details
Copy full SHA for 8b2a880
Browse repository at this point
Commits on Mar 20, 2018
Fixed typos in the code for the SERVER_SIDE.md docs
Show description for 0875b1c
radarhere
authored and
FagnerMartinsBrack
committed
0875b1c
View commit details
Copy full SHA for 0875b1c
Browse repository at this point
Commits on Feb 16, 2018
Refine fix for running tests in old IEs
carhartl
committed
e56c990
View commit details
Copy full SHA for e56c990
Browse repository at this point
Revert "Fix running test suite in old IEs"
Show description for 8d9dbf3
carhartl
committed
8d9dbf3
View commit details
Copy full SHA for 8d9dbf3
Browse repository at this point
Merge pull request #401 from carhartl/reducing-bytes
Show description for 3ec5018
carhartl
authored
3ec5018
View commit details
Copy full SHA for 3ec5018
Browse repository at this point
Pass on arguments without array'izing it
carhartl
committed
a7ab62c
View commit details
Copy full SHA for a7ab62c
Browse repository at this point
Remove superfluous assignment
Show description for 1df2c68
carhartl
committed
1df2c68
View commit details
Copy full SHA for 1df2c68
Browse repository at this point
Change cookie reading approach
Show description for 8018ea2
carhartl
committed
8018ea2
View commit details
Copy full SHA for 8018ea2
Browse repository at this point
Refine code for applying read converters
carhartl
committed
7f75645
View commit details
Copy full SHA for 7f75645
Browse repository at this point
Make expires attribute handling more concise
carhartl
committed
4cd7df2
View commit details
Copy full SHA for 4cd7df2
Browse repository at this point
Make use of ternary operator instead of if/else
Show description for 7441ec7
carhartl
committed
7441ec7
View commit details
Copy full SHA for 7441ec7
Browse repository at this point
Make use of chaining for string wrangling
carhartl
committed
d53efd3
View commit details
Copy full SHA for d53efd3
Browse repository at this point
Fix running test suite in old IEs
Show description for 6e42d24
carhartl
committed
6e42d24
View commit details
Copy full SHA for 6e42d24
Browse repository at this point
Commits on Feb 15, 2018
Group related code together
carhartl
committed
f9f3f0e
View commit details
Copy full SHA for f9f3f0e
Browse repository at this point
Group api related functions together
carhartl
committed
5083c64
View commit details
Copy full SHA for 5083c64
Browse repository at this point
Commits on Feb 14, 2018
Fix some wording and punctuation in readme
carhartl
committed
e7f7f5d
View commit details
Copy full SHA for e7f7f5d
Browse repository at this point
Commits on Feb 11, 2018
Prevent XSS in the cookie attributes
Show description for 6ac440d
FagnerMartinsBrack
committed
6ac440d
View commit details
Copy full SHA for 6ac440d
Browse repository at this point
Update grunt to version 1.0.2
Show description for e7a476b
greenkeeper[bot]
authored and
FagnerMartinsBrack
committed
e7a476b
View commit details
Copy full SHA for e7a476b
Browse repository at this point
Commits on Feb 1, 2018
Document NPM Package Manager usage
Show description for 73476a4
FagnerMartinsBrack
committed
73476a4
View commit details
Copy full SHA for 73476a4
Browse repository at this point
Document ES6 Module Loader
Show description for a06b840
FagnerMartinsBrack
committed
a06b840
View commit details
Copy full SHA for a06b840
Browse repository at this point
Commits on Oct 28, 2017
Fix vulnerability reports contact e-mail in the README
FagnerMartinsBrack
committed
a0012f2
View commit details
Copy full SHA for a0012f2
Browse repository at this point
Previous
Next
You can’t perform that action at this time.