qmetrics.net

JS Cookie

Lightweight client-side JavaScript cookie API

A small JavaScript library for reading, writing, and removing browser cookies with broad browser support and no runtime dependencies.

Overview

JavaScript Cookie offers a compact API for managing HTTP cookies entirely on the client. It focuses on straightforward get, set, and remove operations while supporting modern cookie attributes that browsers expect.

The library ships without dependencies and can load as an ES module or through AMD and CommonJS bundlers. You can override default encoding and decoding when you need custom converters, and TypeScript type declarations are available for typed projects.

Cookie options documented in the project include domain visibility, secure transmission over HTTPS, partitioned storage alongside secure cookies, and SameSite behavior for cross-site requests. Documentation also notes Internet Explorer quirks and warns against letting untrusted input control cookie attributes to reduce XSS risk.

For applications that also set or read cookies on the server, separate server integration guidance is maintained outside the core browser API.

Key features

  • Client-side get, set, and remove
  • Wide browser compatibility
  • ES, AMD, and CommonJS modules
  • Custom encoding and decoding hooks
  • TypeScript declarations
  • Secure, SameSite, and partitioned options
  • No package dependencies
  • Documented domain and path behavior

Use cases

  • Persist user preferences in the browser
  • Store short-lived session tokens on the client
  • Tune cookie security attributes for HTTPS sites
  • Share cookie helpers across bundled front-end code

Tags

Similar software

Serialize JavaScript

JavaScript serialization beyond JSON with safe HTML embedding

An npm package that serializes JavaScript values—including functions, regexps, dates, sets, and maps—to literal JS strings safe for script tags when defaults are used.

★ 2.9k⟳ 1 month agoBSD-3-Clause
Frameworks & PlatformsDesktop/CLI app

REA

MCP and CLI reverse-engineering toolkit for agents

REA connects coding agents and terminals to local analysis tools for binaries, Electron apps, websites, .NET, and Android targets. Setup registers MCP access and investigation skills via npm.

★ 480.8k⟳ todayMIT

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT