An extension that various utility modules for Smartface Native Framework. You can check the documentation here: https://smartface.github.io/sf-extension-utils/
You add add utils via following command:
yarn add @smartface/extension-utils
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"
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"
For each module api documentation is in separate file. Please visit Utility API Documentation.
Steps to do before release:
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.
Please submit an issue on GitHub and provide information about your problem.
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.
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.
Generated using TypeDoc