🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@smartface/extension-utils

Package Overview
Dependencies
Maintainers
4
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smartface/extension-utils

Utils Extension for Smartface Native Framework

latest
Source
npmnpm
Version
17.0.0
Version published
Maintainers
4
Created
Source

Utility Extension from Smartface

NPM Twitter: @Smartface_io License

An extension that various utility modules for Smartface Native Framework. You can check the documentation here: https://smartface.github.io/sf-extension-utils/

Installation

You add add utils via following command:

yarn add @smartface/extension-utils

How to use

Smartface Utility Extension behaves like a normal npm package. You require/import the packages and you can use your Smartface Application on stereoids!

Later in any file, import it with the path: import "@smartface/extension-utils/lib/<moduleName>" Such as:

  • import "@smartface/extension-utils/lib/color"
  • import "@smartface/extension-utils/lib/pdf"

Import their default or normal exports

Some modules will only have one export, so they will be having default export. Before using any module, read their documentation for more information. Example of default import:

  • import Table from "@smartface/extension-utils/lib/table"

However, some others will have different export types. You can import them like:

  • import { createAttributedTexts, createAttributedStrings } from "@smartface/extension-utils/lib/html-to-text"

API

For each module api documentation is in separate file. Please visit Utility API Documentation.

Release

Steps to do before release:

  • Make sure that the version is appropiate to semver guidelines. Use e.g. yarn version --minor to change version.

To publish a new release, create a pull request or push directly to the master with new version. The script will publish it automatically.

Need Help?

Please submit an issue on GitHub and provide information about your problem.

Code of Conduct

We are committed to making participation in this project a harassment-free experience for everyone, regardless of the level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality. Please read and follow our Code of Conduct.

License

This project is licensed under the terms of the MIT license. See the LICENSE file. Within the scope of this license, all modifications to the source code, regardless of the fact that it is used commercially or not, shall be committed as a contribution back to this repository.

Keywords

smartface

FAQs

Package last updated on 22 Jun 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