1.3.1 • Published 2 years ago

how-good-is-your-film v1.3.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

How Good is Your Film?

Why would you do this?

My name is Sarah and I wanted to experiment with npm publish by building my own nonsense package where I judge how good your film is.

How to use

Import the FilmEvaluator class.

import { FilmEvaluator } from "how-good-is-your-film"

Initialise the class with your chosen film.

evaluator = new FilmEvaluator("Pulp Fiction")

Request a rating out of 10.

evaluator.getRating();

Request a witty assessment of your film.

evaluator.getAssessment();

NOTE: My mood is very erratic so the same film will not always provoke the same response.

Set and get methods are also available for switching up the film, or reminding yourself if you've forgotten.

evaluator.film = "The Lion King"
console.log(evaluator.film) // "The Lion King"
1.3.1

2 years ago

1.2.1

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago