econverse-utils
v1.4.1
Published
a collection of utility for ecommerce development in vtex and shopify
Downloads
1,395
Maintainers
Readme
econverse-utils
Usage
In order to use, you will need to install econverse-utils
as a package:
yarn add econverse-utils
# npm install econverse-utils
For generic utilities, like formatMoney
, you should import directly from the library:
import { formatMoney } from 'econverse-utils'
For VTEX-specific utilities, like getProductById
, you should import from econverse-utils/vtex
:
import { getProductById } from 'econverse-utils/vtex'
Documentation
License
This project is under the MIT license. See the LICENSE file for details