Socket
Book a DemoInstallSign in
Socket

@svta/cml-structured-field-values

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@svta/cml-structured-field-values

RFC8941 Structured Field Values implementation

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
14K
3992.2%
Maintainers
2
Weekly downloads
 
Created
Source

@svta/cml-structured-field-values

RFC8941 Structured Field Values implementation.

Installation

npm i @svta/cml-structured-field-values

Usage

import { encodeSfDict } from "@svta/cml-structured-field-values";

const dict = encodeSfDict({
	a: 1,
	b: false,
	c: "x",
	d: Symbol.for("y"),
	e: new Uint8Array([1, 2, 3]),
});

assert(dict === `a=1, b=?0, c="x", d=y, e=:AQID:`);

Keywords

Common Media Library

FAQs

Package last updated on 26 Dec 2025

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