# tern

> A JavaScript code analyzer for deep, cross-editor language support

Latest version **0.24.3** (published 2019-12-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install tern
pnpm add tern
yarn add tern
bun add tern
```

Provides the command `tern`.

## Health

**Score 33/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities; high quality score.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.24.3 |
| Published | 2019-12-27 |
| First published | 2013-05-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/tern) |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 1.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4239 |
| Author | Marijn Haverbeke |
| Maintainers | marijn, othree |

## Links

- npm: https://www.npmjs.com/package/tern
- Repository: https://github.com/ternjs/tern
- Homepage: https://github.com/ternjs/tern#readme
- Issues: https://github.com/ternjs/tern/issues
- npm.io page: https://npm.io/package/tern

## Dependencies (7)

- [glob](https://npm.io/package/glob.md) ^7.1.1
- [acorn](https://npm.io/package/acorn.md) ^6.0.0
- [minimatch](https://npm.io/package/minimatch.md) ^3.0.3
- [acorn-walk](https://npm.io/package/acorn-walk.md) ^6.0.0
- [acorn-loose](https://npm.io/package/acorn-loose.md) ^6.0.0
- [resolve-from](https://npm.io/package/resolve-from.md) 2.0.0
- [enhanced-resolve](https://npm.io/package/enhanced-resolve.md) ^2.2.2

## Recent versions

- 0.24.3 (latest) — 2019-12-27
- 0.24.2 — 2019-10-13
- 0.24.1 — 2019-07-10
- 0.24.0 — 2019-05-31
- 0.23.0 — 2018-11-10
- 0.22.3 — 2018-09-27
- 0.22.2 — 2018-09-13
- 0.22.1 — 2018-09-12
- 0.22.0 — 2018-08-28
- 0.21.0 — 2017-02-18
- 0.20.0 — 2016-08-16
- 0.19.0 — 2016-07-11
- 0.18.0 — 2016-03-15
- 0.17.0 — 2016-01-04
- 0.16.0 — 2015-10-27
- … 16 more at https://npm.io/package/tern/versions

## README

# Tern

[![Build Status](https://secure.travis-ci.org/ternjs/tern.svg)](http://travis-ci.org/ternjs/tern)
[![NPM version](https://img.shields.io/npm/v/tern.svg)](https://www.npmjs.org/package/tern)  


This is [Tern][1]. Tern is a stand-alone, editor-independent
JavaScript analyzer that can be used to improve the JavaScript
integration of existing editors.

Thanks to a group of generous [crowd funders][2], Tern is open-source
software, under an MIT license.

There are currently plugins available for [Emacs][emacs] (and Emacs
[company-mode][cmode]), [Vim][vim], [Sublime Text][st], [Eclipse (and general Java API)][ec],
[Light Table][lt], [Atom][atom], [TextMate][tm] and [gedit][gedit], and built-in support in
[Brackets][brackets], [Edge Code][edge_code], [CodeLite](http://codelite.org/),
[vy](https://github.com/iogf/vy), and [SourceLair][sourcelair].

For further documentation, see the [project page][1] and the
[manual][3]. To report issues, use the
[issue tracker](https://github.com/ternjs/tern/issues). For questions
and documentation, see the
[discussion forum](https://discuss.ternjs.net).

[1]: http://ternjs.net
[2]: http://www.indiegogo.com/projects/tern-intelligent-javascript-editing
[3]: http://ternjs.net/doc/manual.html

[emacs]: http://ternjs.net/doc/manual.html#emacs
[ec]: https://github.com/angelozerr/tern.java
[vim]: https://github.com/ternjs/tern_for_vim
[st]: https://github.com/ternjs/tern_for_sublime
[lt]: https://github.com/mortalapeman/LT-TernJS
[atom]: https://atom.io/packages/atom-ternjs
[gedit]: https://github.com/Swatinem/tern_for_gedit
[brackets]: http://brackets.io
[edge_code]: http://html.adobe.com/edge/code
[cmode]: https://github.com/proofit404/company-tern
[tm]: https://github.com/fab1an/JavaScript-Tern-Completion.tmbundle
[sourcelair]: https://www.sourcelair.com

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