# check-pkg-engines

> > Command line utility to check if your package.json engines field matches with your current installed binaries

Latest version **0.1.1** (published 2016-01-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install check-pkg-engines
pnpm add check-pkg-engines
yarn add check-pkg-engines
bun add check-pkg-engines
```

Provides the command `check-pkg-engines`.

## 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.1 |
| Published | 2016-01-16 |
| First published | 2016-01-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.12 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Marcio Junior |
| Maintainers | marciojunior |

## Links

- npm: https://www.npmjs.com/package/check-pkg-engines
- Repository: https://github.com/marcioj/check-pkg-engines
- Homepage: https://github.com/marcioj/check-pkg-engines#readme
- Issues: https://github.com/marcioj/check-pkg-engines/issues
- npm.io page: https://npm.io/package/check-pkg-engines

## Dependencies (2)

- [semver](https://npm.io/package/semver.md) ^5.1.0
- [read-pkg](https://npm.io/package/read-pkg.md) ^1.1.0

## Recent versions

- 0.1.1 (latest) — 2016-01-16
- 0.1.0 — 2016-01-16

## README

# check-pkg-engines

> Command line utility to check if your package.json engines field matches with your current installed binaries

[![Build Status][travis_badge]][travis]

## Installation

```sh
npm install check-pkg-engines
```

## Usage

For instance given the following package.json

```json
{
  "engines": {
    "node": "^0.10.0",
    "npm": "^2.0.0"
  }
}
```

If you have installed node v0.12.9 and npm 3.5.3, running `check-pkg-engines` will exit with an error code and display the following:

```sh
~ check-pkg-engines
Incompatible engines versions, please update them to the requested version especified in package.json engines field
The current npm version is 3.5.3 but package.json engines.npm field needs ^2.0.0
The current node version is v0.12.9 but package.json engines.node field needs ^0.10.0
```

## Running Tests

`npm test`

## Contributing

1. Fork it
1. Create your feature branch (`git checkout -b my-new-feature`)
1. Commit your changes (`git commit -am 'Add some feature'`)
1. Push to the branch (`git push origin my-new-feature`)
1. Create new Pull Request

[travis]: https://travis-ci.org/marcioj/check-pkg-engines
[travis_badge]: https://api.travis-ci.org/marcioj/check-pkg-engines.svg?branch=master

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