Installing
# use pnpm
$ pnpm install @uni-use/shared
# use npm
$ npm install @uni-use/shared --save
# use yarn
$ yarn add @uni-use/shared
Usage
ES6 module
import { toValue } from '@uni-use/shared'
toValue()
Node.js require
const { toValue } = require('@uni-use/shared')
toValue()
Use CDN resource
<script src="https://unpkg.com/@uni-use/shared@1.0.0/dist/index.global.prod.js"></script>
Support & Issues
Please open an issue here.