# box-office-mojo-movie-title

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

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

## Install

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

## 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.5 |
| 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 |
| Author | Alejandro Beltrán |
| Maintainers | alebelcor |
| Keywords | box office mojo, movie, title |

## Links

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

## Dependencies (1)

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

## Recent versions

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

## README

# box-office-mojo-movie-title

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

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

## Install

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

## Usage

```js
var boxOfficeMojoTitle = require('box-office-mojo-movie-title');
var pulpFictionHTML = '<html><head><title>Pulp Fiction (1994) - Box Office Mojo</title></head>/<html>';

boxOfficeMojoTitle(pulpFictionHTML); // 'Pulp Fiction'
```

## API

### boxOfficeMojoTitle(input)

Returns the title 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-title · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
