UNPKG

micromark

Version:

small commonmark compliant markdown parser with positional info and concrete tokens

12 lines (9 loc) 176 B
'use strict' function miniflat(value) { return value === null || value === undefined ? [] : 'length' in value ? value : [value] } module.exports = miniflat