accelerator-tool
Version:
The Accelerator devtool. Generally invoked with accelerator-tool, npx accelerator-tool, or xlr8r.
16 lines (14 loc) • 366 B
JavaScript
import {
getInputNouns,
} from './getInputNouns';
import {
getNounNormalizationObject,
} from './getNounNormalizationObject';
/**
* Turn the input nodes into a table of normalized asset types.
*/
export function getNounNormalizationTable() {
return Object.freeze(
Object.assign(...getInputNouns().map(getNounNormalizationObject)),
);
}