{"size": 268, "ext": "js", "max_stars_repo_path": "lib/handlers/em.js", "max_stars_repo_name": "eliyap/hast-util-to-mdast", "max_stars_repo_stars_event_min_datetime": "2017-02-10T23:38:31.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-11T18:06:24.000Z", "max_issues_repo_path": "lib/handlers/em.js", "max_issues_repo_name": "eliyap/hast-util-to-mdast", "max_issues_repo_issues_event_min_datetime": "2017-01-29T10:35:03.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-07T04:07:41.000Z", "max_forks_repo_path": "lib/handlers/em.js", "max_forks_repo_name": "eliyap/hast-util-to-mdast", "max_forks_repo_forks_event_min_datetime": "2017-03-09T12:38:55.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-05T08:25:12.000Z"}
{"max_stars_count": 20, "max_issues_count": 57, "max_forks_count": 15, "avg_line_length": 17.8666666667, "max_line_length": 51, "alphanum_fraction": 0.5895522388}
/**
 * @typedef {import('../types.js').Handle} Handle
 * @typedef {import('../types.js').Element} Element
 */

import {all} from '../all.js'

/**
 * @type {Handle}
 * @param {Element} node
 */
export function em(h, node) {
  return h(node, 'emphasis', all(h, node))
}
