check-engines

1.6.0 • Public • Published

check-engines Build Status

Utility to verify that engine versions (node, npm, iojs, yarn, dotnet, etc.) satisfy semver constraints specified in package.json.

Usage

CLI

⫸  check-engines
# Errors will return exit code 1, otherwise 0.

Programmatic

const checkEngines = require('check-engines');

checkEngines(err => {
  if (err) {
    console.error(err);
  }
});

License

Copyright 2015-2017 Kurt Ruppel and contributors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License.

You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Readme

Keywords

none

Package Sidebar

Install

npm i check-engines

Weekly Downloads

10,567

Version

1.6.0

License

Apache-2.0

Unpacked Size

4.21 kB

Total Files

5

Last publish

Collaborators

  • kruppel