New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

command-mapper-validator

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

command-mapper-validator

Validates command-mapping JSON files or objects.

0.1.2
latest
Source
npm
Version published
Weekly downloads
8
60%
Maintainers
1
Weekly downloads
 
Created
Source

command-mapper-validator

Build Status npm-version Dependency Status devDependency Status

Validates mapping objects or mapping JSON files. For more information see command-mapper.

Install

$ npm install command-mapper-validator

Usage

The module exports a single function that validates mapping option objects. It returns an array of errors, if any.

var validate = require("command-mapper-validator"),
    mappings = require("my-mapping.json");

validate(mappings).forEach(function(error) {
  console.log(error);
});

Keywords

validator

FAQs

Package last updated on 30 Apr 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