Skip to content
/ apiez Public

Easily generate API documentation for javascript

License

Notifications You must be signed in to change notification settings

powjs/apiez

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published