1.0.1 • Published 7 years ago

npm-test-md v1.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

Classes

Functions

ExportedClass

a class exported from a module

Kind: global class


new ExportedClass(one, two)

the class constructor

Throws:

  • string A serious error occurred.
ParamTypeDescription
onenumberfirst param
twostringsecond param

Example

var one = 1

exportedClass.propOne : number

an instance property

Kind: instance property of ExportedClass


exportedClass.methodOne()

parent method one

Kind: instance method of ExportedClass


exportedClass.methodTwo()

parent method two

Kind: instance method of ExportedClass


ExportedClass.shat()

a static method

Kind: static method of ExportedClass


ChildClass ⇐ ExportedClass

the child of exported class

Kind: global class
Extends: ExportedClass


childClass.propThree

an instance property

Kind: instance property of ChildClass


childClass.propOne : number

an instance property

Kind: instance property of ChildClass


childClass.methodOne()

parent method one

Kind: instance method of ChildClass


childClass.methodTwo()

parent method two

Kind: instance method of ChildClass


paramDefaults(option)

Lots of params with default values.

Kind: global function

ParamTypeDefaultDescription
optionobject
option.onenumber1option.one=1
option.onestring"\"1\""option.one="1"
option.onestring1option.one=1
option.flagbooleantrueoption.flag=true
option.funcfunction(){function} - option.func=function(){}
option.funcfunctionfunction(){}option.func=function(){}
option.funcfunction | stringfunction(){}option.func=function(){}
option.funcstring | function"function(){}"option.func=function(){}
option.oneRegExp/regex/option.one=/regex/
option.arrArray 1, 2, 3 [option.arr= 1, 2, 3 ]
option.arrstring | Array" 1, 2, 3 "[option.arr= 1, 2, 3 ]
option.arrArray | string 1, 2, 3 [option.arr= 1, 2, 3 ]
option.generatorgenerator*function(){}option.generator=*function(){}
option.binarybinary0b11option.binary=0b11
option.octaloctal0o440option.octal=0o440
option.hexhex0xFFoption.hex=0xFF
option.templatetemplate`test`option.template=test
option.whitespacestring"\" \""option.whitespace=" "
option.nullnulloption.null=null