Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

checkbower

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

checkbower

Validates your bower.json file

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

checkbower

v0.2.1

Validates your bower.json file

Build Status

About

checkbower is a small Node.js module to help you verify wether a given bower.json file is valid, containing at the very least a name and a semver valid version number.

It also runs as a small command-line tool to help you verify your bower.json file in a day-to-day basis. Ideal to integrate in a pre-commit hook.

Setup

In order to use it as a command-line tool, install it using npm:

npm install -g checkbower

Usage

The command-line tool can be used to valid the bower.json file of the actual folder simply by running:

checkbower

Or you can also specify a path of a bower.json file to validate:

checkbower ./path/to/bower.json

Programatic usage

The core functionality for bower.json file validation can also be used programatically on any node.js app:

  var checkbower = require('checkbower');

  if (checkbower('path/to/bower.json')) {
    // You have a valid file
  } else {
    // The file is not valid
  }

License

Released under the MIT license

Keywords

FAQs

Package last updated on 03 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc