Skip to content

decentralgabe/edn

 
 

Repository files navigation

@transmute/edn

CI Branches Functions Lines Statements Jest coverage

🚧 Experimental 🔥

This package generates HTML in a naive manner that could lead to XSS.

Usage

npm i @transmute/edn --save
import * as edn from "@transmute/edn";
const document: edn.EDNCoseSign1 = await edn.parse(
  Buffer.from("D28444A1013822A1044...02E9D91E9B7B59622A3C", "hex")
  // or "18([h'A1013822', {4: h'5 ...
)
const message = Buffer.from("D28444A1013822A1044...02E9D91E9B7B59622A3C", "hex");
const html = await edn.render(message, 'text/html')

Develop

npm i
npm t
npm run lint
npm run build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.7%
  • JavaScript 6.4%
  • HTML 1.9%