# @types/one-time

> TypeScript definitions for one-time

Latest version **0.0.5** (published 2024-10-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/one-time
pnpm add @types/one-time
yarn add @types/one-time
bun add @types/one-time
```

## Health

**Score 55/100 (C)** — status: stable.

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

Warnings: low downloads; no esm support; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2024-10-23 |
| First published | 2018-12-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

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

## Recent versions

- 0.0.5 (latest) — 2024-10-23
- 0.0.4 (ts4.5) — 2023-11-21
- 0.0.1 (ts4.4) — 2019-05-06
- 0.0.3 — 2023-11-07
- 0.0.2 — 2023-10-18
- 0.0.0 — 2018-12-31

## README

# Installation
> `npm install --save @types/one-time`

# Summary
This package contains type definitions for one-time (https://github.com/3rd-eden/one-time).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/one-time.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/one-time/index.d.ts)
````ts
export = oneTime;

declare function oneTime<TFn extends Function>(fn: TFn): TFn; // eslint-disable-line @typescript-eslint/no-unsafe-function-type

````

### Additional Details
 * Last updated: Wed, 23 Oct 2024 03:36:41 GMT
 * Dependencies: none

# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).

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