New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ydke

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ydke

Convert to and from ydke:// URL deck lists

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

ydke.js

Convert Yu-Gi-Oh! deck lists between ydke:// URL form and passcode arrays. For Node.js only. TypeScript-compatible and dependency-free.

ydke:// URLs are a compact Yu-Gi-Oh! deck serialization format, used in Project Ignis: EDOPro and at YGOPRODECK.

Example usage

const ydke = require("ydke"); // ES6: import * as ydke from "ydke";
ydke.parseURL("ydke://o6lXBZyFNAI=!viOnAg==!7ydRAA==!");
/*
{
  main: Uint32Array(2) [ 89631139, 36996508 ],
  extra: Uint32Array(1) [ 44508094 ],
  side: Uint32Array(1) [ 5318639 ]
}
*/
ydke.toURL({
    main: Uint32Array.from([46986414, 44095762]),
    extra: Uint32Array.from([01861629]),
    side: Uint32Array.from([])
});
// "ydke://rvTMAhLZoAI=!/WccAA==!!"

License

GNU Lesser General Public License 3.0 or later. See COPYING and COPYING.LESSER.

This package is part of Project Ignis.

Yu-Gi-Oh! is a trademark of Studio Dice, Shueisha, and Konami.

FAQs

Package last updated on 18 Jun 2020

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