{"_id":"markdown-table","_rev":"3275926","name":"markdown-table","description":"Generate a markdown (GFM) table","dist-tags":{"latest":"3.0.3"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2024-03-21T10:26:15.000Z","created":"2014-10-04T17:32:26.220Z","3.0.3":"2022-11-30T08:55:11.227Z","3.0.2":"2021-12-05T09:38:49.902Z","3.0.1":"2021-06-22T07:25:45.418Z","3.0.0":"2021-03-18T11:31:47.617Z","2.0.0":"2020-01-23T16:48:28.916Z","1.1.3":"2019-05-09T07:38:50.066Z","1.1.2":"2018-04-19T16:29:24.143Z","1.1.1":"2017-07-19T23:11:50.315Z","1.1.0":"2017-01-27T16:13:52.777Z","1.0.0":"2016-08-10T16:47:29.890Z","0.4.0":"2015-04-08T18:20:12.197Z","0.3.2":"2015-01-22T18:48:34.436Z","0.3.1":"2014-12-26T13:11:09.716Z","0.3.0":"2014-12-19T20:19:58.859Z","0.2.0":"2014-11-29T14:03:40.719Z","0.1.0":"2014-10-30T19:40:31.404Z","0.0.1":"2014-10-04T17:32:26.220Z"},"users":{"dotnil":true,"doodlewind":true,"ahmed-dinar":true,"honzajde":true,"serge-nikitin":true,"danielbayley":true,"darrentorpey":true},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/wooorm/markdown-table.git"},"versions":{"3.0.3":{"name":"markdown-table","version":"3.0.3","description":"Generate a markdown (GFM) table","license":"MIT","keywords":["text","markdown","table","align","rows","tabular"],"repository":{"type":"git","url":"git+https://github.com/wooorm/markdown-table.git"},"bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","devDependencies":{"@types/node":"^18.0.0","c8":"^7.0.0","chalk":"^5.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","strip-ansi":"^7.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.53.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"complexity":"off","unicorn/prefer-switch":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"17797f6b7049f6709d8b4d40ba5893acff659383","homepage":"https://github.com/wooorm/markdown-table#readme","_id":"markdown-table@3.0.3","_nodeVersion":"19.0.0","_npmVersion":"8.19.2","dist":{"shasum":"e6331d30e493127e031dd385488b5bd326e4a6bd","size":6714,"noattachment":false,"key":"/markdown-table/-/markdown-table-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-3.0.3.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-table_3.0.3_1669798510969_0.054918392785429315"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-30T09:01:42.817Z","publish_time":1669798511227,"_cnpm_publish_time":1669798511227},"3.0.2":{"name":"markdown-table","version":"3.0.2","description":"Generate a markdown (GFM) table","license":"MIT","keywords":["text","markdown","table","align","rows","tabular"],"repository":{"type":"git","url":"git+https://github.com/wooorm/markdown-table.git"},"bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","chalk":"^5.0.0","prettier":"^2.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","strip-ansi":"^7.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.47.0"},"scripts":{"prepublishOnly":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"complexity":"off","unicorn/prefer-switch":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"f50801f6a9e7a2894a261043f48f6a8f275911e1","homepage":"https://github.com/wooorm/markdown-table#readme","_id":"markdown-table@3.0.2","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"9b59eb2c1b22fe71954a65ff512887065a7bb57c","size":6779,"noattachment":false,"key":"/markdown-table/-/markdown-table-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-3.0.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-table_3.0.2_1638697129734_0.32082501331525637"},"_hasShrinkwrap":false,"publish_time":1638697129902,"_cnpm_publish_time":1638697129902},"3.0.1":{"name":"markdown-table","version":"3.0.1","description":"Markdown tables","license":"MIT","keywords":["text","markdown","table","align","rows","tabular"],"repository":{"type":"git","url":"git+https://github.com/wooorm/markdown-table.git"},"bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","chalk":"^4.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","strip-ansi":"^7.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"complexity":"off","unicorn/prefer-switch":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"1822c9f92a92d0d08688cd7d1700b2c509d6c434","homepage":"https://github.com/wooorm/markdown-table#readme","_id":"markdown-table@3.0.1","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"shasum":"88c48957aaf2a8014ccb2ba026776a1d736fe3dc","size":5310,"noattachment":false,"key":"/markdown-table/-/markdown-table-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-3.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-table_3.0.1_1624346745249_0.7260944399014457"},"_hasShrinkwrap":false,"publish_time":1624346745418,"_cnpm_publish_time":1624346745418},"3.0.0":{"name":"markdown-table","version":"3.0.0","description":"Markdown tables","license":"MIT","keywords":["text","markdown","table","align","rows","tabular"],"repository":{"type":"git","url":"git+https://github.com/wooorm/markdown-table.git"},"bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/repeat-string":"^1.0.0","repeat-string":"^1.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","chalk":"^4.0.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","strip-ansi":"^6.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.38.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"remarkConfig":{"plugins":["preset-wooorm"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"complexity":"off","no-var":"off","prefer-arrow-callback":"off"}},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"58ac5d42bfc2f16aec718371abcdd823c2ee2ae9","homepage":"https://github.com/wooorm/markdown-table#readme","_id":"markdown-table@3.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.6.2","dist":{"shasum":"7f6537d4565c3cec712ac7b34b345f404b46506a","size":5298,"noattachment":false,"key":"/markdown-table/-/markdown-table-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-3.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-table_3.0.0_1616067107443_0.8358198657547438"},"_hasShrinkwrap":false,"publish_time":1616067107617,"_cnpm_publish_time":1616067107617},"2.0.0":{"name":"markdown-table","version":"2.0.0","description":"Markdown tables","license":"MIT","keywords":["text","markdown","table","align","rows","tabular"],"repository":{"type":"git","url":"git+https://github.com/wooorm/markdown-table.git"},"bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"repeat-string":"^1.0.0"},"devDependencies":{"browserify":"^16.0.0","chalk":"^3.0.0","nyc":"^15.0.0","prettier":"^1.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","strip-ansi":"^6.0.0","tape":"^4.0.0","tinyify":"^2.0.0","xo":"^0.25.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s markdownTable -o markdown-table.js","build-mangle":"browserify . -s markdownTable -p tinyify -o markdown-table.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"remarkConfig":{"plugins":["preset-wooorm"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"complexity":"off"},"ignores":["markdown-table.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"gitHead":"976ac8a55d5eb4b030691ee0f0d44f671191d5bc","homepage":"https://github.com/wooorm/markdown-table#readme","_id":"markdown-table@2.0.0","_nodeVersion":"13.0.1","_npmVersion":"6.13.6","dist":{"shasum":"194a90ced26d31fe753d8b9434430214c011865b","size":4877,"noattachment":false,"key":"/markdown-table/-/markdown-table-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-2.0.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-table_2.0.0_1579798108822_0.023071110036176457"},"_hasShrinkwrap":false,"publish_time":1579798108916,"_cnpm_publish_time":1579798108916},"1.1.3":{"name":"markdown-table","version":"1.1.3","description":"Markdown/ASCII tables","license":"MIT","keywords":["text","markdown","table","align","ascii","rows","tabular"],"repository":{"type":"git","url":"git+https://github.com/wooorm/markdown-table.git"},"bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","chalk":"^2.0.0","nyc":"^14.0.0","prettier":"^1.12.1","remark-cli":"^6.0.0","remark-preset-wooorm":"^4.0.0","strip-ansi":"^5.0.0","tape":"^4.4.0","tinyify":"^2.5.0","xo":"^0.24.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s markdownTable -o markdown-table.js","build-mangle":"browserify . -s markdownTable -p tinyify -o markdown-table.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"remarkConfig":{"plugins":["preset-wooorm"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"complexity":"off","max-depth":"off"},"ignores":["markdown-table.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"gitHead":"172570ae2af6833494754da95b05a7c9d129947f","homepage":"https://github.com/wooorm/markdown-table#readme","_id":"markdown-table@1.1.3","_nodeVersion":"11.9.0","_npmVersion":"6.9.0","dist":{"shasum":"9fcb69bcfdb8717bfd0398c6ec2d93036ef8de60","size":4553,"noattachment":false,"key":"/markdown-table/-/markdown-table-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-1.1.3.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-table_1.1.3_1557387529923_0.9278786124578982"},"_hasShrinkwrap":false,"publish_time":1557387530066,"_cnpm_publish_time":1557387530066},"1.1.2":{"name":"markdown-table","version":"1.1.2","description":"Markdown/ASCII tables","license":"MIT","keywords":["text","markdown","table","align","ascii","rows","tabular"],"repository":{"type":"git","url":"git+https://github.com/wooorm/markdown-table.git"},"bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js"],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","chalk":"^2.0.0","esmangle":"^1.0.0","nyc":"^11.0.0","prettier":"^1.12.1","remark-cli":"^5.0.0","remark-preset-wooorm":"^4.0.0","strip-ansi":"^4.0.0","tape":"^4.4.0","xo":"^0.20.0"},"scripts":{"format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify index.js -s markdownTable > markdown-table.js","build-mangle":"esmangle markdown-table.js > markdown-table.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"remarkConfig":{"plugins":["preset-wooorm"]},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"complexity":"off","max-depth":"off","object-shorthand":"off","prefer-arrow-callback":"off","no-var":"off"},"ignores":["markdown-table.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"gitHead":"b3929dc5184988563ca786c6c11cecf2bf1263a6","homepage":"https://github.com/wooorm/markdown-table#readme","_id":"markdown-table@1.1.2","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"c78db948fa879903a41bce522e3b96f801c63786","size":4602,"noattachment":false,"key":"/markdown-table/-/markdown-table-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-1.1.2.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-table_1.1.2_1524155364055_0.8463340445970251"},"_hasShrinkwrap":false,"publish_time":1524155364143,"_cnpm_publish_time":1524155364143},"1.1.1":{"name":"markdown-table","version":"1.1.1","description":"Markdown/ASCII tables","license":"MIT","keywords":["text","markdown","table","align","ascii","rows","tabular"],"repository":{"type":"git","url":"git+https://github.com/wooorm/markdown-table.git"},"bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js"],"dependencies":{},"devDependencies":{"browserify":"^14.0.0","chalk":"^2.0.0","esmangle":"^1.0.0","nyc":"^11.0.0","remark-cli":"^3.0.0","remark-preset-wooorm":"^3.0.0","strip-ansi":"^4.0.0","tape":"^4.4.0","xo":"^0.18.0"},"scripts":{"build-md":"remark . -qfo","build-bundle":"browserify index.js -s markdownTable > markdown-table.js","build-mangle":"esmangle markdown-table.js > markdown-table.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"esnext":false,"rules":{"complexity":"off","max-depth":"off"},"ignores":["markdown-table.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"8b7f2f265f44a30e365a3a1810c42f12046c228c","homepage":"https://github.com/wooorm/markdown-table#readme","_id":"markdown-table@1.1.1","_shasum":"4b3dd3a133d1518b8ef0dbc709bf2a1b4824bc8c","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"4b3dd3a133d1518b8ef0dbc709bf2a1b4824bc8c","size":4473,"noattachment":false,"key":"/markdown-table/-/markdown-table-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-1.1.1.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-table-1.1.1.tgz_1500505909307_0.04616331146098673"},"directories":{},"publish_time":1500505910315,"_cnpm_publish_time":1500505910315,"_hasShrinkwrap":false},"1.1.0":{"name":"markdown-table","version":"1.1.0","description":"Markdown/ASCII tables","license":"MIT","keywords":["text","markdown","table","align","ascii","rows","tabular"],"dependencies":{},"repository":{"type":"git","url":"git+https://github.com/wooorm/markdown-table.git"},"bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"engines":{"node":">=0.11.0"},"files":["index.js"],"devDependencies":{"browserify":"^14.0.0","chalk":"^1.1.3","esmangle":"^1.0.0","nyc":"^10.0.0","remark-cli":"^2.0.0","remark-preset-wooorm":"^1.0.0","tape":"^4.4.0","xo":"^0.17.0"},"scripts":{"build-md":"remark . --quiet --frail","build-bundle":"browserify index.js -s markdownTable > markdown-table.js","build-mangle":"esmangle markdown-table.js > markdown-table.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"rules":{"complexity":"off","max-depth":"off"},"ignores":["markdown-table.js"]},"remarkConfig":{"output":true,"presets":"wooorm"},"gitHead":"c9c7d7a2beaa04e3d3d57913183f8d30e232b227","homepage":"https://github.com/wooorm/markdown-table#readme","_id":"markdown-table@1.1.0","_shasum":"1f5ae61659ced8808d882554c32e8b3f38dd1143","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"1f5ae61659ced8808d882554c32e8b3f38dd1143","size":4558,"noattachment":false,"key":"/markdown-table/-/markdown-table-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-1.1.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/markdown-table-1.1.0.tgz_1485533630933_0.6955201646778733"},"directories":{},"publish_time":1485533632777,"_cnpm_publish_time":1485533632777,"_hasShrinkwrap":false},"1.0.0":{"name":"markdown-table","version":"1.0.0","description":"Markdown/ASCII tables","license":"MIT","keywords":["text","markdown","table","align","ascii","rows","tabular"],"dependencies":{},"repository":{"type":"git","url":"git+https://github.com/wooorm/markdown-table.git"},"bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"engines":{"node":">=0.11.0"},"files":["index.js"],"devDependencies":{"browserify":"^13.0.0","chalk":"^1.1.3","esmangle":"^1.0.0","nyc":"^7.1.0","remark-cli":"^1.0.0","remark-comment-config":"^4.0.0","remark-github":"^5.0.0","remark-lint":"^4.0.0","remark-validate-links":"^4.0.0","tape":"^4.4.0","xo":"^0.16.0"},"scripts":{"build-md":"remark . --quiet --frail","build-bundle":"browserify index.js -s markdownTable > markdown-table.js","build-mangle":"esmangle markdown-table.js > markdown-table.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"rules":{"complexity":"off"},"ignores":["markdown-table.js","markdown-table.min.js"]},"remarkConfig":{"output":true,"plugins":{"comment-config":null,"lint":{"heading-increment":false,"list-item-spacing":false},"github":null,"validate-links":null},"settings":{"bullet":"*"}},"gitHead":"028dc649673cde1ff510272d24e7602f951c6358","homepage":"https://github.com/wooorm/markdown-table#readme","_id":"markdown-table@1.0.0","_shasum":"5f768d5ae1b98f31ce673cd24686251decf2c460","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"5f768d5ae1b98f31ce673cd24686251decf2c460","size":4784,"noattachment":false,"key":"/markdown-table/-/markdown-table-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-1.0.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/markdown-table-1.0.0.tgz_1470847648147_0.9012498874217272"},"directories":{},"publish_time":1470847649890,"_cnpm_publish_time":1470847649890,"_hasShrinkwrap":false},"0.4.0":{"name":"markdown-table","version":"0.4.0","description":"Markdown/ASCII tables","license":"MIT","keywords":["text","markdown","table","align","ascii","rows","tabular"],"repository":{"type":"git","url":"https://github.com/wooorm/markdown-table.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"devDependencies":{"chalk":"^1.0.0","eslint":"^0.18.0","istanbul":"^0.3.0","jscs":"^1.0.0","jscs-jsdoc":"^0.4.0","mocha":"^2.0.0"},"scripts":{"test-api":"_mocha --check-leaks test.js","test-coveralls":"istanbul cover _mocha --report lcovonly -- --check-leaks test.js","test-coverage":"istanbul cover _mocha -- -- test.js","test-travis":"npm run test-coveralls","test":"npm run test-api","lint-api":"eslint index.js","lint-test":"eslint --env mocha test.js","lint-style":"jscs --reporter inline index.js test.js","lint":"npm run lint-api && npm run lint-test && npm run lint-style","make":"npm run lint && npm run test-coverage"},"gitHead":"500964b100c0261c8f731bbb9c3617a624b5b255","bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"homepage":"https://github.com/wooorm/markdown-table","_id":"markdown-table@0.4.0","_shasum":"890c2c1b3bfe83fb00e4129b8e4cfe645270f9d1","_from":".","_npmVersion":"2.7.4","_nodeVersion":"1.6.3","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"dist":{"shasum":"890c2c1b3bfe83fb00e4129b8e4cfe645270f9d1","size":5042,"noattachment":false,"key":"/markdown-table/-/markdown-table-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-0.4.0.tgz"},"directories":{},"publish_time":1428517212197,"_cnpm_publish_time":1428517212197,"_hasShrinkwrap":false},"0.3.2":{"name":"markdown-table","version":"0.3.2","description":"Markdown/ASCII tables","license":"MIT","keywords":["text","markdown","table","align","ascii","rows","tabular"],"repository":{"type":"git","url":"https://github.com/wooorm/markdown-table.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"devDependencies":{"chalk":"^0.5.0","eslint":"^0.12.0","istanbul":"^0.3.0","jscs":"^1.0.0","jscs-jsdoc":"^0.4.0","mocha":"^2.0.0"},"scripts":{"test-api":"_mocha --check-leaks test.js","test-coveralls":"istanbul cover _mocha --report lcovonly -- --check-leaks test.js","test-coverage":"istanbul cover _mocha -- -- test.js","test-travis":"npm run test-coveralls","test":"npm run test-api","lint-api":"eslint index.js","lint-test":"eslint --env mocha test.js","lint-style":"jscs --reporter inline index.js test.js","lint":"npm run lint-api && npm run lint-test && npm run lint-style","make":"npm run lint && npm run test-coverage"},"gitHead":"75b8a337eb10291d5b5e2930b3d7079e7303da3f","bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"homepage":"https://github.com/wooorm/markdown-table","_id":"markdown-table@0.3.2","_shasum":"ab0501425117218c498754d57e244dcd4a80232e","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"dist":{"shasum":"ab0501425117218c498754d57e244dcd4a80232e","size":4274,"noattachment":false,"key":"/markdown-table/-/markdown-table-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-0.3.2.tgz"},"directories":{},"publish_time":1421952514436,"_cnpm_publish_time":1421952514436,"_hasShrinkwrap":false},"0.3.1":{"name":"markdown-table","version":"0.3.1","description":"Markdown/ASCII tables","license":"MIT","keywords":["text","markdown","table","align","ascii","rows","tabular"],"repository":{"type":"git","url":"https://github.com/wooorm/markdown-table.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"devDependencies":{"chalk":"^0.5.0","eslint":"^0.10.0","istanbul":"^0.3.0","jscs":"^1.0.0","jscs-jsdoc":"^0.3.0","mocha":"^2.0.0"},"scripts":{"test":"_mocha --check-leaks test.js","test-travis":"istanbul cover _mocha --report lcovonly -- --check-leaks test.js","coverage":"istanbul cover _mocha -- -- test.js","lint-api":"eslint index.js","lint-test":"eslint --env mocha test.js","lint-style":"jscs --reporter inline index.js test.js","lint":"npm run lint-api && npm run lint-test && npm run lint-style","make":"npm run lint && npm run coverage"},"gitHead":"e14481ce4e67b43c3970ce04288507b0693da2af","bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"homepage":"https://github.com/wooorm/markdown-table","_id":"markdown-table@0.3.1","_shasum":"3be041e26b52198c69de2c7d2afd7f91d3ce04eb","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"dist":{"shasum":"3be041e26b52198c69de2c7d2afd7f91d3ce04eb","size":4152,"noattachment":false,"key":"/markdown-table/-/markdown-table-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-0.3.1.tgz"},"directories":{},"publish_time":1419599469716,"_cnpm_publish_time":1419599469716,"_hasShrinkwrap":false},"0.3.0":{"name":"markdown-table","version":"0.3.0","description":"Markdown/ASCII tables","license":"MIT","keywords":["text","markdown","table","align","ascii","rows","tabular"],"repository":{"type":"git","url":"https://github.com/wooorm/markdown-table.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"devDependencies":{"chalk":"^0.5.0","eslint":"^0.10.0","istanbul":"^0.3.0","jscs":"^1.0.0","jscs-jsdoc":"^0.3.0","mocha":"^2.0.0"},"scripts":{"test":"_mocha --check-leaks test.js","test-travis":"istanbul cover _mocha --report lcovonly -- --check-leaks test.js","coverage":"istanbul cover _mocha -- -- test.js","lint-api":"eslint index.js","lint-test":"eslint --env mocha test.js","lint-style":"jscs --reporter inline index.js test.js","lint":"npm run lint-api && npm run lint-test && npm run lint-style","make":"npm run lint && npm run coverage"},"gitHead":"c27f5a21523d1a7c1957507cd77afcb32aa0a2bb","bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"homepage":"https://github.com/wooorm/markdown-table","_id":"markdown-table@0.3.0","_shasum":"2e41334fc034a045822c173a40a9230eeab8c9bf","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"dist":{"shasum":"2e41334fc034a045822c173a40a9230eeab8c9bf","size":4130,"noattachment":false,"key":"/markdown-table/-/markdown-table-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-0.3.0.tgz"},"directories":{},"publish_time":1419020398859,"_cnpm_publish_time":1419020398859,"_hasShrinkwrap":false},"0.2.0":{"name":"markdown-table","version":"0.2.0","description":"Markdown/ASCII tables","license":"MIT","keywords":["text","markdown","table","align","ascii","rows","tabular"],"repository":{"type":"git","url":"https://github.com/wooorm/markdown-table.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"devDependencies":{"chalk":"^0.5.0","eslint":"^0.10.0","istanbul":"^0.3.0","jscs":"^1.0.0","mocha":"^2.0.0"},"scripts":{"test":"_mocha --reporter spec --check-leaks -u exports test.js","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec --check-leaks -u exports test.js","coverage":"istanbul cover node_modules/.bin/_mocha -- -- test.js","lint-api":"eslint index.js","lint-test":"eslint test.js --env mocha","lint-style":"jscs index.js test.js --reporter=inline","lint":"npm run lint-api && npm run lint-test && npm run lint-style","make":"npm run lint && npm run coverage"},"gitHead":"9e57242e5f483542ffb5f722b693b90fafe5bfb9","bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"homepage":"https://github.com/wooorm/markdown-table","_id":"markdown-table@0.2.0","_shasum":"6a5855c983d07686a3068f22a7b8bf3f5110b5af","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"dist":{"shasum":"6a5855c983d07686a3068f22a7b8bf3f5110b5af","size":4026,"noattachment":false,"key":"/markdown-table/-/markdown-table-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-0.2.0.tgz"},"directories":{},"publish_time":1417269820719,"_cnpm_publish_time":1417269820719,"_hasShrinkwrap":false},"0.1.0":{"name":"markdown-table","version":"0.1.0","description":"Markdown tables, with alignment","license":"MIT","keywords":["text","markdown","table","align","ascii","rows","tabular"],"repository":{"type":"git","url":"https://github.com/wooorm/markdown-table.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"devDependencies":{"chalk":"^0.5.0","eslint":"^0.9.0","istanbul":"^0.3.0","jscs":"^1.7.0","mocha":"^2.0.0"},"scripts":{"test":"_mocha --reporter spec --check-leaks -u exports test.js","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec --check-leaks -u exports test.js","lint":"npm run lint-api && npm run lint-test && npm run lint-style","lint-api":"eslint index.js","lint-test":"eslint test.js --env mocha","lint-style":"jscs index.js test.js --reporter=inline","coverage":"istanbul cover node_modules/.bin/_mocha -- -- test.js","make":"npm run lint && npm run coverage"},"gitHead":"7ece551da8f82c2c61f71d18586207514e10d87f","bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"homepage":"https://github.com/wooorm/markdown-table","_id":"markdown-table@0.1.0","_shasum":"c6beb1c34c2f4b5e204f20e38250c2e887ca4499","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"dist":{"shasum":"c6beb1c34c2f4b5e204f20e38250c2e887ca4499","size":4003,"noattachment":false,"key":"/markdown-table/-/markdown-table-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-0.1.0.tgz"},"directories":{},"publish_time":1414698031404,"_cnpm_publish_time":1414698031404,"_hasShrinkwrap":false},"0.0.1":{"name":"markdown-table","version":"0.0.1","description":"Markdown tables, with alignment","license":"MIT","keywords":["text","markdown","table","align","ascii","rows","tabular"],"repository":{"type":"git","url":"https://github.com/wooorm/markdown-table.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"devDependencies":{"chalk":"^0.5.1","eslint":"^0.8.0","istanbul":"^0.3.0","jscs":"^1.5.0","mocha":"^1.20.0"},"scripts":{"test":"_mocha --reporter spec --check-leaks -u exports spec/markdown-table.spec.js","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec --check-leaks -u exports spec/markdown-table.spec.js","lint":"npm run lint-api && npm run lint-test && npm run lint-style","lint-api":"eslint index.js --env node --env browser --rule 'quotes: [2, single]'","lint-test":"eslint spec/markdown-table.spec.js --env node --env mocha --rule 'quotes: [2, single]'","lint-style":"jscs index.js spec/markdown-table.spec.js --reporter=inline","coverage":"istanbul cover node_modules/.bin/_mocha -- -- spec/markdown-table.spec.js","make":"npm run lint && npm run coverage"},"gitHead":"34cf9623e6829cc51a8aa3eecc790019f6868a75","bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"homepage":"https://github.com/wooorm/markdown-table","_id":"markdown-table@0.0.1","_shasum":"160e159988624b28c9503e7e034025bb26ba8114","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"dist":{"shasum":"160e159988624b28c9503e7e034025bb26ba8114","size":6257,"noattachment":false,"key":"/markdown-table/-/markdown-table-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/markdown-table/download/markdown-table-0.0.1.tgz"},"directories":{},"publish_time":1412443946220,"_cnpm_publish_time":1412443946220,"_hasShrinkwrap":false}},"readme":"# markdown-table\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nGenerate a markdown ([GFM][]) table.\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When should I use this?](#when-should-i-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`markdownTable(table[, options])`](#markdowntabletable-options)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Security](#security)\n*   [Inspiration](#inspiration)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis is a simple package that takes table data and generates a [GitHub flavored\nmarkdown (GFM)][gfm] table.\n\n## When should I use this?\n\nYou can use this package when you want to generate the source code of a GFM\ntable from some data.\n\nThis is a simple solution in that it doesn’t handle escapes or HTML or any of\nthat.\nFor a complete but heavier solution, build an AST and serialize it with\n[`mdast-util-to-markdown`][mdast-util-to-markdown] (with\n[`mdast-util-gfm`][mdast-util-gfm]).\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 14.14+, 16.0+), install with [npm][]:\n\n```sh\nnpm install markdown-table\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {markdownTable} from 'https://esm.sh/markdown-table@3'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {markdownTable} from 'https://esm.sh/markdown-table@3?bundle'\n</script>\n```\n\n## Use\n\nTypical usage (defaults to align left):\n\n```js\nimport {markdownTable} from 'markdown-table'\n\nmarkdownTable([\n  ['Branch', 'Commit'],\n  ['main', '0123456789abcdef'],\n  ['staging', 'fedcba9876543210']\n])\n```\n\nYields:\n\n```markdown\n| Branch  | Commit           |\n| ------- | ---------------- |\n| main    | 0123456789abcdef |\n| staging | fedcba9876543210 |\n```\n\nWith align:\n\n```js\nmarkdownTable(\n  [\n    ['Beep', 'No.', 'Boop'],\n    ['beep', '1024', 'xyz'],\n    ['boop', '3388450', 'tuv'],\n    ['foo', '10106', 'qrstuv'],\n    ['bar', '45', 'lmno']\n  ],\n  {align: ['l', 'c', 'r']}\n)\n```\n\nYields:\n\n```markdown\n| Beep |   No.   |   Boop |\n| :--- | :-----: | -----: |\n| beep |   1024  |    xyz |\n| boop | 3388450 |    tuv |\n| foo  |  10106  | qrstuv |\n| bar  |    45   |   lmno |\n```\n\n## API\n\nThis package exports the identifier `markdownTable`.\nThere is no default export.\n\n### `markdownTable(table[, options])`\n\nGenerate a markdown table from table data (matrix of strings).\n\n##### `options`\n\nConfiguration (optional).\n\n###### `options.align`\n\nOne style for all columns, or styles for their respective columns (`string` or\n`Array<string>`).\nEach style is either `'l'` (left), `'r'` (right), or `'c'` (center).\nOther values are treated as `''`, which doesn’t place the colon in the alignment\nrow but does align left.\n*Only the lowercased first character is used, so `Right` is fine.*\n\n###### `options.padding`\n\nWhether to add a space of padding between delimiters and cells (`boolean`,\ndefault: `true`).\n\nWhen `true`, there is padding:\n\n```markdown\n| Alpha | B     |\n| ----- | ----- |\n| C     | Delta |\n```\n\nWhen `false`, there is no padding:\n\n```markdown\n|Alpha|B    |\n|-----|-----|\n|C    |Delta|\n```\n\n###### `options.delimiterStart`\n\nWhether to begin each row with the delimiter (`boolean`, default: `true`).\n\n> ???? **Note**: please don’t use this: it could create fragile structures that\n> aren’t understandable to some markdown parsers.\n\nWhen `true`, there are starting delimiters:\n\n```markdown\n| Alpha | B     |\n| ----- | ----- |\n| C     | Delta |\n```\n\nWhen `false`, there are no starting delimiters:\n\n```markdown\nAlpha | B     |\n----- | ----- |\nC     | Delta |\n```\n\n###### `options.delimiterEnd`\n\nWhether to end each row with the delimiter (`boolean`, default: `true`).\n\n> ???? **Note**: please don’t use this: it could create fragile structures that\n> aren’t understandable to some markdown parsers.\n\nWhen `true`, there are ending delimiters:\n\n```markdown\n| Alpha | B     |\n| ----- | ----- |\n| C     | Delta |\n```\n\nWhen `false`, there are no ending delimiters:\n\n```markdown\n| Alpha | B\n| ----- | -----\n| C     | Delta\n```\n\n###### `options.alignDelimiters`\n\nWhether to align the delimiters (`boolean`, default: `true`).\nBy default, they are aligned:\n\n```markdown\n| Alpha | B     |\n| ----- | ----- |\n| C     | Delta |\n```\n\nPass `false` to make them staggered:\n\n```markdown\n| Alpha | B |\n| - | - |\n| C | Delta |\n```\n\n###### `options.stringLength`\n\nFunction to detect the length of table cell content (`Function`, default:\n`s => s.length`).\nThis is used when aligning the delimiters (`|`) between table cells.\nFull-width characters and emoji mess up delimiter alignment when viewing the\nmarkdown source.\nTo fix this, you can pass this function, which receives the cell content and\nreturns its “visible” size.\nNote that what is and isn’t visible depends on where the text is displayed.\n\nWithout such a function, the following:\n\n```js\nmarkdownTable([\n  ['Alpha', 'Bravo'],\n  ['中文', 'Charlie'],\n  ['????‍❤️‍????', 'Delta']\n])\n```\n\nYields:\n\n```markdown\n| Alpha | Bravo |\n| - | - |\n| 中文 | Charlie |\n| ????‍❤️‍???? | Delta |\n```\n\nWith [`string-width`][string-width]:\n\n```js\nimport stringWidth from 'string-width'\n\nmarkdownTable(\n  [\n    ['Alpha', 'Bravo'],\n    ['中文', 'Charlie'],\n    ['????‍❤️‍????', 'Delta']\n  ],\n  {stringLength: stringWidth}\n)\n```\n\nYields:\n\n```markdown\n| Alpha | Bravo   |\n| ----- | ------- |\n| 中文  | Charlie |\n| ????‍❤️‍????    | Delta   |\n```\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the additional type `Options`.\n\n## Compatibility\n\nThis package is at least compatible with all maintained versions of Node.js.\nAs of now, that is Node.js 14.14+ and 16.0+.\nIt also works in Deno and modern browsers.\n\n## Security\n\nThis package is safe.\n\n## Inspiration\n\nThe original idea and basic implementation was inspired by James Halliday’s\n[`text-table`][text-table] library.\n\n## Contribute\n\nYes please!\nSee [How to Contribute to Open Source][contribute].\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/wooorm/markdown-table/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/markdown-table/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/markdown-table.svg\n\n[coverage]: https://codecov.io/github/wooorm/markdown-table\n\n[downloads-badge]: https://img.shields.io/npm/dm/markdown-table.svg\n\n[downloads]: https://www.npmjs.com/package/markdown-table\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/markdown-table.svg\n\n[size]: https://bundlephobia.com/result?p=markdown-table\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esmsh]: https://esm.sh\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[typescript]: https://www.typescriptlang.org\n\n[contribute]: https://opensource.guide/how-to-contribute/\n\n[gfm]: https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables\n\n[text-table]: https://github.com/substack/text-table\n\n[string-width]: https://github.com/sindresorhus/string-width\n\n[mdast-util-to-markdown]: https://github.com/syntax-tree/mdast-util-to-markdown\n\n[mdast-util-gfm]: https://github.com/syntax-tree/mdast-util-gfm\n","_attachments":{},"homepage":"https://github.com/wooorm/markdown-table#readme","bugs":{"url":"https://github.com/wooorm/markdown-table/issues"},"license":"MIT"}