Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@kano/kbc-utils
Advanced tools
kbc-utils
Utilities modules for boilerplate apps.
import { name_of_module } from '@kano/kbc-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
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 |
FAQs
Utilities functionality for boilerplate mini apps
The npm package @kano/kbc-utils receives a total of 5 weekly downloads. As such, @kano/kbc-utils popularity was classified as not popular.
We found that @kano/kbc-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 16 open source maintainers collaborating on the project.
Did you know?
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.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.