# tern-qunit

> A Tern plugin adding support for QUnit.

Latest version **0.1.0** (published 2015-05-31) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2015-05-31 |
| First published | 2015-05-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Angelo ZERR |
| Maintainers | angelozerr |
| Keywords | tern, QUnit |

## Links

- npm: https://www.npmjs.com/package/tern-qunit
- Repository: https://github.com/angelozerr/tern-qunit
- Issues: https://github.com/angelozerr/tern-qunit/issues
- npm.io page: https://npm.io/package/tern-qunit

## Dependencies (2)

- [tern](https://npm.io/package/tern.md) >=0.10.0
- [acorn](https://npm.io/package/acorn.md) >=1.0.0

## Alternatives

- [messageformat](https://npm.io/package/messageformat.md) — 329.7K weekly downloads
- [@mintlify/scraping](https://npm.io/package/@mintlify/scraping.md) — 294.8K weekly downloads
- [@mintlify/previewing](https://npm.io/package/@mintlify/previewing.md) — 209.5K weekly downloads
- [@mintlify/prebuild](https://npm.io/package/@mintlify/prebuild.md) — 209.5K weekly downloads
- [@mintlify/link-rot](https://npm.io/package/@mintlify/link-rot.md) — 206.3K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2015-05-31

## README

# tern-qunit

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

[tern-qunit](https://github.com/angelozerr/tern-qunit) is a plugin which adds support for [qunit.js](http://qunitjs.com/) to the JavaSript code intelligence system [Tern](http://ternjs.net/).

[tern-qunit](https://github.com/angelozerr/tern-qunit) provides :

 * the tern qunit plugin [qunit.js](https://github.com/angelozerr/tern-qunit/blob/master/qunit.js)

## Demo

You can play with [online demo](http://demo-angelozerr.rhcloud.com/CodeMirror-Java/qunit.html) which uses CodeMirror ((inside Web Browser).

You can see demos in this git project with CodeMirror in  [demos/qunit.html](https://github.com/angelozerr/tern-qunit/blob/master/demos/qunit.html) :

Here a screenshot with completion with CodeMirror QUnit completion :
 
![CodeMirror & Tern Qunit](https://github.com/angelozerr/tern-qunit/wiki/images/TernQUnitWithCodeMirror.png)

Here a screenshot with completion with Eclipse IDE QUnit completion :

![Eclipse & Tern QUnit](https://github.com/angelozerr/tern-qunit/wiki/images/TernQUnitWithEclipse.png)

If you wish to use Eclipse as IDE, see Eclipse support for [QUnit](https://github.com/angelozerr/tern.java/wiki/Tern-&-QUnit-support).

## Installation

tern-qunit works with the NodeJS [Tern Server][tern-server], and within a browser.

The easiest way to install tern-qunit is to use a recent version of
[npm][npm]. In the directory where you installed the [tern package][tern-npm],
simply run

```
$ npm install tern-qunit
```

## Configuration

`qunit` support QUnit.

### With Node.js

In order for Tern to load the tern-qunit plugin once it is installed, you must
include `qunit` in the `plugins` section of your [Tern configuration
file][tern-config].

Here is a minimal example `.tern-project` configuration file:

```json
{
  "libs":["ecma5"],
  "plugins": {
    "qunit": {}
  }
}
```

### With WebBrowser (CodeMirror)

See [demos/qunit.html](https://github.com/angelozerr/tern-qunit/blob/master/demos/qunit.html)

## Structure

The basic structure of the project is given in the following way:

* `qunit.js` the tern plugin.
* `demos/` demos with QUnit tern plugin which use CodeMirror.
* `test` test of the tern plugin.

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