Skip to content

Commit 0ba7eb0

Browse files
committed
docs
1 parent 8ada80f commit 0ba7eb0

6 files changed

Lines changed: 18 additions & 41 deletions

File tree

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015 Lloyd Brookes <75pound@gmail.com>
3+
Copyright (c) 2014-16 Lloyd Brookes <75pound@gmail.com>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -18,49 +18,24 @@ jsdoc-parse extends [jsdoc](https://github.com/jsdoc3/jsdoc) with a few features
1818
* `@chainable`: Set to mark a method as chainable (has a return value of `this`).
1919

2020
## API Reference
21-
22-
<a name="module_jsdoc-parse"></a>
2321

2422
**Example**
2523
```js
2624
var jsdocParse = require('jsdoc-parse')
2725
```
2826

29-
* jsdoc-parse
30-
* [~parse(jsdocExplainOutput, [options])](#module_jsdoc-parse..parse)
31-
* [~applyOptions(data, options)](#module_jsdoc-parse..applyOptions)`string`
32-
* [~getStats(data)](#module_jsdoc-parse..getStats)`object`
33-
3427

35-
<a name="module_jsdoc-parse..parse"></a>
36-
### jsdoc-parse~parse(jsdocExplainOutput, [options])
37-
**Kind**: inner method of module:jsdoc-parse
38-
**Params**
28+
### parse(jsdocData, [options]) ⇒ Array.&lt;object&gt;
29+
**Kind**: Exported function
30+
__Params__
3931

40-
- jsdocExplainOutput Array.<object> - jsdoc output
32+
- jsdocData Array.&lt;object&gt; - jsdoc output
4133
- [options] object
4234
- [.private] boolean - Include identifier documentation marked as `@private` in the output
43-
- [.html] boolean - Enable experimental parsing of .html files.
44-
- [.sort-by] Array.<string> <code> = [ 'scope', 'category', 'kind', 'order' ]</code> - Sort by one of more fields, e.g. `--sort-by kind category`. Pass the special value `none` to remove the default sort order.
45-
46-
<a name="module_jsdoc-parse..applyOptions"></a>
47-
### jsdoc-parse~applyOptions(data, options) ⇒ `string`
48-
**Kind**: inner method of module:jsdoc-parse
49-
**Params**
50-
51-
- data string - input json string
52-
- options object - jsdoc-parse options
53-
54-
<a name="module_jsdoc-parse..getStats"></a>
55-
### jsdoc-parse~getStats(data) ⇒ `object`
56-
return some stats about the parsed data
5735

58-
**Kind**: inner method of module:jsdoc-parse
59-
**Params**
6036

61-
- data object - jsdoc-parse data
6237

6338

6439
* * *
6540

66-
&copy; 2015 Lloyd Brookes <75pound@gmail.com>. Documented by [jsdoc-to-markdown](https://github.com/75lb/jsdoc-to-markdown).
41+
&copy; 2014-16 Lloyd Brookes <75pound@gmail.com>. Documented by [jsdoc-to-markdown](https://github.com/75lb/jsdoc-to-markdown).

es5/jsdoc-parse.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ var transform = require('./transform');
44

55
exports.parse = parse;
66

7-
function parse(jsdocExplainOutput, options) {
7+
function parse(jsdocData, options) {
88
options = options || {};
9-
var data = transform(jsdocExplainOutput);
9+
var data = transform(jsdocData);
1010

1111
data = data.filter(function (doclet) {
1212
var parent = data.find(function (d) {

jsdoc2md/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ ${docs.renderAll()}
2222

2323
* * *
2424

25-
&copy; 2015 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/75lb/jsdoc-to-markdown).
25+
&copy; 2014-16 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/75lb/jsdoc-to-markdown).

lib/jsdoc-parse.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ exports.parse = parse
1414
* @param {object[]} - jsdoc output
1515
* @param [options] {object}
1616
* @param [options.private] {boolean} - Include identifier documentation marked as `@private` in the output
17+
* @returns {object[]}
18+
* @alias module:jsdoc-parse
1719
*/
18-
function parse (jsdocExplainOutput, options) {
20+
function parse (jsdocData, options) {
1921
options = options || {}
20-
let data = transform(jsdocExplainOutput)
22+
let data = transform(jsdocData)
2123

2224
data = data.filter(function (doclet) {
2325
var parent = data.find(d => d.id === doclet.memberof) || {}

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@
2323
},
2424
"dependencies": {
2525
"array-back": "^1.0.2",
26-
"core-js": "^2.1.0",
26+
"core-js": "^2.1.3",
2727
"feature-detect-es6": "^1.2.0",
2828
"filter-where": "^1.0.1",
29-
"object-tools": "^2",
29+
"object-tools": "^2.0.5",
3030
"reduce-extract": "^1.0.0",
31-
"test-value": "^1.0.1"
31+
"test-value": "^1.1.0"
3232
},
3333
"devDependencies": {
34-
"babel-preset-es2015": "^6.5.0",
35-
"tape": "^4.4"
34+
"babel-preset-es2015": "^6.6.0",
35+
"tape": "^4.5"
3636
},
3737
"standard": {
3838
"ignore": [

0 commit comments

Comments
 (0)