MCPcopy Create free account
hub / github.com/cryptii/cryptii / getLibrary

Method getLibrary

src/Factory/Brick.js:140–143  ·  view source on GitHub ↗

* Returns array of brick meta objects. * @return {object[]}

()

Source from the content-addressed store, hash-verified

138 * @return {object[]}
139 */
140 getLibrary () {
141 return this.getIdentifiers()
142 .map(identifier => this.getMeta(identifier))
143 }
144
145 /**
146 * Get brick factory singleton instance.

Callers 1

getLibraryModalViewMethod · 0.80

Calls 2

getMetaMethod · 0.95
getIdentifiersMethod · 0.80

Tested by

no test coverage detected