UNPKG

@msamblanet/deep-iterator

Version:

Deep iteration of any object or iterable collection. (This version revised by @msablanet)

13 lines (10 loc) 258 B
import {getTagMap} from './tag.js'; export default class SelectGenerator { constructor(config) { this.skipIteration = config.skipIteration; this.tagMap = getTagMap(config); } getGenerator(tag) { return this.tagMap[tag]; } }