markdown-table
Advanced tools
Comparing version 0.3.1 to 0.3.2
{ | ||
"name": "markdown-table", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Markdown/ASCII tables", | ||
@@ -22,12 +22,14 @@ "license": "MIT", | ||
"chalk": "^0.5.0", | ||
"eslint": "^0.10.0", | ||
"eslint": "^0.12.0", | ||
"istanbul": "^0.3.0", | ||
"jscs": "^1.0.0", | ||
"jscs-jsdoc": "^0.3.0", | ||
"jscs-jsdoc": "^0.4.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", | ||
"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", | ||
@@ -37,4 +39,4 @@ "lint-test": "eslint --env mocha test.js", | ||
"lint": "npm run lint-api && npm run lint-test && npm run lint-style", | ||
"make": "npm run lint && npm run coverage" | ||
"make": "npm run lint && npm run test-coverage" | ||
} | ||
} |
@@ -7,20 +7,29 @@ # markdown-table [![Build Status](https://img.shields.io/travis/wooorm/markdown-table.svg?style=flat)](https://travis-ci.org/wooorm/markdown-table) [![Coverage Status](https://img.shields.io/coveralls/wooorm/markdown-table.svg?style=flat)](https://coveralls.io/r/wooorm/markdown-table?branch=master) | ||
npm: | ||
```sh | ||
[npm](https://docs.npmjs.com/cli/install): | ||
```bash | ||
$ npm install markdown-table | ||
``` | ||
Component: | ||
```sh | ||
[Component.js](https://github.com/componentjs/component): | ||
```bash | ||
$ component install wooorm/markdown-table | ||
``` | ||
Bower: | ||
```sh | ||
[Bower](http://bower.io/#install-packages): | ||
```bash | ||
$ bower install markdown-table | ||
``` | ||
[Duo](http://duojs.org/#getting-started): | ||
```javascript | ||
var table = require('wooorm/markdown-table'); | ||
``` | ||
## Usage | ||
```js | ||
```javascript | ||
var table = require('markdown-table'); | ||
@@ -37,5 +46,5 @@ | ||
]); | ||
/** | ||
/* | ||
* | Branch | Commit | | ||
* | :------ | :--------------- | | ||
* | ------- | ---------------- | | ||
* | master | 0123456789abcdef | | ||
@@ -56,7 +65,7 @@ * | staging | fedcba9876543210 | | ||
], { | ||
'align' : ['l', 'c', 'r'] | ||
'align': ['l', 'c', 'r'] | ||
}); | ||
/** | ||
/* | ||
* | Beep | No. | Boop | | ||
* | :--- | :-----: | -----: | | ||
* | ---- | :-----: | -----: | | ||
* | beep | 1024 | xyz | | ||
@@ -79,5 +88,5 @@ * | boop | 3388450 | tuv | | ||
], { | ||
'align' : ['.'] | ||
'align': '.' | ||
}); | ||
/** | ||
/* | ||
* | No. | | ||
@@ -111,3 +120,3 @@ * | :---------: | | ||
```js | ||
```javascript | ||
var chalk = require('chalk'); | ||
@@ -120,3 +129,3 @@ | ||
See the [tests for an example](test.js). | ||
See the [tests for an example](test.js#L368-L375). | ||
@@ -129,2 +138,2 @@ ## Inspiration | ||
MIT © [Titus Wormer](http://wooorm.com) | ||
[MIT](LICENSE) © [Titus Wormer](http://wooorm.com) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12031
133