Magic static void main
Install package:
# npm
npm install @kodadot1/hyperdata
# yarn
yarn add @kodadot1/hyperdata
# pnpm
pnpm install @kodadot1/hyperdata
Import:
// ESM
import * as hyperdata from "@kodadot1/hyperdata";
// CommonJS
const hyperdata = require("@kodadot1/hyperdata");
- protocolize - append
ipfs://
if possible'@kodadot1/minipfs'
Create metadata for NFTs
- createOpenSeaMetadata - create metadata for OpenSea
Unifying data structure into one format
- attributeFrom - unify attribute to one format
- contentFrom - unify metadata to one format
- normalize - sanitize content fields to one format
Misc utils for manipulating with data
Misc types for metadata namely:
- OpenSea
- FxHash
- Tezos (TZIP-16)
- ERC-5773
- NFT Metadata CheatSheet
Made with 💛
Published under MIT License.