@kano/kbc-utils
Utilities functionality for boilerplate mini apps
Last updated 6 days ago by onishiweb .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @kano/kbc-utils 
SYNC missed versions from official npm registry.

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) Function Event / Error Name Extra Info
images GetBlobFromImage Error name: fetch_blob_from_image { stack: error in fetching blob from image, message: :error

Current Tags

  • 1.4.1                                ...           latest (6 days ago)

22 Versions

  • 1.4.1                                ...           6 days ago
  • 1.4.0                                ...           14 days ago
  • 1.3.1                                ...           19 days ago
  • 1.3.0                                ...           a month ago
  • 1.2.1                                ...           a month ago
  • 1.2.0                                ...           2 months ago
  • 1.1.2                                ...           2 months ago
  • 1.1.1                                ...           3 months ago
  • 1.1.0                                ...           3 months ago
  • 1.0.0                                ...           3 months ago
  • 4.25.2-alpha.0                                ...           4 months ago
  • 4.25.0-alpha.0                                ...           4 months ago
  • 4.23.1-alpha.0                                ...           4 months ago
  • 4.23.0-alpha.0                                ...           4 months ago
  • 4.22.11-alpha.0                                ...           4 months ago
  • 4.22.1-alpha.0                                ...           5 months ago
  • 4.21.0-alpha.0                                ...           5 months ago
  • 4.19.0-alpha.0                                ...           5 months ago
  • 4.17.1-alpha.0                                ...           5 months ago
  • 4.16.5-alpha.0                                ...           5 months ago
  • 4.16.3-alpha.0                                ...           6 months ago
  • 4.16.2-alpha.0                                ...           6 months ago
Downloads
Today 0
This Week 0
This Month 30
Last Day 0
Last Week 13
Last Month 49
Dependencies (1)
Dev Dependencies (1)

Copyright 2014 - 2017 © taobao.org |