# @types/ini

> TypeScript definitions for ini

Latest version **4.1.1** (published 2024-06-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/ini
pnpm add @types/ini
yarn add @types/ini
bun add @types/ini
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 4.1.1 |
| Published | 2024-06-09 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/ini
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ini
- npm.io page: https://npm.io/package/@types/ini

## Recent versions

- 4.1.1 (latest) — 2024-06-09
- 4.1.0 (ts4.6) — 2023-12-27
- 1.3.33 (ts4.5) — 2023-11-07
- 1.3.31 (ts4.1) — 2021-10-07
- 1.3.30 (ts2.6) — 2018-11-29
- 1.3.34 — 2023-12-05
- 1.3.32 — 2023-10-18
- 1.3.29 — 2016-09-19
- 1.3.28 — 2016-07-14
- 1.3.27-alpha — 2016-07-08
- 1.3.26-alpha — 2016-07-04
- 1.3.25-alpha — 2016-07-02
- 1.3.24-alpha — 2016-07-01
- 1.3.23-alpha — 2016-07-01
- 1.3.22-alpha — 2016-05-25
- … 3 more at https://npm.io/package/@types/ini/versions

## README

# Installation
> `npm install --save @types/ini`

# Summary
This package contains type definitions for ini (https://github.com/npm/ini).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ini.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ini/index.d.ts)
````ts
interface EncodeOptions {
    align?: boolean;
    section?: string;
    sort?: boolean;
    whitespace?: boolean;
    newline?: boolean;
    platform?: string;
    bracketedArray?: boolean;
}

interface DecodeOptions {
    bracketedArray?: boolean;
}

export function decode(str: string, options?: DecodeOptions): {
    [key: string]: any;
};
export function parse(str: string, options?: DecodeOptions): {
    [key: string]: any;
};
export function encode(object: any, options?: EncodeOptions | string): string;
export function stringify(object: any, options?: EncodeOptions | string): string;
export function safe(val: string): string;
export function unsafe(val: string): string;

````

### Additional Details
 * Last updated: Sun, 09 Jun 2024 05:35:20 GMT
 * Dependencies: none

# Credits
These definitions were written by [Marcin Porębski](https://github.com/marcinporebski), [Chris Arnesen](https://github.com/carnesen), and [Adaline Simonian](https://github.com/adalinesimonian).

---
_Source: https://npm.io/package/@types/ini · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
