js-cookie 2.1.3

A simple, lightweight JavaScript API for handling cookies.

There is a newer version of this package available.
See the version list below for details.
Install-Package js-cookie -Version 2.1.3
dotnet add package js-cookie --version 2.1.3
<PackageReference Include="js-cookie" Version="2.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add js-cookie --version 2.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- Add expired cookie detail to docs
- Clarify the interoperability of default encoding
- Add support for uglifyJS 'unsafe' option
- Create an example in the docs for creating a cookie that expire in hours/minutes
- Add a note in the README for cookies that expires in less than a day
- Do not parse as JSON when window has a truthy 'json' prop
- Add support for ES6 module imports
- Register in AMD and UMD if both available

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.2.0 39,569 11/15/2017
2.1.4 20,980 4/4/2017
2.1.3 28,549 9/2/2016
2.1.2 16,357 5/30/2016
2.1.1 2,457 4/26/2016
2.1.0 11,268 2/16/2016