Socket
Socket
Sign inDemoInstall

tablemark

Package Overview
Dependencies
1
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-alpha.2 to 1.0.0

10

index.js

@@ -1,2 +0,4 @@

const { EOL } = require('os')
'use strict'
const os = require('os')
const isPlainObject = require('is-plain-obj')

@@ -45,3 +47,3 @@

table += titles.join(' | ')
table += EOL
table += os.EOL

@@ -53,3 +55,3 @@ // header separator

}).join(' | ')
table += EOL
table += os.EOL

@@ -62,3 +64,3 @@ // table body

return String(v)
}).join(' | ') + EOL
}).join(' | ') + os.EOL
})

@@ -65,0 +67,0 @@

{
"name": "tablemark",
"version": "1.0.0-alpha.2",
"version": "1.0.0",
"description": "Generate markdown tables from JSON data.",
"author": {
"name": "Bo Lingen",
"email": "lingenbw@gmail.com",
"url": "github.com/citycide"
},
"license": "MIT",
"repository": "citycide/tablemark",
"scripts": {
"test": "ava",
"test:watch": "ava -w"
"repository": {
"type": "git",
"url": "git+https://github.com/citycide/tablemark.git"
},
"homepage": "https://github.com/citycide/tablemark",
"bugs": "https://github.com/citycide/tablemark/issues",
"engines": {
"node": ">=4"
},
"keywords": [

@@ -21,4 +30,5 @@ "markdown",

],
"engines": {
"node": ">=4"
"scripts": {
"test": "ava",
"test:watch": "ava -w"
},

@@ -29,9 +39,6 @@ "dependencies": {

"devDependencies": {
"ava": "^0.17.0",
"eslint": "^3.13.1",
"eslint-config-standard": "^6.2.1",
"eslint-plugin-prefer-let": "^0.1.0",
"eslint-plugin-promise": "^3.4.0",
"eslint-plugin-standard": "^2.0.1"
"ava": "^0.20.0",
"snazzy": "^7.0.0",
"standard": "^10.0.2"
}
}
}

12

readme.md

@@ -1,2 +0,2 @@

# tablemark [![Version](https://img.shields.io/npm/v/tablemark.svg?style=flat-square)](https://www.npmjs.com/package/tablemark) [![License](https://img.shields.io/npm/l/tablemark.svg?style=flat-square)](https://www.npmjs.com/package/tablemark) [![Travis CI](https://img.shields.io/travis/citycide/tablemark.svg?style=flat-square)](https://travis-ci.org/citycide/tablemark) [![JavaScript Standard Style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://standardjs.com)
# tablemark · [![Version](https://img.shields.io/npm/v/tablemark.svg?style=flat-square&maxAge=3600)](https://www.npmjs.com/package/tablemark) [![License](https://img.shields.io/npm/l/tablemark.svg?style=flat-square&maxAge=3600)](https://www.npmjs.com/package/tablemark) [![Travis CI](https://img.shields.io/travis/citycide/tablemark.svg?style=flat-square&maxAge=3600)](https://travis-ci.org/citycide/tablemark) [![JavaScript Standard Style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square&maxAge=3600)](https://standardjs.com)

@@ -27,7 +27,7 @@ > Generate markdown tables from JSON data.

// 'name | age | isCool'
// '----- | ----- | -----'
// 'Bob | 21 | false'
// 'Sarah | 22 | true'
// 'Lee | 23 | true'
// name | age | isCool
// ----- | ----- | -----
// Bob | 21 | false
// Sarah | 22 | true
// Lee | 23 | true
```

@@ -34,0 +34,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc