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

@kintone/plugin-manifest-validator

Package Overview
Dependencies
Maintainers
3
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kintone/plugin-manifest-validator

@kintone/plugin-manifest-validator ====

  • 6.1.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.3K
decreased by-6.34%
Maintainers
3
Weekly downloads
 
Created
Source

@kintone/plugin-manifest-validator

Validate manifest.json of kintone plugin. Used in @kintone/plugin-packer.

npm version Node.js Version Support build status build status dependency status License

How to install

$ npm install @kintone/plugin-manifest-validator

Usage

const validator = require('@kintone/plugin-manifest-validator');

const manifestJson = require('./path/to/your/manifest.json');
const result = validator(manifestJson);
console.log(result.valid); // true or false
console.log(result.errors); // array of ajv error objects

ajv error objects is like:

{
  dataPath: '/version',
  keyword: 'type',
  message: 'should be integer',
  params: {
    type: 'integer',
  },
  schemaPath: '#/properties/version/type',
}

manifest-schema.json

JSON schema for manifest.json is available.

const manifestJsonSchema = require('@kintone/plugin-manifest-validator/manifest-schema.json');

manifest-schema.d.ts

TypeScript type definition (d.ts) for manifest.json is available.

import {KintonePluginManifestJson} from '@kintone/plugin-manifest-validator/manifest-schema';

let manifest: KintonePluginManifestJson;

License

MIT License

Keywords

FAQs

Package last updated on 15 Dec 2021

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