![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@mozmeao/cookie-helper
Advanced tools
A complete cookies reader/writer framework with full unicode support.
A complete cookies reader/writer framework with full unicode support. For more general information on web Cookies visit MDN.
Install via npm: npm install @mozmeao/cookie-helper
Import the library at your applications entrypoint via require, import or by using a global variable in your script tag::
import CookieHelper from '@mozmeao/cookie-helper';
const CookieHelper = require('@mozmeao/cookie-helper')
const CookieHelper = window.CookieHelper
Once that object is instanciated you can use the following functions:
Function | Notes |
---|---|
CookieHelper.setItem(name, value[, end[, path[, domain[, secure[, samesite]]]]]) | will set a cookie inside of document.cookie If the cookie is created it will return true otherwise, false |
CookieHelper.getItem(name) | Will return the key that you pass to the function, if not found or no argument was passed - will return null |
CookieHelper.removeItem(name[, path[, domain]]) | Will remove the cookie that matches the passed key. If no key is found, it will return false . If key is found, it will set the cookie to expire immediately and then return true |
CookieHelper.hasItem(name) | Will return true if cookie is found that matches the passed key. If no key is found it will return false |
CookieHelper.keys() | Will return an array of the keys found in document.cookie |
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
FAQs
A complete cookies reader/writer framework with full unicode support.
The npm package @mozmeao/cookie-helper receives a total of 149 weekly downloads. As such, @mozmeao/cookie-helper popularity was classified as not popular.
We found that @mozmeao/cookie-helper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
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.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.