universal-unit-tool
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

universal-unit-tool npm

Unit tool

Supported

browser weex miniApp wechatMiniprogram bytedanceMicroApp quickApp

Install

$ npm install universal-unit-tool --save

Usage

import { px2rpx, rpx2px } from 'universal-unit-tool';

APIS

px2rpx(val)

px to rpx method

rpx2px(val)

rpx to px method

Arguments

Property Type Describes Default Supports
val number px value -

Readme

Keywords

none

Package Sidebar

Install

npm i universal-unit-tool

Weekly Downloads

491

Version

1.0.0

License

BSD-3-Clause

Unpacked Size

6.7 kB

Total Files

10

Last publish

Collaborators

  • rax-publisher