8000 GitHub - powjs/apiez: Easily generate API documentation for javascript · GitHub
[go: up one dir, main page]

Skip to content
powjsPublic

About

Easily generate API documentation for javascript

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

apiez

Easily generate API documentation at runtime, rather than from the source code.

Results details to see test and test-class

Install

$ npm install apiez

Useage

var apiez = require('apiez');

apiez(apiez)

cli

$ apiez apiez

output

apiez
    params
        funcInside
            a function or object
        results
            default Object.create(null)
            object as

            {
            	name:{
            		params:[["paramN","doc"...]...],
            		notes:["doc"...]
            	}
            }
    notes
        Generate API documentation object for funcInside.

        Contract:

            The summary is a continuous comment at the top of the function body
            Anonymous functions named ""

        Feature:

            Parameter Comment
            Prototype methods
            Extends class
            Constructor, if it is first method
            Remove head and tail empty lines
            Remove the same indent white-spaces

License

MIT License

Copyright (c) 2017 powjs.

About

Easily generate API documentation for javascript

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0