registry

Usage: registry()

Returns the registry map, prefer 'getSpec' to lookup a spec by name

Source

Example:

const s = require('speculaas');

for (var [key, value] of s.registry()) {
    console.log(key + " = " value);
}

results matching ""

    No results matching ""