# box-office-mojo-movie-gross

> Get the gross of a Box Office Mojo's movie via its HTML

Latest version **0.3.3** (published 2015-10-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install box-office-mojo-movie-gross
pnpm add box-office-mojo-movie-gross
yarn add box-office-mojo-movie-gross
bun add box-office-mojo-movie-gross
```

## 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.3.3 |
| Published | 2015-10-31 |
| First published | 2015-09-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Alejandro Beltrán |
| Maintainers | alebelcor |
| Keywords | box office mojo, movie, gross, domestic |

## Links

- npm: https://www.npmjs.com/package/box-office-mojo-movie-gross
- Repository: https://github.com/alebelcor/box-office-mojo-movie-gross
- Homepage: https://github.com/alebelcor/box-office-mojo-movie-gross#readme
- Issues: https://github.com/alebelcor/box-office-mojo-movie-gross/issues
- npm.io page: https://npm.io/package/box-office-mojo-movie-gross

## Dependencies (1)

- [cheerio](https://npm.io/package/cheerio.md) ^0.19.0

## Recent versions

- 0.3.3 (latest) — 2015-10-31
- 0.3.2 — 2015-10-10
- 0.3.1 — 2015-09-24
- 0.3.0 — 2015-09-19
- 0.2.0 — 2015-09-12
- 0.1.1 — 2015-09-12
- 0.1.0 — 2015-09-12

## README

# box-office-mojo-movie-gross

> Get the gross of a Box Office Mojo's movie via its HTML.

[![npm version](https://img.shields.io/npm/v/box-office-mojo-movie-gross.svg)](https://npmjs.org/package/box-office-mojo-movie-gross)
[![Build Status](https://travis-ci.org/alebelcor/box-office-mojo-movie-gross.svg)](https://travis-ci.org/alebelcor/box-office-mojo-movie-gross)
[![Test Coverage](https://img.shields.io/coveralls/alebelcor/box-office-mojo-movie-gross/master.svg)](https://coveralls.io/github/alebelcor/box-office-mojo-movie-gross)


## Install

```bash
npm install --save box-office-mojo-movie-gross
```

## Usage

```js
var boxOfficeMojoGross = require('box-office-mojo-movie-gross');
var pulpFictionHTML = '<tr><td><font>Domestic Total Gross: <b>$107,928,762</b></font>';

boxOfficeMojoGross(pulpFictionHTML); // 107928762
```

## API

### boxOfficeMojoGross(input)

Returns the gross of the Box Office Mojo's movie.

#### input

Type: `string`

The full (or partial) HTML of a movie as presented in [Box Office Mojo](http://www.boxofficemojo.com/).

Example: [Pulp Fiction's page in Box Office Mojo](http://www.boxofficemojo.com/movies/?id=pulpfiction.htm)

## License

MIT © Alejandro Beltrán

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