# @types/moment-shortformat

> TypeScript definitions for moment-shortformat

Latest version **2.1.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/moment-shortformat
pnpm add @types/moment-shortformat
yarn add @types/moment-shortformat
bun add @types/moment-shortformat
```

## 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 | 2.1.4 |
| Published | 2023-11-07 |
| First published | 2018-06-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [moment](https://npm.io/package/moment.md) >=2.22.2

## Recent versions

- 2.1.4 (latest) — 2023-11-07
- 2.1.1 (ts2.0) — 2018-08-10
- 2.1.3 — 2023-10-18
- 2.1.2 — 2023-09-27
- 2.1.0 — 2018-06-20

## README

# Installation
> `npm install --save @types/moment-shortformat`

# Summary
This package contains type definitions for moment-shortformat (https://github.com/researchgate/moment-shortformat#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/moment-shortformat.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/moment-shortformat/index.d.ts)
````ts
export as namespace moment;

import moment = require("moment");

export = moment;

declare module "moment" {
    interface Moment {
        short(withoutPreOrSuffix?: boolean, now?: Moment): string;
    }
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [moment](https://npmjs.com/package/moment)

# Credits
These definitions were written by [whatasoda](https://github.com/whatasoda).

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