Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 2.36 KB

doc.md

File metadata and controls

71 lines (52 loc) · 2.36 KB

Modules

all_langsObject

A module that returns a list of all languages

supported_langsArray.<string>

A module that exports an array of all languages id supported by code-conduct till now

get_codestring

A module to get language Id of a language

get_langstring

A module to get language name from a language ID

get_cocstring

A module to export code-of-conduct text for a language ID


all_langs ⇒ Object

A module that returns a list of all languages

Returns: Object - - Object of all language in { id : name } format

supported_langs ⇒ Array.<string>

A module that exports an array of all languages id supported by code-conduct till now

Returns: Array.<string> - - Array of supported language IDs
Author: Dipankar Pal dipankarpal5050@gmail.com

get_code ⇒ string

A module to get language Id of a language

Returns: string - - Language ID for the given language name
Author: Dipankar Pal dipankarpal5050@gmail.com

Param Type Description
lang_name string An exact language name

get_lang ⇒ string

A module to get language name from a language ID

Returns: string - - Language name for the language_id
Author: Dipankar Pal dipankarpal5050@gmail.com

Param Type Description
lang_id string Language ID of a language

get_coc ⇒ string

A module to export code-of-conduct text for a language ID

Returns: string - - Code-of-conduct for the language
Author: Dipankar Pal dipankarpal5050@gmail.com

Param Type Description
lang_id string Language ID of the intended Language