new Ini()
Create the service
Members
-
<static> provides :string
-
Service name is 'ini'
Type:
- string
-
<static> requires :Array.<string>
-
Dependencies as constructor arguments
Type:
- Array.<string>
Methods
-
parse(contents [, params])
-
Parse INI file
Parameters:
Name Type Argument Description contents
string INI file as string params
object <optional>
Properties
Name Type Argument Default Description simple
boolean <optional>
true Dots in section names have no special meaning (see ini module) Returns:
- Type
- object
-
stringify(obj [, params])
-
Stringify INI object
Parameters:
Name Type Argument Description obj
object INI as object params
object <optional>
Properties
Name Type Argument Default Description simple
boolean <optional>
true Dots in section names have no special meaning (see ini module) Returns:
- Type
- string