Socket
Socket
Sign inDemoInstall

@kano/kbc-utils

Package Overview
Dependencies
Maintainers
13
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kano/kbc-utils

Utilities functionality for boilerplate mini apps


Version published
Weekly downloads
6
decreased by-72.73%
Maintainers
13
Weekly downloads
 
Created
Source

kbc-utils

Utilities modules for boilerplate apps.

Usage

import { name_of_module } from '@kano/kbc-utils'

Current Utils

  • Files

    • ExportFile

      Used for exporting different app files e.g. app.kcode or app.draw. Params include, app to be JSON.stringified to create a Blob, fileName the default file name including extension e.g. my-app.kcode, and an optional callback cb for once the export has finished.

    • ImportFile

      Used for importing different app files e.g. app.kcode or app.draw. Params include a callback cb which passes the imported file after it's loaded, and utilised in the mini app.

    • CheckBrowserCompatibility

      Checks if the browser Window has, File, FileReader, FileList and Blob needed to import and export. Params include success and fail callbacks.

  • Images

    • getBlobFromImage

    • blobToDataURL

Tracking

By Component
Component (location)FunctionEvent / Error NameExtra Info
imagesGetBlobFromImageError name: fetch_blob_from_image{ stack: error in fetching blob from image, message: :error

FAQs

Package last updated on 27 May 2020

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