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 contentsstring INI file as string paramsobject <optional>
Properties
Name Type Argument Default Description simpleboolean <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 objobject INI as object paramsobject <optional>
Properties
Name Type Argument Default Description simpleboolean <optional>
true Dots in section names have no special meaning (see ini module) Returns:
- Type
- string