Socket
Socket
Sign inDemoInstall

universal-unit-tool

Package Overview
Dependencies
3
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    universal-unit-tool

A universal tool API.


Version published
Weekly downloads
287
decreased by-52.95%
Maintainers
1
Install size
70.7 kB
Created
Weekly downloads
 

Readme

Source

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
PropertyTypeDescribesDefaultSupports
valnumberpx value-

Keywords

FAQs

Last updated on 10 Apr 2020

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc