# @types/callsite

> TypeScript definitions for callsite

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

## Install

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

## 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 | 1.0.34 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51483 |
| Maintainers | types |

## Links

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

## Recent versions

- 1.0.34 (latest) — 2023-11-07
- 1.0.32 (ts4.3) — 2023-09-04
- 1.0.31 (ts3.6) — 2021-07-09
- 1.0.30 (ts2.0) — 2016-09-19
- 1.0.33 — 2023-10-17
- 1.0.29 — 2016-07-14
- 1.0.28-alpha — 2016-07-08
- 1.0.27-alpha — 2016-07-03
- 1.0.26-alpha — 2016-07-02
- 1.0.25-alpha — 2016-07-01
- 1.0.24-alpha — 2016-07-01
- 1.0.23-alpha — 2016-05-25
- 1.0.22-alpha — 2016-05-20
- 1.0.17-alpha — 2016-05-19
- 1.0.16-alpha — 2016-05-17

## README

# Installation
> `npm install --save @types/callsite`

# Summary
This package contains type definitions for callsite (https://github.com/tj/callsite).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/callsite.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/callsite/index.d.ts)
````ts
declare namespace Callsite {
    interface CallSite {
        getThis(): any;
        getTypeName(): string;
        getFunctionName(): string;
        getMethodName(): string;
        getFileName(): string;
        getLineNumber(): number;
        getColumnNumber(): number;
        getFunction(): Function;
        getEvalOrigin(): string;
        isNative(): boolean;
        isToplevel(): boolean;
        isEval(): boolean;
        isConstructor(): boolean;
    }
}

declare function Callsite(): Callsite.CallSite[];

export = Callsite;

````

### Additional Details
 * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
 * Dependencies: none

# Credits
These definitions were written by [newclear](https://github.com/newclear).

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