New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

blockly-plugin-type-blockjson

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blockly-plugin-type-blockjson

Type aliases useful for Blockly.

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

What's this?

Blockly official guide says:

The JSON format is the preferred method of defining blocks.

This plugin provides type declaration for below kind of JSON data defined in .ts file:

  • Block definition

Installation

  • Make sure you've installed typescript.
  • npm install blockly-plugin-type-blockjson.

Usage

import {BlockJson} from 'blockly-plugin-type-blockJSON';

const sampleBlock:BlockJson = {
    type:"SampleBlock",...
}

Reference

https://yukiya383.github.io/blockly-plugin-type-blockjson/

FAQs

Package last updated on 20 Feb 2022

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