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

@myjsblock/sdk

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@myjsblock/sdk

Javascript SDK that will allow you to build your own AppMachine block

  • 0.2.0-beta.8
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@myjsblock/sdk

A javascript package to add custom functionality inside AppMachine applications. This enables you to create you own UI by retrieving data, change data and also control the app.

Documentation

The full documentation of this library can be found on AppMachine Docs.

Installation

The CLI can be globally installed on your machine, makes it easy using it across projects.

NPM

npm install @myjsblock/cli

YARN

yarn add @myjsblock/cli

Functions

To able to manage the app with your custom javascript you use the @myjsblock/sdk package. This package exposes asynchronous functions to call from you application. These functions provides a simplified api to comunicate with the application shell.

All the functions of @myjsblock/sdk are categorized in the following categories:

  • Core
  • Data
  • Navigation
  • Notification
  • Media
  • User

Core

Core functions are the basic interactive functions like showLoader and hideLoader but also has some function to request data and set from "block level".

See all Core functions

Data

Data includes all functions for retrieving data from block data context. This does not include functions to change data.

See all Data functions

Navigation

Navigation includes functions to navigate in the app. For example navigate to other block or go back.

See all Navigation functions

Notification

Notification includes functions to create native interactive modals, dialogs and alerts to the user.

See all Notification functions

Media

Media includes functions to access device media, like picking images and taking pictures with the device camera.

See all Media functions

User

User includes function to access user information, like if someone is authenticated or what the users data is.

See all User functions

Issues & Bugs

For issues, bugs and question please open an issue in the issue tab.

Keywords

FAQs

Package last updated on 16 May 2024

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