@mainframe/data-types
## Types
Last updated 2 years ago by aclarke .
MIT · Original npm · Tarball · package.json
$ cnpm install @mainframe/data-types 
SYNC missed versions from official npm registry.

Mainframe data types utilities

Types

MainframeID

Ed25519 public key encoded as multibase base64url string in URN.

Constants

MAINFRAME_ID_URN_NID

NID used for the manifest IDs URN.

MAINFRAME_ID_URN_NSS_ENCODING

Encoding for the NSS value.

API

mainframeIDType()

Arguments

  1. value: any

Returns MainframeID

isValidMainframeID()

Arguments

  1. value: string

Returns boolean

encodeMainframeID()

Arguments

  1. value: Buffer

Returns MainframeID

decodeMainframeID()

Arguments

  1. value: MainframeID

Returns Buffer

Current Tags

  • 0.3.0                                ...           latest (2 years ago)

2 Versions

  • 0.3.0                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (1)

Copyright 2014 - 2017 © taobao.org |