UNPKG

ls-exports

Version:

CLI for `list-exports`: Given a package name and a version number, or a path to a package.json, what specifiers does it expose?

14 lines (11 loc) 228 B
'use strict'; const { table: makeTable, getBorderCharacters, } = require('table'); module.exports = function table(data, options = {}) { return makeTable(data, { border: getBorderCharacters('norc'), ...options, }); };